Zen Cart Logo
Forums / PayPal Express Checkout support / Paypal Express/Account not being credited

Paypal Express/Account not being credited

Locked

Views: 5,421

Results 21 to 22 of 22
This thread is locked. New replies are disabled.
07 Apr 2008, 04:15
#21
sawhorse avatar

sawhorse

Zen Follower

Join Date:
Oct 2007
Location:
Kentucky - USA
Posts:
425
Plugin Contributions:
0

Paypal Express/Account not being credited

I wish I could give you another alternative, but I can not. I know your pain. Good luck.

23 Apr 2008, 06:19
#22
empower avatar

empower

New Zenner

Join Date:
May 2006
Posts:
30
Plugin Contributions:
0

Re: Paypal Express/Account not being credited

OK. I finally figured out what was wrong, but I still don't know WHY this has happened.

Turns out, my error is because no API call (DoExpressCheckoutPayment) is ever made back to PayPal. I debugged through the code, and found that the error comes from the classes/payment.php file.

This file fails to correctly set $this->selected_module due to an error with substr($PHP_SELF, (strrpos($PHP_SELF, '.')+1))

I would get things like: paypalwpp.checkout_process
Instead of: paypalwpp.php

Thus, I've made a quick and dirty fix to the classes/payment.php file to set it to paypalwpp.php whenever the checkout_process (and Confirm button is pressed) is being executed.

Anyone know why something like this happened in the first place?