You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using Viva Wallet Smart Checkout to handle payments from Belgium and France on a client's site.
Developing this on Laravel 11.
I tested everything on a demo account and it was alright, and then I moved the site to production keys and links once going live.
But occasionally, the payments on the gateway fails with the 400 error "RedirectCheckoutChargeValidationFailed: Invalid order StateId".
The event's ID is 100701.
Sometimes the payment works, sometimes it doesn't. This has happened to about 5 users of the site now. And just one worked fine.
I moved back to the demo account keys and tested it locally with the usage of expose.dev, even then, sometimes it works, sometimes it doesn't. After the card details are entered and pay is pressed on the payment gateway.
I looked all around the documentation and I wasn't able to find a solution.
I'm stumped.
Screenshot attached.
Here is a sample data that I sent in a POST request to create the payment order:
This is from a PHP dump.
Hello,
I am using Viva Wallet Smart Checkout to handle payments from Belgium and France on a client's site.
Developing this on Laravel 11.
I tested everything on a demo account and it was alright, and then I moved the site to production keys and links once going live.
But occasionally, the payments on the gateway fails with the 400 error "RedirectCheckoutChargeValidationFailed: Invalid order StateId".
The event's ID is 100701.
Sometimes the payment works, sometimes it doesn't. This has happened to about 5 users of the site now. And just one worked fine.
I moved back to the demo account keys and tested it locally with the usage of expose.dev, even then, sometimes it works, sometimes it doesn't. After the card details are entered and pay is pressed on the payment gateway.
I looked all around the documentation and I wasn't able to find a solution.
I'm stumped.
Screenshot attached.
Here is a sample data that I sent in a POST request to create the payment order:
This is from a PHP dump.
Sending this same dataset creates the payment order on VIva Wallet and redirects me correctly.
What am I doing wrong?
The text was updated successfully, but these errors were encountered: