Auto-Refunds
Last updated
Was this helpful?
Last updated
Was this helpful?
DotApparel has introduced a new feature that enables online refunds that were paid via Shopify Payments and other native payment gateways supported by Shopify. With this feature, merchants can easily sync Apparel21 refunds back to the original orders in Shopify.
This guide will walk you through the steps to initiate transaction refunds within DotApparel.
The main advantage of this feature is the streamlined refund process for payment refunds, here's how it primarily benefits merchants:
Refund Shopify order from AP21: Merchants can handle returns within AP21 without any extra steps. There is no need to handle refunds separately in both Apparel21 and Shopify, instead, they can process refunds exclusively in Apparel21, saving time and effort.
Refund Shopify order from POS (in-store): When a refund is processed in Apparel21, the payment status of the corresponding order in Shopify will be automatically updated. This sync ensures that the payment status is accurate and up to date in both systems without manual intervention. (this requires a refunds.csv for in-store refunds only) Note: The merchant will need to configure the refund.csv files.
Refund online orders via Apparel21 Mail Order (Head Office)
✅
Refund online orders via Apparel21 POS (In-store)
✅
Note: The requires a refunds.csv
Refund should be deducted from Shopify order
✅
Capture the return reason
✅
Ability to refund online orders back to the original payment method. The module can process refunds for all payment methods supported by Shopify:
PayPal
AfterPay
Shopify, ShopPay
Apple Pay
Google Pay
✅ Note: The feature does not support Refunds for orders paid with gift cards
Exchange of size or colour
❌
Exchange with different products requiring more payment
❌
exchanges with different products requiring a monetary refund
❌
Merchant to provide:
DotApparel to configure:
Merchant to provide:
DotApparel to verify:
Merchant to:
If setup is correct, refund will process automatically in the staging Shopify store
Responsibility: DotApparel
This step requires the merchant to set up the new return reason on their end. The new return reason can be anything such as Shopify Refund
but should be a unique reason to avoid potential coupling issues with existing ones.
After completing the setup for return reasons, open the DotApparel Core app and navigate to the settings page. Find the Refund section and select the newly created return reasons for Auto-Refunds.
The "Freight SKU IDX" field is now required in the settings. This value is used to determine if a returned item corresponds to a shipping fee and whether it can be refunded.
The "Refund Payment Origin" field is used to help with refunding shipping fees for cancelled orders.
The "Virtual Partial Refund SKU IDX" field enables merchants to configure virtual products in AP21 specifically for partial refunds. This feature allows merchants to create a new returned item and immediately specify a total partial refund amount without the need to modify existing order items in AP21, thereby enhancing flexibility in handling partial refunds.
Make sure to enable the "Active Auto-Refund in Shopify" option.
After configuring the settings, click the "Update settings" button to save the changes and complete the setup.
Within the settings page, navigate to the automation section.
Find the option to enable fulfilment automation and activate it.
Save the changes.
By default, Auto-refunds only handles orders that are paid through "Shopify payment". However, an enhancement now allows users to customise this rule. Users can navigate to DotApparel's settings, locate the payment gateways section, and enable the "Allow Auto-Refund" checkbox for third-party gateways like Afterpay.
Every Auto-Refund workflow consists of 3 main steps:
After an item is refunded in Apparel21, it must be assigned a specific return reason designed for auto-refunds. In DotApparel, a pre-defined return reason ID is established to identify eligible items for auto-refunds. To trigger the auto-refund process in Shopify, the following conditions must be met:
The Apparel21 OrderDetail (line item) status should be marked as "Returned".
The return reason ID assigned to the refunded item in Apparel21 matches the pre-defined return reason ID in DotApparel.
DotApparel is running an automation task to regularly download the most recently updated orders from Apparel21. By default, this task occurs once per hour, ensuring the system stays updated with the latest order information. However, if the Apparel21 Retail API version is 2022.3
or newer, the download task is more frequent, running every 5 minutes for faster synchronisation.
Once the orders are downloaded into DotApparel, the system proceeds to evaluate each order's eligibility for automatic refunds in Shopify. DotApparel checks various criteria to determine if an order can be automatically refunded using the payment gateway. If an order meets the necessary conditions for automatic refunding, DotApparel lists the refund requests within the app for merchant review and processing.
Once an order is processed in DotApparel, the corresponding items are immediately refunded in Shopify. DotApparel communicates with Shopify's refund functionality, initiating the refund process for specific items.
Upon successful refund in Shopify, the "refund notes" section within the order will be updated with a reference ID. The reference ID format is as follows: "Reason: '[AP21 Refund] - ref: 4a00e8e1-cd94-46f8-9090-f5d9f9e4107b'
". This reference ID serves as a unique identifier and enables merchants to easily locate and view the AP21 refund details within the DotApparel app.
In the event of any error during the auto-refund process, DotApparel promptly displays an error message. The order associated with the failed refund is labelled as "Failed to refund" within DotApparel, indicating that the refund was not successful. Merchants can review the specific error message in DotApparel to identify the cause of the failed refund and take appropriate action, such as manual refund processing in Shopify if necessary.
This section highlights the limitations of the auto-refund feature in DotApparel and its integration with Shopify. It covers scenarios where manual refunds in Shopify, cancelled AP21 orders, and gift card payments are not supported.
If an order has already been refunded manually in Shopify, the auto-refund process in DotApparel will be halted to prevent duplicate refunds. Merchants are required to manually process the refund in Shopify for such cases.
By default, if an order is cancelled in AP21, DotApparel will not automatically process a refund in Shopify. If you require automatic refunds for these types of orders in Shopify, please contact our support team for assistance.
The feature does not support refunds for orders paid with gift cards. In cases where an order is paid using a combination of gift card and normal payment, only the portion paid with the payment can be refunded through Shopify. Merchants need to process any gift card refunds separately, outside the auto-refund process.
The Allow Auto-Refund toggle is enabled