# Checkout and order creation

This section describes how to complete a checkout using the Checkout flow OOTB as provided by the Salesforce Lightning app. Actual steps may vary depending on your implementation.

To complete the checkout process and create an order:

1. Enter the keyword or SKU number in the **Search** field (or select the products to add to the cart).
2. Click **Add to Cart**.\
   ![](/files/bO0RDWjj7sthEHWn525s)
3. Click **Continue Shopping** to add more items, or click **View Cart** to proceed to checkout.\
   ![](/files/UqclNRWqU7P5QXMZxzD3)
4. Click **Proceed to Checkout** to pay for the items in the cart. The **Buyer Info** page will be displayed.\
   ![](/files/sN9cjzHtTjEMgCoLEEaR)
5. Add required information on the **Buyer Info** page and click **Next**. The **Delivery Method** page appears.\
   ![](/files/l4Y61k2qYaVRGbfZDSMh)
6. Select the **Delivery Method** and click **Next**. The **Order Review** page appears.

   <img src="/files/kL5aZGypmJaCvXM86Pcu" alt="" data-size="original">
7. Select the **Terms and Conditions** checkbox and click **Next**. The **Payments** page appears.\
   ![](/files/3MxqJMBMMcNqzkEhFPqt)\
   **Note**: If the cart contains subscription products, the Terms and Conditions include highlighted information about subscriptions.

   <img src="/files/efqfQAz1qQTJJPYxGEeA" alt="" data-size="original">
8. Select **New Payment method** or use the **existing payment** method (via the **Stored Payment** tab) and click **Continue**.\
   **Note**: If the cart contains a subscription product, you will be required to save a payment method or use a previously saved payment method. Select the **Yes, please save this account and payment information for future purchases.** checkbox.\
   ![](/files/oz5mgx7HNRIvrVVBEdrt)\
   Click **Continue**. The **Order Summary** page appears.\
   ![](/files/HeREYxHKa9KldemQnA5H)
9. Click **Place Order**.\
   The checkout and order creation process is completed with an order confirmation.\
   ![](/files/eYXOzv8XxO1CCNKX4vsJ)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.digitalriver.com/salesforce-lightning/salesforce-lightning-b2b-commerce-app-1.6/user-guide/checkout-and-order-creation.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
