CURL Webhooks unable to verify: How do I go about debugging this?
oak2000
Contributor
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Posted on
Dec-07-2019
01:09 PM
I'm using the code CURL example:
https://developer.paypal.com/docs/classic/ipn/ht-ipn/
If I use the tool IPN Simulator (web accept)
https://developer.paypal.com/developer/webhooksSimulator/
I get
$res == "VERIFIED"
in Sandbox and Production
I get
$res == "INVALID"
If I do
file_put_contents('testpost.txt', file_get_contents('php://input'));
I do see a POST of the payment confirmation in son formate
even with
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0);
i get
$res == "INVALID"
How do I go about debugging this?
Labels:
- Labels:
-
Webhooks REST APIs
0 REPLIES 0
Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
Related Content
- webhook deregistration in REST APIs
- PAYMENT.SALE.COMPLETED signature verification failed in sandbox mode in REST APIs
- Need Help Upgrading to PayPal complete payments in PayPal Upgrade Community
- verify-webhook-signature working only for some events in Sandbox Environment
- PHP REST API webhook verification not successful, PHP SDK no longer in development in REST APIs