PayPal + RESTful API + WebHooks + Self Signed Certificates

雨燕双飞 提交于 2019-12-23 12:09:11

问题


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


回答1:


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.



来源:https://stackoverflow.com/questions/26643041/paypal-restful-api-webhooks-self-signed-certificates

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!