Update newpayment.php
This commit is contained in:
parent
835ca4e4a5
commit
5045bbc3bd
@ -233,7 +233,9 @@ if (! empty($conf->global->PAYMENT_SECURITY_TOKEN))
|
|||||||
if (! $valid)
|
if (! $valid)
|
||||||
{
|
{
|
||||||
print '<div class="error">Bad value for key.</div>';
|
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;
|
exit;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -410,7 +412,7 @@ if ($action == 'charge' && ! empty($conf->stripe->enabled))
|
|||||||
$stripeToken = GETPOST("stripeToken",'alpha');
|
$stripeToken = GETPOST("stripeToken",'alpha');
|
||||||
$email = GETPOST("email",'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
|
$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');
|
$dol_id=GETPOST('dol_id', 'int');
|
||||||
$vatnumber = GETPOST('vatnumber','alpha');
|
$vatnumber = GETPOST('vatnumber','alpha');
|
||||||
$savesource=GETPOST('savesource', 'int');
|
$savesource=GETPOST('savesource', 'int');
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user