sveawebpay / php-integration

SDK for Sveas payment methods (standalone and Svea Checkout)
Other
15 stars 19 forks source link

[Feature Request] Supported CardPay currencies #67

Closed timint closed 6 years ago

timint commented 8 years ago

If an unsupported currency is set the error is confusingly general saying "Rejected by bank".

Suggestion for improvements:

  1. Return a specific error message: USD is not a supported currency for this method.
  2. Ability to return available currencies e.g. getCardPayCurrencies(). That way we can just validate against a returned list of currencies. And new currencies would automatically be enabled dynamically by modules.
fre-sund commented 6 years ago

Added in 3.6.0