Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
paypal 如何运行 notify_url 中指定的 url?我是否能够在网站结帐时创建的 notify_url 中获得会话?
如果您想将会话数据传递到您的通知 URL(这是一个 IPN 解决方案),您需要在按钮的自定义参数或 API 请求字符串中发送该数据,或者您可以将所有数据保存在数据库记录中,然后在自定义参数中发送数据库记录的ID。
这样,自定义参数将在您的 IPN 脚本中再次具有相同的值,因此您可以轻松地将其从数据库中拉出以进行处理。