php - 使用 paypal 的付款信息

标签 php paypal payment-gateway

我使用 php 集成了 Paypal。我知道有返回 url,这意味着当收到付款时它将返回到我们网站的 url。
我的问题是如果收到付款并且由于互联网问题它没有返回到我们的网页,怎么办我知道付款是从特定用户那里收到的?

最佳答案

如果出现网络问题,PayPal 无法发出 IPN 消息,那么根据他们的文档,他们将重试 15 次,最多 4 天。

The IPN message service does not assume that your listener will receive all IPN messages. Because the Internet is not 100% reliable, IPNs can get lost or be delayed. To address these issues, the IPN message service includes a retry mechanism that re-sends a message at various intervals until your listener acknowledges receipt. An IPN message may be present up to four days after the original was sent. The maximum number of retries is 15.

https://developer.paypal.com/docs/classic/ipn/integration-guide/IPNIntro/

关于php - 使用 paypal 的付款信息,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/33951242/

相关文章:

Paypal 标准支付方式 - 购物车

PayPal:pixel.gif - 我需要它吗?

PayPal 链式支付

django - 网络源错误,安全数据 : UsernameToken authentication failed

php - 使用 PHP 连接到 SQL Server 数据库

php - 这是一个 php 错误,还是我的时区/PHP 设置有问题?

payment-gateway - 自动 BIN 范围更新/检测服务

add - Omnipay如何添加新网关

header 重定向后,javascript 警告框未显示在 php 上

PHP 文件返回正确的回显,但在数据库中写入错误的字符串