成功的PayPal付款不会回传数据,仅用于移动结帐 [英] Successful PayPal payment not posting back data, but only for mobile checkout

查看:99
本文介绍了成功的PayPal付款不会回传数据,仅用于移动结帐的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经看过几次这个问题,但是没有任何成功的答案.

I have seen this question asked a few times, but without any successful answers.

我们有一个功能齐全的桌面结帐服务,利用PayPal作为付款选项.成功完成订单后,使用POST退货方法将客户送回到我们的网站return_url,如下所示:

We have a fully functioning desktop checkout utilising PayPal as a payment option. After successfully completing an order, the customer is returned back to our website return_url using the POST return method, as indicated here:

<input type="hidden" name="rm" value="2">

此处的变量仅用于标识订单并向客户显示相关信息. IPN用于在后端实际完成"订单.到目前为止一切顺利.

The variables here are only used to identify the order and display relevant information to the customer. IPN is used to actually 'complete' the order in our backend. So far so good.

但是,在使用移动设备时,PayPal不会将任何数据回发到return_url.

However, when using a mobile device, PayPal will NOT POST back any data to the return_url whatsoever.

一些答案​​建议设置

<input type="hidden" name="no_note" value="1">

这什么都不做.

有人找到解决这个问题的方法吗?我们可以对移动设备的return_url进行修改,但是我们可以发送回的数据是有限的,因此并不理想.

Has anyone found a way around this? We could rework the return_url for mobile devices, but the data we can send back is limited, so it's not ideal.

TIA

推荐答案

它与Safari回发错误有关.该错误的根本原因是IIS下的协商身份验证"设置.您必须删除它并仅保留NTLM身份验证.但这并不能解决我的问题,但希望能解决您的问题.

It is related to the Safari postback bug. The root cause of the bug is the Negotiate authentication setting under IIS. You have to remove it and leave the NTLM authentication only. But it didn't resolved my problem, but hopefully yours.

这篇关于成功的PayPal付款不会回传数据,仅用于移动结帐的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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