
Originally Posted by
Erekose13
I'm having the same exact problem. I've had over 1000 successful orders but every order over $1000 in the cart goes missing. I get the payment from paypal, but the order is no where in the database.
What version of Zen Cart? 1.3.6
What addons/patches are installed? don't think I've installed any, though I did go through the latest security suggestions (beyond upgrading).
What currency are these transactions in? USD
Which PayPal module are you using? Paypal IPN
1. v1.3.6 is very old, and no longer officially supported. There have been many bugfixes and improvements since then. One PayPal-related fix is the thousands-issue you are experiencing.
2. You might find some temporary relief to that issue by making the following edit:
/includes/modules/payment/paypal/paypal_functions.php
Around line 77 you'll see this:
Code:
$transaction_amount = number_format(($amount) * $currencies->get_value($my_currency), $currencies->get_decimal_places($my_currency));
Change that to this instead:
Code:
$transaction_amount = preg_replace('/[^0-9.]/', '', number_format(($amount) * $currencies->get_value($my_currency), $currencies->get_decimal_places($my_currency), '.', ''));
You really should put plans in place to do an upgrade to take advantage of the many fixes/improvements in the newer versions.
Bookmarks