更新时间:2023-12-04 09:03:34
我今天为我的客户修复"了此问题,但对解决方案并不满意.但这有效.
I "fixed" this today for i client but not really happy with the solution. But it works.
***将此文件复制到本地文件夹: app/code/core/Mage/Paypal/Model/Api/Nvp.php
It is better if you copy this file to your local folder: app/code/core/Mage/Paypal/Model/Api/Nvp.php
我在606行中添加了此代码(仅用于快速结帐),因此看起来像这样.
I added this code (Only for the express checkout) on line 606 so it look like this.
$request['SHIPPINGAMT'] = ($request['AMT'] - ($request['TAXAMT'] + $request['ITEMAMT']));
$response = $this->call(self::SET_EXPRESS_CHECKOUT, $request);
$this->_importFromResponse($this->_setExpressCheckoutResponse, $response);
您需要在后端的Paypal帐户中打开转移购物车订单项"
And you need to turn of Transfer Cart Line Items in the paypal moule in the backend
如果有人知道更好的解决方案,那就覆盖运费就让我知道
If somebody knows a better solution then just overwriting the shippingcost let me know