English 中文(简体)
Paypal Standard option does not appear on the Checkout page
原标题:

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

最佳回答

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...

问题回答
  1. First of all, please check whether the module "Mage_Paypal" is enabled or not, in System > Configuration > Advanced, for the "Default Config" Configuration Scope. If it is not yet enabled, then you should enable it, to make use of this Payment Gateway. If you have changed anything, you should save that page.
  2. Now go to System > Configuration > Payment Methods, for the same Configuration Scope. There are many Payment Methods listed, but most of them are not enabled. So you should select which PayPal method you want, & then make it enabled. Edit all the features of that Payment module, whichever you want, and then save it.
  3. Now again clear the cache management fully & see the checkout page. The enabled PayPal module should crop up now.

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.

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:

protected $_supportedCurrencyCodes = array( AUD , CAD , CZK , DKK , EUR , HKD , HUF , ILS , JPY , MXN , NOK , NZD , PLN , GBP , SGD , SEK , CHF , USD , TWD , THB );

Our currency (PHP) which was not supported so I added it on the code. It should become like this:

protected $_supportedCurrencyCodes = array( AUD , CAD , CZK , DKK , EUR , HKD , HUF , ILS , JPY , MXN , NOK , NZD , PLN , GBP , SGD , SEK , CHF , USD , TWD , THB , PHP );

Then make that as your base currency (instead of USD). Hope this helps





相关问题
2. 提交多件物品,一劳永逸地与营地一起支付

我有一些销售物品,有2和3级的定制。 一旦安装了用户,就会增加我的现场车。 问题在于,如何把每一件物品送到检查时支付费用? 唯一发现的法典......

PHP - Paypal product timeout

I have finally got my paypal system working using IPN and a reservation system to ensure that two people do not buy the same product. The problem is, the reservations last for 10 mins on my ...

Paypal not picking up shipping?

this is strange, for some reason this paypal isn t picking up my shipping_1 value, yet I have done another form similar, and it goes through ok? I have no idea what s wrong with it.. <form target=&...

PayPal Website Payment Pro / Payflow Pro Difficulties

Okey, I m using PHP/SQL for my built web-cart. I also have the required paypal account (business) so I have an API authentication. I also made a sandbox account and got an API authentication there too....

How to link username in site to PayPal information email?

It s not a problem but i don t know how to do this; let s say that I have a sign up form with some fields: username, password, email, as you know the user clicks on the BUY BUTTON and pay s up. Well, ...

About paypal express checkout api

In this picture,there are 3 main steps:SetExpressCheckout,GetExpressCheckoutDetails and DoExpressCheckoutDetails,I m now sure SetExpressCheckout is to be called by myself,what about ...

Does HttpWebRequest send 200 OK automatically?

Background: I am implementing Paypal IPN handler. This great article on Paypal states that I am required to send a 200 OK back to Paypal after I read the response. The processing of IPN request is ...

热门标签