Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

PayPal + RESTful API + WebHooks + Self Signed Certificates

Tags:

ssl

api

paypal

I've been working with the REST API for PayPal and I'm able to get the sales, refunds, etc processed without an issue. But I am having an issue with the webhooks.

I have a webhook configured in sandbox and it never posts the information to the webhook URL (doesn't even attempt to according to the access logs).

Since wbehooks required https I was wondering if there is an issue with using self signed certificates with webhooks? It's the only thing I can think of to prevent PayPal from accessing the URL short of PayPal's sandbox being glitchy (I know, that NEVER happens). I can get IPN to work with the self signed but iirc SSL isn't a requirement for IPN.

HELP, PLEASE...

~ Wranorn

like image 797
Wranorn Avatar asked Oct 30 '14 00:10

Wranorn


1 Answers

Hey this is Avi from PayPal. Self signed certs should not be working for webhooks, if you want to test out a different endpoint you can use something like ngrok to test it locally. Otherwise it would be useful to know debug id received from PayPal for the payment execution call. There are some existing service issues for webhooks on Sandbox currently that could be contributing to this, and those are being actively worked on.

like image 185
Avi Das Avatar answered Sep 24 '22 18:09

Avi Das