VivaPayments / API

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

Checkout page in testing mode not working ? #2505

Closed mikaelcarlavan closed 3 months ago

mikaelcarlavan commented 3 months ago

HI,

The Smartckeckout payment page https://demo.vivapayments.com/web/checkout?ref={orderCode} doesn't seem to work in test mode. I keep getting an internal error. Any help ?

For example, here's the data I send to create my order. This part is working fine and returned me an orderCode. But the redirection, with this orderCode, fails. Strangely this works well in production mode.

{ "amount": 2500, "sourceCode": "7846", "customerTrns": "This is a description displayed to the customer", "customer": { "email": "test@abc.com", "fullName": "M. Test", "phone": "06XXXXXXXX", "countryCode": "FR", "requestLang": "fr-FR" } }

Thanks !

VivaWalletCustomerSupport commented 3 months ago

Hello @mikaelcarlavan,

Thank you for your message. Can you please share a screenshot of the error?

Kind regards, Viva E-commerce Support Team

mikaelcarlavan commented 3 months ago

Nevermind, it is working now. I guess you were having server problems during my tests. Thanks anyway.

mikaelcarlavan commented 3 months ago

Well, unfortunately, the error is back. Here is a screenshot of the error

Capture d’écran 2024-04-09 à 16 25 46

For information, URL is https://demo.vivapayments.com/web2?ref=2628032408291452 Original URL is https://demo.vivapayments.com/web/checkout?ref=2628032408291452

VivaWalletCustomerSupport commented 3 months ago

Hello @mikaelcarlavan ,

Please create a new order code and use this URL when redirecting customers. If the problem persists, please create an order code with a longer "paymentTimeout" timeframe, as the order codes you've sent us have expired.

https://demo.vivapayments.com/web/checkout?ref={OrderCode}

Kind regards, Viva E-commerce Support Team

mikaelcarlavan commented 3 months ago

Hello,

I used your URL but your system redirects to the second Here is a new order : https://demo.vivapayments.com/web/checkout?ref=8634514315068120

VivaWalletCustomerSupport commented 3 months ago

Hello @mikaelcarlavan ,

It seems that the URL that you sent us works correctly. Could please send us the Mobile number that you registered your account with? (We need the country code too)

Kind regards, Viva E-commerce Support Team

VivaWalletCustomerSupport commented 3 months ago

Hello @mikaelcarlavan,

We just wanted to follow up on the reply we sent yesterday. We were simply wondering if you read our response.

In any case this ticket will remain active for at least 24 hours, so that you can come back if you wish.

However, if you have any questions, please don't hesitate to reply here and we'd be happy to help!

Kind regards, Viva E-commerce Support Team

VivaWalletCustomerSupport commented 3 months ago

Hello @mikaelcarlavan

This ticket will close for now. Please don't hesitate to raise a new ticket if you need further assistance.

Kind regards, Viva E-commerce Support Team