I have a few questions regarding the Terminal API.
- When the checkout status changes to “CANCELED,” we are not receiving webhook notifications.
Our program is designed to continuously wait for webhook notifications after calling “Cancel terminal checkout” api and proceeds with processing after the checkout status has changed to “CANCELED”. During program testing, the following phenomenon occurred:
Phenomenon:
When repeatedly testing “Create terminal checkout” api followed by “Cancel terminal checkout” api, it was observed that after the third iteration (not consistently every time), webhook notifications for the checkout changing to “CANCELED” were no longer received. However, upon checking the status using “Get terminal checkout”, the checkout status was indeed “CANCELED”.
While we understand that webhook notifications are expected when updating the checkout status, we are perplexed as to why notifications for the checkout changing to “CANCELED” are not being received.I’m not sure if this has anything to do with our frequent api calls.
- The terminal keeps displaying payment preparation and cannot complete the payment.
After I restarted terminal, the problem was fixed and payment could continue. May I ask under what circumstances the terminal cannot complete the payment? Does this type of error occur if the api is called too often or in the wrong order?
here is the picture when the error occurred
Thanks.