Requests | Blesta

Requests

PayPal standard gateway module is don't know about current used currencies.

VictorASimon shared this idea 7 years ago
Under Consideration

Available currencies in PayPal module listed in Array.

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

photo
1

I think this should be feature request and not a Problem .

photo
1

Okay, i'm sorry for incorrect place for this. It is not a problem, i agree. Additionally, please, sorry for my bad English.

photo