为什么我的 Paypal 结账总是以美元显示?即使我已经设法更改了 simplecart 货币,并且当货架上的物品添加到购物车中时,它会显示正确的货币。但是当我点击结帐按钮时,Paypal 页面会以美元货币显示所有内容。例如 RM10 变成 10 美元。
simpleCart.email = "my@email.com";
simpleCart.checkoutTo = PayPal;
simpleCart.currency = MYR;
simpleCart.taxRate = 0.02;
我什至改变了这个,
case DKK: return "Rp "; case MYR: return "RM"; case USD: case CAD: case AUD: case NZD: case HKD: case SGD: return "$"; default: return ""; } }; me.currencyStringForPaypalCheckout = function( value ){ if( me.currencySymbol() == "RM" ){ return "RM" + parseFloat( value ).toFixed(2); } else { return "" + parseFloat(value ).toFixed(2); } };
哪里出错了?是我的购物车还是结帐成为问题?