Submitting the Order
Submitting the Order
The last step of your checkout flow is submitting the order to the ROM API. When the shopper performs the "Submit Order" action in your checkout flow, the following ROM API integration actions must be taken.
-
Reserve inventory for the order. This reduces the chance of overselling the items in the order.
-
If not done earlier in the checkout flow, protect any credit card payment account numbers by calling the ROM payments Protect PAN API.
-
Secure funds for payment; for example; get authorization for a credit card payment or redeem funds from a stored value payment.
-
Collect browser information for fraud mitigation.
-
Call the create order API to submit the order to ROM.
Reserve Inventory for the Order
You can reserve inventory for all lines on your order by calling the ROM Allocate Inventory API.
Protect Payment Account Numbers
ROM protects payment account information using a tokenization mechanism. To protect the payment account number use the ROM Payments Protect PAN API.
Secure Funds for the Order
Depending on the type of tender offered by the customer for the order your e-commerce application can use one of the following APIs.
Tender Type | Payment API | For more details see |
---|---|---|
Credit Card |
||
Private Label Credit Card |
||
Gift Card |
Gift Card Redeem API, Gift Card Balance Inquiry API, Gift Card Redeem Void API |
|
PayPal |
For a full discussion about PayPal processing please see PayPal Processing |
Collect Browser Information for Fraud Mitigation
The ROM API provides a standard javascript which can be can be used as part of the "onSubmit" action of your submit order form. Details about how to acquire and how to use the fraud mitigation Javascript can be found on the Capture Fraud Risk Data in the Webstore and Create Order pages.
Submit the Order
The order process culminates by collecting and synthesizing the information from all the preceding calls into one comprehensive order create message. For details see the How to Build an Order Create API Request page.