If you're not receiving emails from PayPal about transaction status changes, you'll need to talk to PayPal tech support about that not working.
Or am I not reading your post correctly?
If you're not receiving emails from PayPal about transaction status changes, you'll need to talk to PayPal tech support about that not working.
Or am I not reading your post correctly?
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
We are receiving the email from PayPal but the cart is changing the status to processing and we want it to stay as pending and change it ourself.
Thanks
Rick
Interesting twist. It used to be that people begged for orders to be auto-activated, not held.
Anyway, you can stop them from being updated by editing your ipn_main_handler.php and adding two new lines, as shown:Code:case 'echeck-cleared': //echeck-cleared $new_status = MODULE_PAYMENT_PAYPAL_ORDER_STATUS_ID; $new_status = 1; break; case ($txn_type=='express-checkout-cleared' || substr($txn_type,0,8) == 'cleared-'): //express-checkout-cleared $new_status = ($isECtransaction && defined('MODULE_PAYMENT_PAYPALWPP_ORDER_STATUS_ID') ? MODULE_PAYMENT_PAYPALWPP_ORDER_STATUS_ID : MODULE_PAYMENT_PAYPAL_ORDER_STATUS_ID); if ((int)$new_status == 0) $new_status = 2; $new_status = 1; break;
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
Thanks!!
I have implemented the change and will wait for the next e-check to clear.
Rick