根据我对与 paypal 集成的理解 - 我们依靠 IPN 来处理我们的数据库注入(inject),例如创建订单、将交易记录到我们的数据库等。
为了从 paypal 接收 IPN 数据,买家需要在付款后点击返回链接。
但是如果买家在付款后没有点击返回链接怎么办?如果买家在没有点击返回链接的情况下直接返回我们的购物网站,他们仍然会看到他们的购物车中的商品,但他们已经在 paypal 上付款了。
我想不出任何办法来解决这种可能发生的可能性,你有什么解决办法吗?
最佳答案
In order to receive the IPN data from paypal requires the buyers to click the return link after his/ her payment.
您的假设是错误的,PayPal 会在付款后立即向您发送 IPN。
关于php - Paypal IPN : what if the buyer didn't click the return link after payment?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/7699976/