贝宝+ REST的API +网络挂接+自签名证书 [英] PayPal + RESTful API + WebHooks + Self Signed Certificates

查看:293
本文介绍了贝宝+ REST的API +网络挂接+自签名证书的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直用REST API贝宝,我能得到销售,退款等没有问题处理。但我有在网络挂接的问题。

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.

我在沙箱中配置了网络挂接它从不职位信息网络挂接URL(甚至不尝试根据访问日志)。

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).

由于wbehooks需要HTTPS我想知道是否有与使用自签名证书与网络挂接的问题吗?这是我能访问的PayPal的沙盒是出问题的(我知道,这永远不会发生)的URL短想到prevent贝宝的嘛。我可以IPN与自签名,但IIRC SSL不是IPN要求工作。

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.

帮助,请...

〜Wranorn

推荐答案

嘿,这是来自PayPal阿维。自签名的证书不应该被工作网络挂接,如果你想测试出不同的端点,你可以使用类似ngrok在本地进行测试。否则,这将是有益的了解来自PayPal收到支付执行调用调试ID。有对沙盒网络挂接目前可能是导致一些这方面的现有服务的问题,以及那些正在积极开发中。

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.

这篇关于贝宝+ REST的API +网络挂接+自签名证书的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆