Magento – Enabling Paypal on One page checkout in the PH

Paypal option is not showing on the one page checkout, Configurations are correct and errors are not appearing.

I changed the default currency to USD and The paypal button suddenly appeared. This concludes that Magento’s Paypal does not support Philippines natively.

To fix the problem you need to add PHP to the supported currencies.

Edit /app/code/core/Mage/Paypal/Model/Config.php

and add ‘PH’ to the array of support country codes

<?php

    /**
     * Merchant country supported by PayPal
     *
     * @var array
     */
    protected $_supportedCountryCodes = array(
'AE','AR','AT','AU','BE','BG','BR','CA','CH','CL','CR',
'CY','CZ','DE','DK','DO','EC','EE','ES','FI','FR','GB',
'GF','GI','GP','GR','HK','HU','ID','IE','IL','IN','IS',
'IT','JM','JP','KR','LI','LT','LU','LV','MQ','MT','MX',
'MY','NL','NO','NZ','PH','PL','PT','RE','RO','SE','SG',
'SI','SK','SM','TH','TR','TW','US','UY','VE','VN','ZA',
'PH');

Leave a Reply

Your email address will not be published. Required fields are marked *

*