Comments (4)
Hello @Lord225,
The default duration for which an order code remains active is 30 minutes. However, if you are using the create payment order API, you have the flexibility to change the default duration by editing the "paymentTimeout" parameter. For documentation on how to do this, please refer to this guide: https://developer.vivawallet.com/apis-for-payments/payment-api/#tag/Marketplace-Payments/paths/~1checkout~1v2~1orders~1/post.
If you make a webhook call after the specified duration of 30 minutes, you can consider the response final. For a more comprehensive understanding of the StatusId parameter in the webhook, I recommend referring to the analytical documentation available at https://developer.vivawallet.com/integration-reference/response-codes/#statusid-parameter.
Additionally, please take into account the information provided in the red box outlined in this guide: https://developer.vivawallet.com/webhooks-for-payments/#webhook-events.
Kind regards,
Viva Wallet E-commerce Support Team
from api.
I understand that and I know I can change timeout - the thing is that sometimes webhook with confirmation can come after very long time even if timeout is set very low (like 5 minutes). I noticed this behavior with blik payments. Sometimes it is instant but it can take several minutes and I'm not sure how I can check if payment has expired and cannot be payed or it has been payed but is not yet verifed.
from api.
Hello @Lord225,
Thank you for your prompt response. Kindly note that this can happen in Asynchronous payment methods. Asynchronous payment methods are those in which payments are not confirmed immediately (synchronously). In essence, these rely on a delayed payment notification (via webhooks) before the payment can be confirmed as complete.
In any case, when you receive a webhook notification, before updating a transaction’s status on your system, you SHOULD always retrieve its details from Viva. Please use the transactionId in the payload and make a call to the Retrieve Transaction API. Validate the orderCode, statusId and amount you received in the Retrieve Transaction API response and update your system accordingly
Kind regards,
Viva Wallet E-commerce Support Team
from api.
Hello @Lord225,
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
from api.
Related Issues (20)
- Viva Wallet Standar checkout Woocommerce - Compatibillity Issue with woocommerce 8.5.2 HOT 4
- e-banking/DIAS DEMO environment HOT 3
- Account Verification Status Changed webhook not listed in interface HOT 2
- Typo in code HOT 2
- Marketplace Demo - Orders successful but not processed HOT 1
- Inconsistency in statuses HOT 2
- order accepted without payment HOT 3
- AISP PSD2 Interface plans HOT 3
- Cannot Reset module vivawalletsmartcheckout HOT 3
- Prestashop 8.1.3 bug when landing on the module page(it resets all the data) HOT 5
- demo.vivapayments.com login not working
- Uniqueness and life cycle of OrderCode HOT 5
- Checkout page in testing mode not working ? HOT 8
- Authentication issue for ISV Basic Auth HOT 5
- handle-payments-with-card-installments with extra amount HOT 7
- Update Card for Recurring Payments HOT 3
- [Feature Request] Add Microsoft Kiota API Search support and upgrade to OpenAPI 3 HOT 3
- [Feature Request|Idea] Unify the Cloud and Local Peer-to-Peer API HOT 2
- Cloud Terminal API problem HOT 10
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from api.