简体   繁体   English

贝宝付款数据传输

[英]Paypal Payment Data Transfer

I am new to paypal and I just have a simple question. 我是Paypal的新手,并且我有一个简单的问题。 I am using an ASP.NET page to make a payment to paypal. 我正在使用ASP.NET页向Paypal付款。 I have a sandbox account. 我有一个沙箱帐户。 My buyers account is decreasing, my facilitators account balance is increasing the sandbox transactions are successful. 我的买家帐户减少,我的协调人帐户余额增加,沙盒交易成功。 Now I need a way to tell my application that the transaction was successful so I can update a database. 现在,我需要一种方法来告诉应用程序该事务已成功完成,因此可以更新数据库。

My question is this, have Payment Data Transfer (PDT) been replaced by webhooks? 我的问题是,Webhooks是否已取代了付款数据传输(PDT)? Should have a service and configure an endpoint to listen for the webhook from paypal. 应该有一项服务,并将端点配置为侦听来自Paypal的Webhook。 Any help or suggestions would be greatly appreciated. 任何帮助或建议,将不胜感激。

If you are using the REST API, then yes you should use Webhooks . 如果使用的是REST API,则应该使用Webhooks If you are using the Classic APIs, then you should use IPN . 如果使用的是Classic API,则应使用IPN

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

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