简体   繁体   English

Paypal IPN Sandbox - 在交易完成之前完成接收状态

[英]Paypal IPN Sandbox - receiving status completed before transaction is finished

I am currently integrating IPN via. 我目前正在整合IPN。 a php script. 一个PHP脚本。 Everything is working fine and I am able to check for different fields in the messages from paypal, and update my database accordingly. 一切正常,我可以检查来自paypal的消息中的不同字段,并相应地更新我的数据库。

However, if I just click the paypal button and login as my test-buyer, and leave the screen idle, right after login. 但是,如果我只是点击paypal按钮并登录为我的测试买家,并在登录后立即使屏幕空闲。 Then a few minutes passes and I start receiving ipn with status "Completed", even though I haven't completed the transaction on the test-buyer. 然后几分钟过去,我开始接收状态为“已完成”的ipn,即使我还没有完成测试买家的交易。

Am I missing something or is this normal in the sandbox environment? 我在沙箱环境中遗漏了什么或者这是正常的吗?

Thank you 谢谢

I now believe they are recurring ipn's from the last couple of transactions. 我现在相信他们在最近几次交易中反复出现了ipn。 Did not check transaction ID. 没有检查交易ID。

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

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