Fix fulltag
This commit is contained in:
parent
06f2382e39
commit
be874f0b1d
@ -126,6 +126,7 @@ $result=$interface->run_triggers('PAYBOX_PAYMENT_OK',$object,$user,$langs,$conf)
|
||||
if ($result < 0) { $error++; $errors=$interface->errors; }
|
||||
// Fin appel triggers
|
||||
|
||||
$tmptag=dolExplodeIntoArray($fulltag,'.','=');
|
||||
|
||||
// Send an email
|
||||
if (! empty($conf->global->ONLINE_PAYMENT_SENDEMAIL))
|
||||
@ -152,7 +153,6 @@ if (! empty($conf->global->ONLINE_PAYMENT_SENDEMAIL))
|
||||
|
||||
$urlback=$_SERVER["REQUEST_URI"];
|
||||
$topic='['.$appli.'] '.$langs->transnoentitiesnoconv("NewOnlinePaymentReceived");
|
||||
$tmptag=dolExplodeIntoArray($fulltag,'.','=');
|
||||
$content="";
|
||||
if (! empty($tmptag['MEM']))
|
||||
{
|
||||
|
||||
@ -188,7 +188,7 @@ if (! empty($conf->paypal->enabled))
|
||||
if ($PAYPALTOKEN)
|
||||
{
|
||||
// Get on url call
|
||||
$onlinetoken = $PAYPALTOKEN;
|
||||
$onlinetoken = $PAYPALTOKEN;
|
||||
$fulltag = $FULLTAG;
|
||||
$payerID = $PAYPALPAYERID;
|
||||
// Set by newpayment.php
|
||||
@ -291,6 +291,8 @@ if ($ispaymentok)
|
||||
$sendemail = '';
|
||||
if (! empty($conf->global->ONLINE_PAYMENT_SENDEMAIL)) $sendemail=$conf->global->ONLINE_PAYMENT_SENDEMAIL;
|
||||
|
||||
$tmptag=dolExplodeIntoArray($fulltag,'.','=');
|
||||
|
||||
// Send an email
|
||||
if ($sendemail)
|
||||
{
|
||||
@ -316,7 +318,6 @@ if ($ispaymentok)
|
||||
|
||||
$urlback=$_SERVER["REQUEST_URI"];
|
||||
$topic='['.$appli.'] '.$langs->transnoentitiesnoconv("NewOnlinePaymentReceived");
|
||||
$tmptag=dolExplodeIntoArray($fulltag,'.','=');
|
||||
$content="";
|
||||
if (! empty($tmptag['MEM']))
|
||||
{
|
||||
@ -388,6 +389,8 @@ else
|
||||
if ($paymentmethod == 'paybox' && ! empty($conf->global->PAYBOX_PAYONLINE_SENDEMAIL)) $sendemail=$conf->global->PAYBOX_PAYONLINE_SENDEMAIL;
|
||||
if ($paymentmethod == 'stripe' && ! empty($conf->global->STRIPE_PAYONLINE_SENDEMAIL)) $sendemail=$conf->global->STRIPE_PAYONLINE_SENDEMAIL;
|
||||
|
||||
$tmptag=dolExplodeIntoArray($fulltag,'.','=');
|
||||
|
||||
// Send an email
|
||||
if ($sendemail)
|
||||
{
|
||||
|
||||
@ -181,6 +181,8 @@ if ($PAYPALTOKEN)
|
||||
if ($result < 0) { $error++; $errors=$interface->errors; }
|
||||
// Fin appel triggers
|
||||
|
||||
$tmptag=dolExplodeIntoArray($fulltag,'.','=');
|
||||
|
||||
// Send an email
|
||||
if (! empty($conf->global->ONLINE_PAYMENT_SENDEMAIL))
|
||||
{
|
||||
@ -206,7 +208,6 @@ if ($PAYPALTOKEN)
|
||||
|
||||
$urlback=$_SERVER["REQUEST_URI"];
|
||||
$topic='['.$appli.'] '.$langs->transnoentitiesnoconv("NewOnlinePaymentReceived");
|
||||
$tmptag=dolExplodeIntoArray($fulltag,'.','=');
|
||||
$content="";
|
||||
if (! empty($tmptag['MEM']))
|
||||
{
|
||||
@ -265,6 +266,8 @@ if ($PAYPALTOKEN)
|
||||
|
||||
if ($mysoc->email) echo "\nPlease, send a screenshot of this page to ".$mysoc->email."<br>\n";
|
||||
|
||||
$tmptag=dolExplodeIntoArray($fulltag,'.','=');
|
||||
|
||||
// Send an email
|
||||
if (! empty($conf->global->ONLINE_PAYMENT_SENDEMAIL))
|
||||
{
|
||||
|
||||
@ -127,6 +127,8 @@ if ($ispaymentok)
|
||||
$sendemail = '';
|
||||
if (! empty($conf->global->ONLINE_PAYMENT_SENDEMAIL)) $sendemail=$conf->global->ONLINE_PAYMENT_SENDEMAIL;
|
||||
|
||||
$tmptag=dolExplodeIntoArray($fulltag,'.','=');
|
||||
|
||||
// Send an email
|
||||
if ($sendemail)
|
||||
{
|
||||
@ -152,7 +154,6 @@ if ($ispaymentok)
|
||||
|
||||
$urlback=$_SERVER["REQUEST_URI"];
|
||||
$topic='['.$appli.'] '.$langs->transnoentitiesnoconv("NewOnlinePaymentReceived");
|
||||
$tmptag=dolExplodeIntoArray($fulltag,'.','=');
|
||||
$content="";
|
||||
if (! empty($tmptag['MEM']))
|
||||
{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user