Closed jimmyn closed 2 months ago
@presteamshop Please make sure this works correctly, and the module is checking payment status using GET /payments/:id API endpoint and not waiting for the webhook
It has been confirmed that it works perfectly. As soon as the webhook confirms the payment, the popup completes the countdown and displays the payment OK message.
@presteamshop we should not wait for the webhook at all, the module should check the payment status using GET /payments/:id API endpoint and not waiting for the webhook
@jimmyn The current setup is working well. It waits for the webhook confirmation to proceed, and if the webhook is not confirmed within one minute, the order is automatically confirmed. This is beneficial to avoid issues with orders that might be created simultaneously. I've experienced problems with other modules that don't have this waiting period.
Whenever customer is redirected back to the store, we need to check the payment status by calling GET payment endpoint instead of waiting for the webhook.