ref add in redirection url to payment page
This commit is contained in:
parent
a3e75c587c
commit
339596f134
@ -306,7 +306,8 @@ if (empty($reshook) && $action == 'add') {
|
||||
$error++;
|
||||
$errmsg .= $facture->error;
|
||||
} else {
|
||||
$redirection = $dolibarr_main_url_root.'/public/payment/newpayment.php?amount='.$project->price_registration.'&source=conferenceattendeesubscription';
|
||||
$thirdparty->fetch('', '', '', '', '', '', '', '', '', '', $email);
|
||||
$redirection = $dolibarr_main_url_root.'/public/payment/newpayment.php?amount='.$project->price_registration.'&source=conferenceattendeesubscription&ref='.$thirdparty->ref;
|
||||
Header("Location: ".$redirection);
|
||||
exit;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user