sebdesign / laravel-viva-payments

A Laravel package for integrating the Viva Payments gateway
MIT License
42 stars 19 forks source link

Card Tokenization API #18

Closed pantelispanayiotou closed 4 years ago

pantelispanayiotou commented 4 years ago

Hello,

i am using the package and it works quite good, thanks!

However following this link: https://developer.vivawallet.com/api-reference-guide/card-tokenization-api/#step-3-generate-one-time-charge-token-using-card-token-optional

i can see that the call is /cards/chargetokens instead of cards/token and the response should be $response->chargeToken

sebdesign commented 4 years ago

Thank for spotting this error!

I didn't have the chance to do integration tests because the charge tokens don't work in the sandbox.

Let me know if anything else doesn't work!