VivaPayments / API

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

abort session if user doesn't pay for a time? #2429

Closed CioacaRadu closed 1 year ago

CioacaRadu commented 1 year ago

Hello,

after I initiate a session I am starting a pooling while loop on the /sessions endpoint. If the user doesn't pay for 30 seconds I want to stop the transaction, it should be me who aborts the session or I can also set a default timeout in the viva Terminal app?

VivaWalletCustomerSupport commented 1 year ago

Hello @CioacaRadu,

Thank you for your message. Kindly note that every session expires after 1 minute if it is not paid. If you wish to abort the session before the expiration time, it should be done manually.

Kind regards, Viva Wallet E-commerce Support Team

CioacaRadu commented 1 year ago

Thanks you!