Checkouts manage the flow of the overall checkout process. When coupled with Drop-in, they can power your customer's checkout experience, from product selection to order placement. The Checkout object returns critical data points, such as the shipping amount, applicable taxes and fees, discounts, and total cost, that customers need to evaluate before they make a purchasing decision.
The high-level flow of a Checkout generally adheres to the following pattern:
You create a Checkout that is associated with the selected SKUs.
You update the Checkout with the payment source identifier returned by DigitalRiver.js or Drop-in.
Digital River returns the updated Checkout to you with taxes calculated and amounts totaled.
Customer reviews the checkout details and decides whether to make the purchase.
You can also associate the Checkout with a Customer and a Source. When you provide a
customerIdvalue, the email and ship-to address associated with that Customer are used in the Checkout. However, any values provided by the customer during the checkout process override the values retrieved from the Customer object.
The display of tax during the entire shopping experience should follow these guidelines (access required).