> For the complete documentation index, see [llms.txt](https://docs.digitalriver.com/salesforce-lightning/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.digitalriver.com/salesforce-lightning/salesforce-lightning-b2b-commerce-app-2.1/user-guide/checkout-and-order-creation.md).

# Checkout and order creation

## Using the LWR Checkout flow REVIEW WHOLE SECTION

This section describes how to complete a checkout using the LWR Checkout flow as provided by Digital River. Actual steps may vary depending on your implementation.

1. Enter the keyword or SKU number in the search field, or select the products to add to the cart.
2. Select the product and click **Add to Cart.**<br>

   <figure><img src="/files/K7OX4RMxEFbYSoaO4uam" alt=""><figcaption></figcaption></figure>
3. Click **Continue Shopping** to add more items, or **View Cart** to proceed to checkout.<br>

   <figure><img src="/files/YBRPzupZehssR3hpAlLF" alt=""><figcaption></figcaption></figure>
4. Click **Proceed to Checkout** to pay for the items in your cart. The Contact Information section will be displayed.\
   **Note**: This screen differs slightly for guest users and authenticated users.<br>

   <figure><img src="/files/36BukemWU9pCgUiCq7Fb" alt=""><figcaption></figcaption></figure>
5. Fill in the necessary details on and click **Proceed**. The Delivery Options section will appear.<br>

   <figure><img src="/files/FOgTk7qgIxy0fYRQDc6L" alt=""><figcaption></figcaption></figure>
6. Select the Delivery Method and click **Next**. The payment section appears.\
   &#x20;

   <figure><img src="/files/fQC6oYxokogNyaPrqZ6d" alt=""><figcaption></figcaption></figure>
7. Select **New Payment method** or use the existing payment method (via the Stored Payment tab) and click **Continue**. &#x20;
8. If you would like to save your payment for future use, select the **Yes, please save this account and payment information for future purchases** checkbox.<br>

   <figure><img src="/files/BbpireYx166SINMz52aT" alt=""><figcaption></figcaption></figure>

   Once you made the payment, payment details will appear.<br>

   <figure><img src="/files/DqrQYQiEuA7tbdvHMG76" alt=""><figcaption></figcaption></figure>
9. Click **Proceed** to agree to the Terms and Conditions. Once agreed, the Place Order button appears.<br>

   <figure><img src="/files/pL6QkSig0Dpe4NNFPRuc" alt=""><figcaption></figcaption></figure>
10. Click **Place Order** to complete the checkout and receive your order confirmation..<br>

    <figure><img src="/files/yQ6Zfqe7M1B4lkVoWZA2" alt=""><figcaption></figcaption></figure>

## Using the Aura Checkout flow

This section outlines how to use the out-of-the-box Checkout flow in the Salesforce Lightning app. Steps may vary based on your specific 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
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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-2.1/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.
