Commerce Cloud cannot store payment details such as credit card information in between when an order is placed and when the order is approved. As such, storefronts that use the order approvals feature must implement two checkout layouts, one for the initial checkout flow and a second for when payment is provided after approval has been given. The initial checkout flow layout handles orders in the following way:

Because order approval is based on aspects of the order (such as the order total or items the order contains) at the time the shopper submitted the order, the post-approval checkout layout must restrict the shopper from editing the order in any way other than providing payment information. To pay for an approved order, the shopper must view the order’s details, either by clicking a link in the Order Approved notification email or by viewing her order history and clicking the order that is pending payment. When a shopper is viewing order details for an approved order that is pending payment, a Complete Payment button is provided. Clicking this button sends the shopper to the post-approval checkout layout, where she can provide the payment information.

The following sections describe how to create the two checkout layouts that support order approvals.

Note: The sections below provide the minimum version number for each of the widgets you will be placing on the checkout layout. In order for the order approvals feature to work as described in this section, you must use these minimum versions or later. To tell which version of a widget you are using, view the widget’s settings and click the About tab to see the widget’s version number.


Copyright © 1997, 2017 Oracle and/or its affiliates. All rights reserved. Legal Notices