Credit card payment required order id. As I understand the payment-information API has to called to get the order_id and the same should be used in the credit card payment. What if the user cancels the payment or payment fails due to wrong payment details?
Should I call API to cancel the order? or there is a way to get order_id without actually calling payment-information. Please suggest.