Dear Friends,
We are currently using Zen Cart 1.5.8 under PHP 8.1.9 Version at www.celextel.com.
1
We are not getting Payment Emails from PayPal when a Payment is made through PayPal Express Checkout Payment Module with Payment Action as Auth Only.
PayPal support has informed us that there is no issue at their end.
We get Payment Email from PayPal when the payment is made through a PayPal Invoice Link. We also used to get Emails when we were using osCommerce based Store with their PayPal Express Checkout Payment Module.
2
PayPal Express Checkout seems to be not IPN enabled as payment details in the Orders do not get updated after we Capture an Amount.
3
We updated paypalwpp.php File with the latest Version at the following URL:
https://github.com/zencart/zencart/t...odules/payment
We have also added the following New File:
/includes/modules/payment/paypal/paypal_currency_check.php
New paypalwpp.php File is showing the following Error Log at Checkout Payment page while testing:
#4 /home/XXXX/public_html/index.php(35): require('/home/celextel/...')
--> PHP Warning: Undefined variable $order_amount in /home/XXXX/public_html/includes/modules/payment/paypalwpp.php on line 286.
We had to change the following New Code:
PHP Code:
// module cannot be used for purchase > $10,000 USD equiv
require_once DIR_FS_CATALOG . DIR_WS_MODULES . 'payment/paypal/paypal_currency_check.php';
if (paypalUSDCheck($order->info['total']) === false) {
$this->enabled = false;
$this->zcLog('update_status', 'Module disabled because purchase price (' . $order_amount . ') exceeds PayPal-imposed maximum limit of 10,000 USD or equivalent.');
}
to the following Old Code:
PHP Code:
// module cannot be used for purchase > $10,000 USD equiv
$order_amount = $this->calc_order_amount($order->info['total'], 'USD', false);
if ($order_amount > 10000) {
$this->enabled = false;
$this->zcLog('update_status', 'Module disabled because purchase price (' . $order_amount . ') exceeds PayPal-imposed maximum limit of 10,000 USD or equivalent.');
}
Please do the needful if there are solutions to these issues.
Thanks,
Lakshmanan
Bookmarks