slevomat / csob-gateway

Client library for CSOB card payment gateway
MIT License
27 stars 10 forks source link

Chybi parameter $language u nekterych init requestu #67

Closed miroslavpetras closed 7 months ago

miroslavpetras commented 7 months ago

Dle dokumentace CSOB lze u nasledujicich requestu posilat parametr $language (je nepovinny). Bohuzel, knihovna u techto requestu neumoznuje tento parametr zadat.

Jedna se o tyto requesty: oneclick/init - https://github.com/csob/paymentgateway/wiki/Methods-for-OneClick-payment#oneclick-init-operation applepay/init - https://github.com/csob/paymentgateway/wiki/Methods-for-Apple-Pay#applepay-init-operation googlepay/init - https://github.com/csob/paymentgateway/wiki/Methods-for-Google-Pay#googlepay-init-operation

Viz. kod: https://github.com/slevomat/csob-gateway/blob/master/src/Call/OneClick/InitOneClickPaymentRequest.php#L20 https://github.com/slevomat/csob-gateway/blob/master/src/Call/ApplePay/InitApplePayRequest.php#L30 https://github.com/slevomat/csob-gateway/blob/master/src/Call/GooglePay/InitGooglePayRequest.php#L24

Bez tohoto parametru nedokaze CSOB rozpoznat, v jakem jazyce chceme zobrazovat texty a zvoli vzdy defaultne cestinu. Viz. odpoved z CSOB ...

csob lang