贝宝付款标准:回调网址 [英] Paypal Payment Standard: Callback URL

查看:79
本文介绍了贝宝付款标准:回调网址的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Paypal沙箱上:

On Paypal Sandbox:

使用测试帐户登录并单击立即付款"按钮后,用户将重定向到Paypal中的感谢您的订单"页面.该页面在显示以下消息的消息下方具有三(3)个链接:

After logging in using a test account and then clicking the "Pay Now" button, the user is redirected to "Thanks for your order" page inside Paypal. The page has three(3) links below the message that says:

Return to Test Store
Go to PayPal account overview
Add funds from your bank

点击返回测试商店"会将我重定向到我在查询字符串中指定的返回URL.这会将订单标记为已完成",或者将Paypal返回的payment_status的值设为任何值.

Clicking the "Return to Test Store" will redirect me to the return URL I specified on my query string. This marks the order as "Completed" or whatever the value of the payment_status returned by Paypal is.

问题: 单击其他链接将绕过返回URL,并转到用户帐户配置文件,即使成功完成了交易,订单仍未完成,因为返回URL具有用于标记交易结果的脚本.

The Problem: Clicking the other links bypasses the return URL and goes to user account profile which leaves the order incomplete even if the transaction was successfully paid because the return URL has the script to mark the outcome of the transaction.

问题: 有没有一种方法可以绕过谢谢"页面,而仅重定向到我的返回URL,以便可以相应地完成交易?

The Question: Is there a way to bypass the Thank you page and just redirect to my return URL so the transaction can be concluded accordingly?

顺便说一句,我将我的测试业务帐户设置为在下订单后自动重定向到返回URL.

BTW, I have my Test Business Account set to autoredirect to the return URL after the order.

推荐答案

您想阅读有关PayPal的确定您的IPN监听者使用PayPal .

You want to read about PayPal's Instant Payment Notification and about Identifying Your IPN Listener to PayPal.

无论用户单击什么,都可以选择在交易发生时得到通知. Paypal的服务器将请求您提供的Notification URL,并为您提供有关该交易的信息.

You have the option to be notified whenever a transaction takes place, regardless of what users clicks on. Paypal's servers will make requests to a Notification URL you provide and give you informations about that transaction.

这篇关于贝宝付款标准:回调网址的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆