# How do I refund to Shopify automatically?

> SUPPORT

You can set it up so that when you process a refund in the admin, the Shopify order is refunded automatically as well.

## Required settings

- "Shopify" is selected in [Refund method](../setup/refund-method.html)
- **Synchronise the return status with Shopify** is turned on in [Return status synchronisation](../setup/return-sync.html)

## How it works once set up

※This flow applies to stores that have been switched to creating the Shopify return (Return) when the request is approved. Stores are being switched one by one. To find out whether your store has been switched, contact your account manager

The refund amount uses the value calculated by Shopify, and you can choose whether to refund shipping ([What changes when you turn it on](../setup/return-sync.html#2-what-changes-when-you-turn-it-on)).

1. On the return details page, click **Process transaction**

![The transaction details card on the return details page, showing Not refunded, the refund method Shopify, and the Process transaction button at the bottom right](images/return_faq_shopify-refund-process.png)

2. Adjust the refund amount if needed. It is pre-filled with the amount calculated by Shopify
3. To refund shipping as well, check **Refund shipping**

![The Refund shipping checkbox below the refund amount field](images/return_faq_shopify-refund-shipping.png)

4. Click **Mark as refunded**, then click the blue **Refund** button in the confirmation

![The Process refund in Shopify confirmation with the Mark as refunded in Recustomer only button and the blue Refund button at the bottom right](images/return_faq_shopify-refund-confirm.png)

※The refund notification email to the shopper is sent only by Recustomer. Shopify does not send one

The Shopify order is updated to "Refunded" automatically. The refund is linked to the line items of the Shopify return and is also shown in the timeline.

![Shopify order page with Refunded on the line item of the completed return, and a refund with the return number as the reason in the Refunded card](images/return_faq_shopify-refund-sync-2.png)

![Timeline of the Shopify order showing that Recustomer refunded 1 item from the return and manually marked the amount as refunded](images/return_faq_shopify-refund-sync-3.png)
