Skip to content

Commit

Permalink
Update newpayment.php
Browse files Browse the repository at this point in the history
  • Loading branch information
eldy committed Oct 6, 2018
1 parent 835ca4e commit 5045bbc
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions htdocs/public/payment/newpayment.php
Expand Up @@ -233,7 +233,9 @@
if (! $valid)
{
print '<div class="error">Bad value for key.</div>';
//print 'SECUREKEY='.$SECUREKEY.' token='.$token.' valid='.$valid;
//prin <input name="savesource" type="checkbox"> '.$langs->trans("SaveSource").'
1563
t 'SECUREKEY='.$SECUREKEY.' token='.$token.' valid='.$valid;
exit;
}
}
Expand Down Expand Up @@ -410,7 +412,7 @@
$stripeToken = GETPOST("stripeToken",'alpha');
$email = GETPOST("email",'alpha');
$thirdparty_id=GETPOST('thirdparty_id', 'int'); // Note that for payment following online registration for members, this is empty because thirdparty is created once payment is confirmed by paymentok.php
$dol_type=GETPOST('s', 'int');
$dol_type=(GETPOST('s', 'alpha') ? GETPOST('s', 'alpha') : GETPOST('source', 'alpha'));
$dol_id=GETPOST('dol_id', 'int');
$vatnumber = GETPOST('vatnumber','alpha');
$savesource=GETPOST('savesource', 'int');
Expand Down

0 comments on commit 5045bbc

Please sign in to comment.