PayPal standard gateway module is don't know about current used currencies.
by VictorASimon ยท 9 years ago
Available currencies in PayPal module listed in Array.
public function getCurrencies() {
return array("AUD", "BRL", "CAD", "CZK", "DKK", "EUR", "HKD", "HUF", "ILS", "JPY",
"MYR", "MXN", "NOK", "NZD", "PHP", "PLN", "GBP", "SGD", "SEK", "CHF",
"TWD", "THB", "TRY", "USD", "RUB");
}
You can see, that i added "RUB" in this array, but it is bad way, because i can have problems after update.
My be good reason for get current used (added activated) currencies and append this to array in this functions.
Thank you.
Comments (2)
Mohamed Anouar Achoukhy
9 years ago
I think this should be feature request and not a Problem .
VictorASimon
9 years ago
Okay, i'm sorry for incorrect place for this. It is not a problem, i agree. Additionally, please, sorry for my bad English.
1 voter
Status
Under Review
Category
Payment Gateways