Paypal 标准选项未出现在结帐页面上
After I fill in all the information in the backend of my Magento 1.4.0.1 installation as described here, the Paypal option is not available on the One-Page-Checkout.
Does anyone have an idea as to why this can be happening?
Cache and Var have been emptied and I tried it on the standard and on my own theme.
Kind regards,
Avalon
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
显然,这个问题的(极其简单)解决方案是将基础货币设置为美元。我工作的网站是针对中国市场的,因此以人民币作为基础货币。将其更改为 USD 会使 PayPal 按钮立即出现...
Apparently the (extremely simple) solution to this problem was setting the Base Currency to US Dollars. The website I worked on was for the Chinese market and as such had the Chinese Yuan as Base Currency instead. Changing this to USD made the PayPal button appear instantly...
无需更改代码,因为它只是由于 Paypal 而发生的。
Paypal 并不支持全球所有货币。 Paypal 仅支持少数货币,例如美元、欧元以及您在 Paypal 网站上获得的其他货币。
所以你需要检查的是,只需进入管理面板 ->系统->配置->货币设置并检查您的基础货币。如果 Paypal 支持该货币,则 Paypal 在结帐页面上可见,否则将不可见。
PS:请不要忘记先启用 Paypal。
There is no need to change the code because it just happens due to Paypal.
Paypal does not support all the currency all over the world. Paypal supports only few of the currencies like US dollar Euro and other list you will get on website of Paypal.
So what you have to check is, just go to Admin panel -> system-> Configuration-> currency setup and check your base currency . If that currency is supported by Paypal then paypal is visible on Checkout page otherwise it will not be visible.
P.S : Please don't forget to enable Paypal first.
我只需要详细回答这个问题:
在以下位置创建文件 Config.php: /app/code/local/Mage/Paypal/Model/Config.php
复制文件
第 1 步 从/app/code /core/Mage/Paypal/Model/Config.php
到
/app/code/local/Mage/Paypal/Model/Config.php
第 2 步
查找:$_supportedCurrencyCodes >->第 207 行
然后将您的货币添加到:
我们的货币(PHP)不受支持,所以我将其添加到代码中。它应该变成这样:
然后将其作为您的基础货币(而不是美元)。希望这有帮助
I just need to answer this in detail:
Create the file Config.php in: /app/code/local/Mage/Paypal/Model/Config.php
Step 1 Copy the file from
/app/code/core/Mage/Paypal/Model/Config.php
to
/app/code/local/Mage/Paypal/Model/Config.php
Step 2
Look for the: $_supportedCurrencyCodes -> line 207
Then add your currency to:
Our currency (PHP) which was not supported so I added it on the code. It should become like this:
Then make that as your base currency (instead of USD). Hope this helps