简体   繁体   English

PHP paypal webhook REST

[英]PHP paypal webhook REST

I am trying to implement a paypal webhook for recurring payment, but I am stuck at finding the right documentation, there is like 5 pages on paypal for webhooks.我正在尝试实现一个 paypal webhook 以进行定期付款,但我一直在寻找正确的文档,paypal 上的 webhook 大约有 5 页。 I found this one: https://developer.paypal.com/docs/api-basics/notifications/webhooks/rest/ , there is nothing about it being deprecated or something.我找到了这个: https://developer.paypal.com/docs/api-basics/notifications/webhooks/rest/ ,没有什么关于它被弃用的东西。 After following the Integration steps it led me to install the paypal rest sdk.遵循集成步骤后,我安装了 paypal rest sdk。 But when I open it on github it says that it is deprecated??但是当我在 github 上打开它时,它说它已被弃用? https://github.com/paypal/PayPal-PHP-SDK . https://github.com/paypal/PayPal-PHP-SDK Does anyone know how to implement it, with non deprecated sdk?有谁知道如何使用未弃用的 sdk 来实现它? Thanks.谢谢。

The SDKs mentioned in that guide are deprecated, direct API calls are not deprecated, and are how it should be implemented.该指南中提到的 SDK 已弃用,直接 API 调用未弃用,并且应该如何实现。

It's all documented on the page you linked, there is this API reference: https://developer.paypal.com/docs/api/webhooks/v1/这一切都记录在您链接的页面上,有这个 API 参考: https://developer.paypal.com/docs/api/webhooks/v1/

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM