# Step 16: Test the Salesforce Lightning app integration

This step assumes you have completed all installation steps thus far. Commonly missed steps include:

* adding users to the correct permission sets
* configuring tax codes and ECCNs for products
* configuring custom fields on various pages
* configuring custom components on various pages
* configuring various flows/sub-flows

### Test the checkout flow

To test the checkout flow:

1. Log in to the storefront as a registered user.
2. Add one or more products to your cart.
3. Go to the shopping cart and click **Checkout**.
4. Enter pertinent information on the **User Information** and **Shipping** pages.&#x20;

| Page           | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| -------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Order Review   | <p>This page is the first place where the Digital River integration is visible. It includes the following:</p><ul><li>Taxes, fees, and duties are displayed as applicable</li><li> <em>Digital River Terms and Conditions</em> </li></ul><p>For US tax-exempt purchases, the user can manage tax certificates and apply a global tax identifier, if applicable.</p><p></p><p>Tax certificates are displayed on the Buyer information page. If a new tax certificate is uploaded, a relevant API call is made to Digital River to create a customer if one does not already exist.</p> |
| Payment        | <p>On this page, the user has the option to pay using either:</p><ul><li>A stored payment method</li><li>A new payment method</li></ul><p>Available payment methods will depend on the configuration of your Digital River account. In a test environment, you may use the applicable <a href="https://docs.digitalriver.com/digital-river-api/developer-resources/testing-scenarios">testing payment methods</a>.</p>                                                                                                                                                                |
| Order Complete | <p>On this page, the following items are displayed:</p><ul><li>Taxes</li><li>Fees</li><li>Duties  </li><li>Digital River Terms and Conditions </li><li>Payment information</li><li>Product information</li></ul>                                                                                                                                                                                                                                                                                                                                                                      |

{% hint style="info" %}
See the [Fulfillment/cancellation flow ](/salesforce-lightning/user-guide-optional/fulfillment-and-cancellation-flow.md)section on how to test this process.
{% endhint %}

[<br>](https://docs.digitalriver.com/salesforce-b2b/v/2.1.1/integrating-the-digital-river-salesforce-b2b-commerce-app/step-14-configure-the-digital-river-app-logs)


---

# 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/operation-and-maintenance/step-15-test-the-digital-river-salesforce-lightning-app-integration.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.
