From bc51065ff1088482953e44364c73852b9b19621f Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Tue, 7 Jan 2014 17:35:33 +0100 Subject: [PATCH] New: For paypal payment confirmation, send email ok only if payment is confirmed. Otherwise send ko email. --- htdocs/public/paypal/paymentok.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/htdocs/public/paypal/paymentok.php b/htdocs/public/paypal/paymentok.php index 28ddd1a4efc..32aa3fd4b49 100644 --- a/htdocs/public/paypal/paymentok.php +++ b/htdocs/public/paypal/paymentok.php @@ -170,7 +170,6 @@ if ($PAYPALTOKEN) // Send an email if (! empty($conf->global->PAYPAL_PAYONLINE_SENDEMAIL)) { - //$sendto=$conf->global->MEMBER_PAYONLINE_SENDEMAIL; $sendto=$conf->global->PAYPAL_PAYONLINE_SENDEMAIL; $from=$conf->global->MAILING_EMAIL_FROM; require_once DOL_DOCUMENT_ROOT.'/core/class/CMailFile.class.php'; @@ -211,7 +210,6 @@ if ($PAYPALTOKEN) // Send an email if (! empty($conf->global->PAYPAL_PAYONLINE_SENDEMAIL)) { - //$sendto=$conf->global->MEMBER_PAYONLINE_SENDEMAIL; $sendto=$conf->global->PAYPAL_PAYONLINE_SENDEMAIL; $from=$conf->global->MAILING_EMAIL_FROM; require_once DOL_DOCUMENT_ROOT.'/core/class/CMailFile.class.php';