在我的 Magento 商店中,我遇到了 PayPal 问题。如果客户使用手机或平板电脑,Magento 不会将 PayPal 付款重定向到移动 PayPal 模板。我联系了 PayPal,他们告诉我应该删除变量“discount_amount_cart”,以便将客户重定向到移动 PayPal 网站。
我正在使用标准的内置 PayPal 网站付款标准付款方式。我在互联网上搜索了,但我不知道删除该变量会产生什么后果,以及如何做到这一点。
你有什么想法吗?
谢谢。
最佳答案
这个变量似乎唯一被设置的地方是在这个方法中:Mage_Paypal_Model_Api_Standard::getStandardCheckoutRequest()
。在我看来,折扣不应该与移动页面相关,但您无论如何都可以尝试将其删除。
discount_amount_cart
是可选字段:
Single discount amount charged cart-wide. It must be less than the selling price of all items combined in the cart. This variable >overrides any individual item discount_amount_x values, if present. Applies only to the Cart Upload command. -- PayPal - HTML Variables for Shopping Carts
关于php - Magento - PayPal 未重定向到移动网站,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/20247115/