gpt4 book ai didi

c# - PayPal 返回页面问题

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

在 payPal 上,我添加了返回页面 URL,用户在付款完成后被重定向。

http://somewhere/back.aspx

但是当我在付款后从 payPal 返回时,我没有收到 'tx' 或 queryString 中的任何内容,这可能是什么原因?我使用正确的 token 。

最佳答案

您不能依赖 returnurl 参数来取回有关 PayPal 交易的任何信息,这些信息很容易更改。

您需要实现即时付款通知 (IPN),这样您将获得所有返回的变量,这里是一个示例:https://www.paypal.com/us/cgi-bin/webscr?cmd=p/pdn/ipn-codesamples-pop-outside

关于c# - PayPal 返回页面问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6068611/

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