REST 客户端未在沙箱中生成 Webhook 事件 [英] REST Client not generating Webhook Events in Sandbox

查看:15
本文介绍了REST 客户端未在沙箱中生成 Webhook 事件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我无法让 Paypal 提供的 REST 客户端(客户端 js)触发沙箱中的 webhook 事件以在我的服务器应用程序上接收付款确认.

I am unable to get the Paypal provided REST client (the client side js) to trigger webhook events in the sandbox to receive payment confirmation on my server app.

这是我能做的/已经做的:

Here's what I can do/ have done:

我在沙箱中创建了一个 REST 应用.

I have created a REST app in the sandbox.

我已订阅所有 webhook 事件.

I have subscribed to all webhook events.

我可以使用我的沙盒客户端 ID 通过客户端应用程序付款,并查看服务商帐户中反映的付款.

I am able to pay with the client app using my sandbox client id and see see the payment reflected in the facilitator account.

我能够使用 Webhook 模拟器生成 Webhook 事件并在我的服务器上接收/解析它.

I am able to generate a webhook event using the Webhook simulator and receive it / parse it on my server.

但是,当我使用客户端进行沙箱支付交易时,没有创建 webhook 事件(如仪表板中提供的 Webhook 事件列表所示),也不会发送到我的服务器.同样,我的服务器接收模拟的 webhook 就好了.

However, when I do a sandbox payment transaction using the client, no webhook event is created (as reflected in the Webhook events list provided in the dashboard), nor it is sent to my server. Again, my server receives simulated webhooks just fine.

问题似乎是 Paypal REST 客户端没有生成 webhook 事件.我把所有东西都检查了三倍,但看不到我错过了什么.帮助!

The problem seems to be that the Paypal REST Client is not generating a webhook event. I have tripled checked everything, but cannot see what I've missed. Help!

推荐答案

我有同样的问题.我绞尽脑汁想弄清楚我的代码是否有问题.我联系了 Paypal,他们说这是 Paypal 沙盒的一个持续问题,正在努力解决.

I have the same problem. I racked my brain trying to figure out if something was wrong with my code. I contacted Paypal and they said this is an ongoing issue with Paypal sandbox and are working to resolve it.

这篇关于REST 客户端未在沙箱中生成 Webhook 事件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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