And Daniel -do what you want..hate me - but THIS IS BUG. EVERY EVERY POSSIBLE e-shops i've tried paypal works great even wordpress plugins with paypal support-works good..but somehow OpenCart doesn't
I did some tests and i found that it never passed this function:
Code: Select all
if (strcmp($response, 'VERIFIED') == 0) {
REASONS FOR INVALID
- Make sure you are posting back ALL variables/values.
For PayPal to return VERIFIED, your IPN script needs to post back ALL the variables that were posted to it in the first place. In other words, if your script only needs to manipulate 1 or 2 variables, it is not enough to post back to PayPal only the variables/values your script is concerned with. Your script should post back EVERYTHING that was initially posted to it from PayPal. This is the only way PayPal will return VERIFIED
- Make sure you are not posting back to the wrong URL.