FEATURES
- PayPal Stardard payment method will STILL appear if your currency is not supoorted
- Converts your order to an accepted PayPal currency, on gateway out and gateway in
- Doesn't affect the order details in any way
- If you want to convert to a different currency, other than USD, EURO or GBP, please contact me
Q: How can I use paypal if my currency isn't supported?
Q: How can I use a payment gateway that doesn't support my currency?
Q: Paypal doesn't support my currency?
For now:
1. EDIT: catalog/model/payment/pp_standard.php
2. FIND AND REMOVE:
Code: Select all
if (!in_array(strtoupper($this->currency->getCode()), $currencies)) {
$status = false;
}
3. EDIT: catalog/controller/payment/pp_standard.php
4. FIND (THE FIRST INSTANCE ONLY):
Code: Select all
$order_info = $this->model_checkout_order->getOrder
5. AFTER, ADD:
Code: Select all
$currencies = array('AUD','CAD','EUR','GBP','JPY','USD','NZD','CHF','HKD','SGD','SEK','DKK','PLN','NOK','HUF','CZK','ILS','MXN','MYR','BRL','PHP','TWD','THB','TRY');
if (!in_array(strtoupper($this->currency->getCode()), $currencies)) {
$order_info['currency_code'] = 'USD';
}
Change "USD" with your choice of supported currency.
Tags: currency, paypal, paypal standard, currency check, currency fix, paypal currency, unsupported currency, paypal error, paypal fix, pass currency check, pass paypal check, checkout payment, payment method not showing, display paypal payment method, display payment method, convert currency, paypal convert, currency exchange, checkout currency, change currency, change paypal currency, paypal ron currency, paypal lei, paypal ron