adding amount and source to redirection url to newpayment

This commit is contained in:
Dorian Vabre 2021-04-13 15:07:15 +02:00
parent 633a3d39c6
commit a3e75c587c

View File

@ -306,7 +306,7 @@ if (empty($reshook) && $action == 'add') {
$error++;
$errmsg .= $facture->error;
} else {
$redirection = $dolibarr_main_url_root.'/public/payment/newpayment.php';
$redirection = $dolibarr_main_url_root.'/public/payment/newpayment.php?amount='.$project->price_registration.'&source=conferenceattendeesubscription';
Header("Location: ".$redirection);
exit;
}