Please contact the merchant as the shipping address provided by the merchant is invalid
来源:互联网 发布:机械加工工时软件 编辑:程序博客网 时间:2024/06/05 12:04
http://help.qtmsoft.com/index.php?title=X-Cart:PayPal#Unable_to_process_payment._Please_contact_the_merchant_as_the_shipping_address_provided_by_the_merchant_is_invalid.2C_and_the_merchant_has_requested_that_your_order_must_be_shipped_to_that_address
http://www.ztup.cc/thread-3538-1-1.html
Unable to process payment. Please contact the merchant as the shipping address provided by the merchant is invalid, and the merchant has requested that your order must be shipped to that address
Such error message appears on the PayPal checkout page when customer's address does not pass PayPal's validation.
A valid address is specified by customer when checking out using X-Cart. The address is used for the calculation of shipping and tax charges before customer proceeds to PayPal's payment page. When customer submits an order to be paid with PayPal, the customer's address is passed from X-Cart to PayPal along with the other payment details.
If the customer's address submitted to the server does not pass PayPal's validation, the server returns the error specified in the question title. To fix it and continue with the payment, the customer should go back to the store, correct the address and submit the order again.
Please note that the customer's address submitted from X-Cart to PayPal overrides the PayPal member's stored address. The customer can see the submitted address but cannot edit it.
There is also another way to eliminate the error. You can allow your customers to edit the submitted address or select a different address that the customer has on his or her PayPal account. To do so, please make the following changes in <xcart-dir>/payment/ps_paypal.php:
Find the line:
"address_override" => 1,
and replace it with this one:
"address_override" => 0,
中文版本是:无法处理付款。由于商家提供的送货地址无效,而且商家要求您的订单必须送到该地址,因此,请与该商家进行联系。
其实昨天网友已经告诉我了一个解决办法,当时没看。今天在网上找到了他给的方法,如下:在app/code/core/Mage/Paypal/Model/Standard.php第158行有这样一句:‘address_override’ => 1,废了它就行—把它变成注释(在前面加“//”),或者直接删掉。
这个方法的可行性在magento官网论坛上已经被讨论过,据说它可能导致的结果就是:magento不会传送shipping信息给paypal,订单停留在pending状态,因为Paypal收到的付款金额跟magento系统的订单金额不同(差一个运费)。
我是宁可信其有,所以不敢用这个方法。探究了该错误出现的原因才知道,这不是一个bug,应该也无需为它改动系统代码,之所以有这样的提示,是因为:输入的地址是非真实地址,所以在测试的时候随便按键盘输入街道城市信息大都会导致这种错误。说白了它是paypal在地址环节对客户和订单的一个过滤。我用另一个站的客户信息来测试,没再出现这样的错误。
- Please contact the merchant as the shipping address provided by the merchant is invalid
- POJ 3728 The merchant
- poj 3728 The merchant
- POJ 3728 The merchant
- POJ-3728-The merchant
- poj3728 The merchant
- poj3728 The merchant
- POJ 3728 【The merchant】
- 【POJ3728】The merchant
- POJ 3728 The merchant
- POJ 3728 The merchant
- The merchant POJ
- poj 3728 The merchant
- POJ 3728 The merchant
- poj3728 The merchant 倍增LCA
- The merchant - POJ 3728 LCA
- LCA 练习题:【POJ3728】The merchant
- POJ 3728:The merchant LCA
- 可执行程序无法在Linux上运行,显示line 1: syntax error: word unexpected (expecting ")
- 我们该怎么对待别人
- HQL
- Win32ASM学习[19]:结构与联合
- Android开发笔记-环境搭建
- Please contact the merchant as the shipping address provided by the merchant is invalid
- linux常用命令---进入与退出
- 【C#】克隆3步骤
- asp.net URL传值出现错误解决
- C语言time.h中clock()函数的使用
- suse 下vsftp 搭建
- 【動態規劃】物品裝箱問題
- 注册表设置快速运行程序
- Linux系统