Handling Failed Order Submission
Sometimes when you finalize an order for submission, something will go wrong. For example, payment authorization can fail, or stock for one or more items on the order can sell out after being added to the cart.
When the order submission process fails, any resources bound to the order must be reversed.
Canceling Inventory Reservations for the Order
Any inventory reserved for the order must be reversed by calling the ROM Rollback Allocation API.
Reversing Payment Authorizations for the Order
Any funds bound to the order must be reversed by using the ROM Payment API. The API used depends on the tender type.
The table below summarizes the API to use based on tender type.
Tender Type | Payment API | For more details see |
---|---|---|
Credit Card |
||
Private Label Credit Card |
||
Stored Value Card |
||
PayPal |
For a full discussion about PayPal processing please see PayPal Processing |