gpt4 book ai didi

Paypal Express NVP 是否需要 IPN?

转载 作者:太空宇宙 更新时间:2023-11-03 16:00:52 25 4
gpt4 key购买 nike

我们正在为外卖服务构建一个新网站,并正在与 PayPal Express 集成(使用 NVP API)。由于订单在当天晚上发出,电子支票付款已被禁用。

我们要遵循的流程如下:

  • 用户使用 PayPal 下订单,使用 DoExpressCheckoutPayment 时使用的操作是授权
  • 外卖确认订单并发出 DoCapture 请求,将完整类型设置为 COMPLETE

据我了解,此时,只要响应状态表明已完成,资金就有保障。事实上,除了极少数情况外,通常应该在授权时保证。

因此我没有看到 IPN 的要求?给定交易不会收到进一步的通知。我可以看到我们使用电子支票的好处,但是当它被禁用时它能提供什么吗?

最佳答案

IPN is an optional "messaging service" .您的结帐/购买流程没有任何“依赖性”(不应该如 PayPal 所说)。

IPN is an asynchronous message service, meaning that IPNs are not synchronized with actions on your website...

...

The IPN message service is not a real-time service. As a result, your listener may not receive an IPN message for many seconds after an event occurs. As a result, your checkout flow should not depend upon receiving an IPN message to complete. If it does, your checkout flow will be slow during periods of heavy system load and complicated, since it must handle retries.

这对我来说已经有一段时间了,但是如果/当您支持 eCheck 时,您说 IPN 非常有帮助是正确的 - 回复:当 Paypal 清除支票/资金时通知(如果没记错的话,1 - 3 个工作日/银行工作日)。

嗯...

关于Paypal Express NVP 是否需要 IPN?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/28874777/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com