无法向 paypal 发送价值

发布于 2024-09-01 13:06:55 字数 171 浏览 2 评论 0原文

PayPal IPN 直接向您的脚本发送通知。由于通知来自 PayPal - 不是下订单的客户 - 我的登录会话不会退出此上下文。因此,会话中不存在我的所有登录数据。我需要我的登录会话值来更新我的数据库与 paypal ipn 值。我应该如何维护我的登录会话,如果我设置浏览器会话或其他方式可以将登录主密钥发送到 paypal。

PayPal IPN sends a notification to your script directly. Since the notification is coming from PayPal - NOT the customer that placed the order - My Login session doesn't exits this context .Therefore,all my login data doesn't exist in the session.I need my login session values to update my DB with paypal ipn value.How should i mentain my login session should i set browser session or other way can i send login primary key to paypal.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

深府石板幽径 2024-09-08 13:06:55

Paypal IPN 允许您在表单中传递自定义 字段(您可以将会话 ID 放入其中),然后 IPN 会将其传递给您的脚本。 (或者为什么不直接传递用户 ID 或请求本身中的任何键)?

The Paypal IPN allows you to pass a custom field in your form (you could put your session ID in that) and then then IPN will pass that along to your script. (Or why not just pass the userid or whatever key in the request itself)?

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文