php - 如何完全跳过 PayPal 付款确认页面?

标签 php paypal payment hosted

我的客户网站正在使用 PayPal UK Website Payments Pro 托管解决方案。

当客户被定向到 PayPal 进行付款时,他们有两种选择,

“使用我的 PayPal 帐户付款”或“使用我的借记卡或信用卡付款”。

如果客户选择使用他们的 PayPal 帐户,他们会登录并进行付款,然后会进入 Paypal 付款确认页面,其中显示“感谢您的订单。您现在要返回...”此页面悬停大约 5-10 秒,然后将客户重定向回确认订单和发送电子邮件等的网站。

我的问题是,某些客户没有等待重定向,这导致订单确认出现错误。

My question is how can I skip the PayPal payment confirmation page altogether?

我打开了自动返回功能。我已经设置了返回 URL。付款数据传输已开启。

showHostedThankyouPage = false

我的想法已经用完了......

如果用户选择其他选项并输入信用卡详细信息,则一切正常。

最佳答案

我从 PayPal 技术部门得到了极好的回应。谢谢伊格纳西奥。我将与其他有此问题的人分享我的发现。这是我收到的回复。

My website is using the PayPal UK Website Payments Pro Hosted Solution. When a customer is directed to PayPal to make their payment they are given two options, 'Pay with my PayPal account' OR 'Pay with my debit or credit card'.

Website Payments Pro 托管解决方案有两种不同的付款方式:

  • 直接使用信用卡付款,即在内部使用我们的 DoDirectPayment API 接受信用卡,无需 PayPal 帐户。
  • 使用 PayPal 帐户付款,这基本上是重定向到我们的 PayPal 标准付款方式和页面。

If the customer chooses to use their PayPal account they log in and make their payments and are taken to a PayPal payment confirmation page that states 'Thanks for your order. You are now going back to ...' this page hovers for about 5-10 seconds and then redirects the customer back to the website where the order is confirmed and emails sent etc.

当客户使用 PayPal 帐户进行付款并启用自动返回时,这是 PayPal 标准中的预期行为。

专业托管解决方案中包含的“使用 PayPal 付款”选项发生这种情况的事实是,如上所述,该选项基本上是我们的 PayPal 标准付款方式,因此行为完全相同。

My problem is that some customers aren't waiting to be redirected, which is causing errors with order confirmations. My question is how can I skip the PayPal payment confirmation page altogether?

不幸的是,根本没有办法跳过此页面。不是来自您的 PayPal 帐户设置,也不是通过发送任何变量。

I have auto return on. I have set a return URL. Payment Data Transfer is on. showHostedThankyouPage = false. And I'm running out of ideas... I’d rather not have to use IPN as it will mean further integration and programming.

我们绝对推荐 IPN 作为获取新付款通知的更可靠方式,因为即使“自动返回”立即生效,一些客户仍然可以立即关闭浏览器。

如果启用了 IPN,PayPal 将始终向您的通知 URL 发送 POST,无论客户是否返回您的网站。

Is there a way around this? Before we upgraded to Payments Pro we were using Express Checkout and were simply able to pass SOLUTIONTYPE=Sole and LANDINGPAGE=Billing and we were able to skip that confirmation page step. I'm hoping there's a way to do something similar so it doesn't need to be re-written.

快速结账流程与 PayPal 标准流程不同。当客户在 PayPal 中点击“继续/付款”时,我们不会尝试接受付款,而是立即将客户带回到 RETURNURL,这将是您自己的集成,将通过以下方式完成付款:发送 DoExpressCheckoutPayment API 请求。

但同样,专业托管解决方案中的“使用 PayPal 付款”选项使用 PayPal 标准而非 Express Checkout。

除了使用 IPN 之外,我建议的唯一替代方案是禁用专业托管解决方案中的“使用 PayPal 付款”选项(这可以从我们这边完成),以便客户只能选择通过直接信用卡而非 PayPal 付款,然后独立于专业托管解决方案为您的 PayPal 付款实现快速结账。

关于php - 如何完全跳过 PayPal 付款确认页面?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/23484470/

相关文章:

php - 如何操作和整理关联数组中的数据

javascript - 如何使用 ajax 替代方法使 $.post 请求按顺序运行

Paypal IPN 验证 - 尽管已到达成功页面但仍不起作用

paypal - PayPal 中的定期付款

php - 尝试执行 PayPal 付款请求时出现 HTTP 400 错误。 (文件获取内容)

php - Centos/PHP 升级后服务器宕机

php - 下拉菜单不适用于日、月和年

windows-phone-7 - 如何在 Windows Phone 应用程序中处理付款(信用卡、PayPal)?

ruby-on-rails-4 - Paypal 集成,用于通过重定向到 paypal 并重定向回应用程序来创建商家帐户

小额 iOS/Web 支付选项