如何完全跳过 PayPal 付款确认页面? [英] How can I skip the PayPal payment confirmation page altogether?

查看:309
本文介绍了如何完全跳过 PayPal 付款确认页面?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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

My clients website is using the PayPal UK Website Payments Pro Hosted Solution.

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

When a customer is directed to PayPal to make their payment they are given two options,

使用我的 PayPal 帐户付款"或使用我的借记卡或信用卡付款".

"Pay with my PayPal account" OR "Pay with my debit or credit card".

如果客户选择使用他们的贝宝账户,他们会登录并付款,然后被带到贝宝付款确认页面,上面写着感谢您的订单.您现在要返回……"此页面悬停在大约 5-10 秒,然后将客户重定向回确认订单和发送电子邮件等的网站.

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 付款确认页面?

我有自动返回.我已经设置了一个返回 URL.付款数据传输已开启.

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...

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

If the user chooses the other option and enters their credit card details it all works perfectly.

推荐答案

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

I got a fantastic response from PayPal's technical depart. Thanks Ignacio. I'll share my findings for anyone else with this issue. This was the response I received.

我的网站正在使用 PayPal UK Website Payments Pro Hosted解决方案.当客户被引导至 PayPal 进行付款时他们有两个选项,用我的 PayPal 账户付款"或用我的 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'.

网站支付专业托管解决方案有两种不同的支付方式:

The Website Payments Pro Hosted Solution has two different ways of payment:

  • 直接使用信用卡付款,它在内部使用我们的 DoDirectPayment API 来获取没有 PayPal 帐户的信用卡.
  • 使用 PayPal 帐户付款,这基本上是重定向到我们的 PayPal 标准付款方式和页面.

如果客户选择使用他们的 PayPal 帐户,他们会登录并付款并被带到 PayPal 付款确认页面上写着感谢您的订单.你现在要回到...' 此页面悬停约 5-10 秒,然后重定向客户返回确认订单的网站并发送电子邮件发送等

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 Standard 中的预期行为.

This is the intended behavior in PayPal Standard when a customer makes a payment with a PayPal account and Auto Return is enabled.

Pro Hosted Solution 中包含的Pay with PayPal"选项之所以发生这种情况,是因为如上所述,该选项基本上是我们的 PayPal 标准付款方式,因此行为完全相同.

The fact that it's happening for the "Pay with PayPal" option included within the Pro Hosted Solution is because, as mentioned above, this option is basically our PayPal Standard payment method, so the behavior is exactly the same.

我的问题是有些客户不等待被重定向,这会导致订单确认出错.我的问题是如何我可以完全跳过 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 帐户设置,也不是通过发送任何变量.

我有自动返回.我已经设置了一个返回 URL.支付数据传输正在.showHostedThankyouPage = false.而且我的想法快用完了......我宁愿不必使用 IPN,因为它意味着进一步的集成和编程.

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 作为获取新付款通知的更可靠方式,因为即使自动返回"功能立即生效,一些客户仍然可以立即关闭浏览器.

We definitely recommend IPN as a more reliable way of getting notifications of new payments, as even if "Auto Return" was working straight away, some customers could still close the browser inmediately.

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

If IPN is enabled, PayPal will always send a POST to your notification URL, regardless if the customer has returned back to your site or not.

有没有办法解决这个问题?在我们升级到 Payments Pro 之前,我们是使用 Express Checkout 并且能够通过 SOLUTIONTYPE=Sole和 LANDINGPAGE=Billing,我们可以跳过该确认页步骤.我希望有一种方法可以做类似的事情不需要重写.

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 请求.

The Express Checkout flow is different from PayPal Standard. When a customer clicks on "Continue/Pay" while in PayPal, we won't attempt to take the payment, but rather take the customer back inmediately to the RETURNURL, and it would be your own integration the one that would complete the payment by sending a DoExpressCheckoutPayment API request.

但同样,Pro Hosted Solution 中的Pay with PayPal"选项使用 PayPal Standard 而不是 Express Checkout.

But again, the "Pay with PayPal" option within the Pro Hosted Solution uses PayPal Standard and not Express Checkout.

除了使用 IPN 之外,我建议的唯一替代方法是禁用 Pro Hosted Solution 中的Pay with PayPal"选项(这可以从我们这边完成),这样客户就只能拥有选择通过直接信用卡而不是 PayPal 付款,然后独立于专业托管解决方案为您的 PayPal 付款实施快速结账.

这篇关于如何完全跳过 PayPal 付款确认页面?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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