> 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-1.3/integrate-the-salesforce-lightning-app/step-15-integrating-refunds.md).

# Step 15: Integrating refunds

You can manage refunds at the order and line-item level from the Digital River [Dashboard](https://dashboard.digitalriver.com). The Salesforce Lightning app provides a Refunds button on the order. When you click the **Refunds** button, you will be redirected to the Order details page in the Dashboard.

{% hint style="info" %}
The Refunds button is only available to users assigned to the [DigitalRiver Connector - Refunds permission set](/salesforce-lightning/salesforce-lightning-b2b-commerce-app-1.3/integrate-the-salesforce-lightning-app/step-13-manage-permission-sets.md).
{% endhint %}

To add the Refunds button to your Order layout:

1. Click the App Launcher ![](/files/PjCtS86AKI0G5PnEbHwO).
2. Type `Orders` in the **Search** field and click **Orders**.\
   ![](/files/wCXzrn3vkdeWKdVl47sb)
3. Click a link under the **Order Number** column.\
   ![](/files/2fHuYLE0WDLVVQn1Add0)
4. Click **Setup** ![](/files/Z3UC9pN9SZOkmA6V52IF) and select **Edit Page**.\
   ![](/files/DWSvazo7Nxri9DpdzJ4b)
5. Click the top panel.\
   ![](/files/uShmEX0wrtMdbjxhuLmZ)
6. Click **Upgrade Now** button on the panel to the right of the Lightning App Builder.![](/files/q23xb4Ny7p5skuSwe3Ce)
7. Click **Migrate** from the **Dynamic Actions** dialog and then click **Next**.\
   ![](/files/Nnd0Xx3TydX4smTgSPv7)
8. Select **Order Layout** and click **Finish**.
9. Click **Add Action** in the panel to the right.\
   ![](/files/SGKItjWHVzyrWdkYsFsp)
10. Type `Refunds` in the **Search actions** field and click **Refunds**.![](/files/PB9qOGFjxQ11guXhg8Z7)
11. Click **+ Add Filter** to set the action visibility.\
    ![](/files/RomCCb4VM75OHSFuLth4)
12. Clicked the **Advanced** tab and then click the **Select** button.\
    ![](/files/XqQ7SOU57wMwzftwragZ)
13. Select **Permissions** from the filter list in the **Select field** dialog.![](/files/H8U4XOrk3WGfKtcoHhqM)
14. Select **Custom Permission** from the next filter list.\
    ![](/files/E4wCzHjrSpKacByfybkj)
15. Select **digitalriverv3.Enable\_Refunds\_Button** from the next filter list.![](/files/01wxbMzwgMA3eYtcLZay)
16. Click **Done**.
17. Set the **Value** field to **True** and click **Done**.\
    ![](/files/SZ1YclrGG5HBqgedMJ9R)
18. Click **Done**.\
    ![](/files/wpC0XdOWtjhcDnHBPgth)\
    The Refunds button appears in the top panel.\
    ![](/files/zfPNzBarevlHHcWRwIqZ)
19. Click **Save** and then click **Activate**.
