PayPal IPN Bad Request 400 Error

后端 未结 6 2318
挽巷
挽巷 2020-12-05 05:31

Using the PayPal IPN, I keep getting an error 400.

I have been making the script send me emails of $res to see what the response is, inside of the

6条回答
  •  借酒劲吻你
    2020-12-05 05:49

    Another solution is to trim the $res before comparison..

    $res = fgets ($fp, 1024);
    
    $res = trim($res); //NEW & IMPORTANT
    

提交回复
热议问题