Asp.net、paypal和IPN..如何实现自动化支付?

发布于 2024-09-08 13:09:45 字数 179 浏览 0 评论 0原文

我正在尝试将 Paypal 集成到 asp.net 应用程序中。 它工作正常,我想做的最后一件事就是自动付款通知。

特别是,IPN 是如何运作的?当用户购买服务时,我想将字段设置为 1...我该如何处理 ipn ? 我在这里要求避免阅读所有 120 页的 paypal IPN 文档...;)

提前致谢...

i'm trying to integrate Paypal in an asp.net app.
It works fine, the last thing i would like to do is to automize payment notify.

In particular, how does it works IPN ? I would like to set a field to 1 when a user buy a service... How can i do with ipn ?
I'm asking here to avoid to read all 120 pages of paypal IPN documentation... ;)

Thanks in advance...

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

久夏青 2024-09-15 13:09:45

有很多关于如何构建基本 IPN 监听器的示例。一旦您构建了一个并将您的 PayPal 帐户指向它,所有交易的详细信息都将作为请求发送到此侦听器。您需要从该请求中解析出相关数据,以确定交易是否成功并处理订单。

类似的问题

PayPal 代码示例

其他好的示例 C#

Theres lots of examples out there on how to build a basic IPN listener. Once you build one and point your PayPal account at it, all transactions will have their details sent to this listener as a request. You will need to parse out the relevant data from this request to determine the success of the transaction and process the order.

Similar SO Question

PayPal Code Sample

Other good sample C#

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文