VivaPayments / API

Index of Viva Wallet open source projects on GitHub.
139 stars 163 forks source link

Transaction failed #2421

Closed OssiPesonen closed 1 year ago

OssiPesonen commented 1 year ago

I am trying to use the Viva Terminal App (demo environment) to simulate payments using Google Pay test cards. However, all transactions are failing.

I am able to send in a transaction from my mobile application (electric cash register, ECR) to the Cloud REST API, and this shows up in the Viva Terminal application. I then select the option to use a QR code (because I can't use test cards with NFC) and I am redirected to Smart Checkout (I think?), but when I select Google Pay and test card (which are there in TEST environment), and I'm transferred back, all I get is:

Transaction failed

image

This error message also happens with every single test card on this page.

Do I need to enable some setting, or are test cards somehow failing? I am unaware of any other method of testing payments as I don't have an actual card reader and NFC across two mobile phones doesn't seem to work (nor do I have test cards visible in Google Wallet if I go this route)

OssiPesonen commented 1 year ago

Got it working. The issue must've been the minimum charge ie. I was testing this with 0,10€ and not 1,00€. Payment went through with 1€.