tomaj / omnipay-tatra

5 stars 12 forks source link

Expose RC parameter of Cardpay CompletePurchaseResponse #13

Open rootpd opened 3 years ago

rootpd commented 3 years ago

Tatrabanka is able (upon request) return extra RC parameter for Cardpay responses, which describes the reason of Cardpay payment failure. At this point there's no way how to read it from CompletePurchaseResponse.

Could you please add it?

You can find the info about the parameter in section 4.3.1 of the documentation: https://www.tatrabanka.sk/cardpay/CardPay_technicka_prirucka_HMAC.pdf.

tomaj commented 3 years ago

Done in master right now (https://github.com/tomaj/omnipay-tatra/pull/15)

Do you have also file that documentation is referring to (response kody_CP.XLS)?

rootpd commented 3 years ago

Nope, that file doesn't seem to be openable :(