0

我遇到了 Magento 的问题。

在为客户实时启动网站后,11 天一切正常。昨天,一位客户告诉我们,他们的付款已被标记为涉嫌欺诈。我们去检查,发现 Magento 网站和 PayPal 上的金额不同。在检查了原因后,我们看到 PayPal 正在对从 Magento 转移的金额添加另一项税款,尽管 Magento 已经包含了所有金额。

这是我更改为 PayPal 快速结帐时遇到的错误。

PayPal 网关已拒绝请求。购物车项目总金额与订单金额不匹配(#10413:由于参数无效,交易被拒绝。有关详细信息,请参阅其他错误消息)。

有谁知道如何解决这个问题?

4

2 回答 2

1

我找到了解决方案。不确定这是最好的方法。但是,它有效。

澄清一下,我想在 Magento 中使用 PayPal 网络标准。

\app\code\core\Mage\Paypal\Model\Api\Standard.php

我注释掉了以下内容。

49 //  'tax'           => 'tax_amount',

65 //'tax'      => '_filterAmount',

93 //Mage_Paypal_Model_Cart::TOTAL_TAX      => 'tax',
于 2013-04-15T03:19:17.157 回答
0

Suggested you log what was posted to Paypal against what went into paypal order related DB.

Use similar details to what was there for that specific case.

Probably some code of yours( additional module ) added tax in paypal form that was posted where this addiitonal amount didnt update order total so order details were intact.

于 2013-04-13T19:44:09.350 回答