Update newpayment.php
This commit is contained in:
parent
d36dda37e6
commit
762abf7060
@ -411,8 +411,8 @@ if ($action == 'charge' && ! empty($conf->stripe->enabled))
|
|||||||
$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', 'int');
|
||||||
$dol_id=GETPOST('dol_id', 'int');
|
$dol_id=GETPOST('dol_id', 'int');
|
||||||
$vatnumber = GETPOST('vatnumber','alpha');
|
$vatnumber = GETPOST('vatnumber','alpha');
|
||||||
|
|
||||||
dol_syslog("stripeToken = ".$stripeToken, LOG_DEBUG, 0, '_stripe');
|
dol_syslog("stripeToken = ".$stripeToken, LOG_DEBUG, 0, '_stripe');
|
||||||
dol_syslog("email = ".$email, LOG_DEBUG, 0, '_stripe');
|
dol_syslog("email = ".$email, LOG_DEBUG, 0, '_stripe');
|
||||||
@ -829,7 +829,7 @@ if ($source == 'order')
|
|||||||
print '</td><td class="CTableRow'.($var?'1':'2').'">'.$text;
|
print '</td><td class="CTableRow'.($var?'1':'2').'">'.$text;
|
||||||
print '<input type="hidden" name="s" value="'.dol_escape_htmltag($source).'">';
|
print '<input type="hidden" name="s" value="'.dol_escape_htmltag($source).'">';
|
||||||
print '<input type="hidden" name="ref" value="'.dol_escape_htmltag($order->ref).'">';
|
print '<input type="hidden" name="ref" value="'.dol_escape_htmltag($order->ref).'">';
|
||||||
print '<input type="hidden" name="dol_id" value="'.dol_escape_htmltag($order->id).'">';
|
print '<input type="hidden" name="dol_id" value="'.dol_escape_htmltag($order->id).'">';
|
||||||
$directdownloadlink = $order->getLastMainDocLink('commande');
|
$directdownloadlink = $order->getLastMainDocLink('commande');
|
||||||
if ($directdownloadlink)
|
if ($directdownloadlink)
|
||||||
{
|
{
|
||||||
@ -949,7 +949,7 @@ if ($source == 'invoice')
|
|||||||
print '</td><td class="CTableRow'.($var?'1':'2').'">'.$text;
|
print '</td><td class="CTableRow'.($var?'1':'2').'">'.$text;
|
||||||
print '<input type="hidden" name="s" value="'.dol_escape_htmltag($source).'">';
|
print '<input type="hidden" name="s" value="'.dol_escape_htmltag($source).'">';
|
||||||
print '<input type="hidden" name="ref" value="'.dol_escape_htmltag($invoice->ref).'">';
|
print '<input type="hidden" name="ref" value="'.dol_escape_htmltag($invoice->ref).'">';
|
||||||
print '<input type="hidden" name="dol_id" value="'.dol_escape_htmltag($invoice->id).'">';
|
print '<input type="hidden" name="dol_id" value="'.dol_escape_htmltag($invoice->id).'">';
|
||||||
$directdownloadlink = $invoice->getLastMainDocLink('facture');
|
$directdownloadlink = $invoice->getLastMainDocLink('facture');
|
||||||
if ($directdownloadlink)
|
if ($directdownloadlink)
|
||||||
{
|
{
|
||||||
@ -1148,7 +1148,7 @@ if ($source == 'contractline')
|
|||||||
print '</td><td class="CTableRow'.($var?'1':'2').'">'.$text;
|
print '</td><td class="CTableRow'.($var?'1':'2').'">'.$text;
|
||||||
print '<input type="hidden" name="source" value="'.dol_escape_htmltag($source).'">';
|
print '<input type="hidden" name="source" value="'.dol_escape_htmltag($source).'">';
|
||||||
print '<input type="hidden" name="ref" value="'.dol_escape_htmltag($contractline->ref).'">';
|
print '<input type="hidden" name="ref" value="'.dol_escape_htmltag($contractline->ref).'">';
|
||||||
print '<input type="hidden" name="dol_id" value="'.dol_escape_htmltag($contractline->id).'">';
|
print '<input type="hidden" name="dol_id" value="'.dol_escape_htmltag($contractline->id).'">';
|
||||||
$directdownloadlink = $contract->getLastMainDocLink('contract');
|
$directdownloadlink = $contract->getLastMainDocLink('contract');
|
||||||
if ($directdownloadlink)
|
if ($directdownloadlink)
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user