ondrakoupil / csob

PHP client for ČSOB payment gateway eAPI
MIT License
44 stars 18 forks source link

currency issue #8

Closed lamvanduyet closed 7 years ago

lamvanduyet commented 7 years ago

Is it possible to change currency in CSOB gateway and EET extension? I would like to change from CZK to EUR and vice versa. Thank you for answer.

ondrakoupil commented 7 years ago

Sure. Just set $currency in Payment object: $payment->currency = "EUR"; I am not sure if you need some kind of special permission from CSOB to use foreign currencies in production environment. In testing environment it works, though.

lamvanduyet commented 7 years ago

thanks for answer