PayPal IPN Verified Not Working

Author: Zeeshan Arshad     2891     05/23/2014

Estimated reading time: 0 minutes, 15 seconds

Zeeshan Arshad - Lifestyle Blog

Problem: You are not able to validate IPN request with VERIFIED status in your PHP script. If you are using following code:

if (strcmp($res, "VERIFIED") == 0)

Solution 1:

if (strcmp(trim($res, "VERIFIED")) == 0)

Solution 2:

if (strpos($res, "VERIFIED") !== 0)

If this solved your problem, then enjoy yourself a cup of tea :)

« Return to Blog