Successful PayPal payment not posting back data, but only for mobile checkout

蹲街弑〆低调 提交于 2019-12-12 14:07:44

问题


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

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

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.

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

Some answers have suggested setting

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

This does nothing.

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


回答1:


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.



来源:https://stackoverflow.com/questions/22835265/successful-paypal-payment-not-posting-back-data-but-only-for-mobile-checkout

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!