How to handle refundable and non-refundable fees?

How to handle refundable and non-refundable fees?

With the help of Extra Fee, you can create additional charges that can be both refundable or not, depending on your requirements. Let's take a look at that in detail.


Setting up a fee

To start with creating a fee, please go to Magento Admin Panel → Stores → Configuration → Amasty Extensions → Extra Fee → Fees and select Add New Fee. To determine a fee type, navigate to the General tab and locate the Eligible for Refund setting.


Refundable Fee

This fee type should have Eligible for Refund → Yes:



Non-refundable Fee

Here the setting should have the opposite value, Eligible for Refund → No:



The remaining settings, including fee options and application conditions, can be configured depending on your preferences.

Issuing a refund

As for creating refunds, the behavior of fees will depend on the setting you've chosen. To issue a refund, please open an invoiced order and select the Credit Memo option.




Orders with non-refundable fees

Even though a non-refundable fee is visible under order details:



It'll be hidden during credit memo creation:


    

If you issue a full refund for this order, the fee amount will remain under order totals, so there'll be a difference between grand total and refunded amount:



Orders with refundable fees

In this case, the fee line will be visible when issuing a credit memo, and you'll be able to determine the amount you'd like to refund:



If you wish to change the refunded amount, please edit the number inside the corresponding fee field and click the Update Totals button:



When you complete this refund, the order totals will be updated according to the amount you specified in the field:


      • Related Articles

      • How to handle taxes for extra fees?

        Enabling taxes for extra fees If you'd like to apply tax to your extra charges, you'll need to prepare your settings first. It needs to be done in two separate places. Default Magento settings Step 1. Navigate to Stores → Taxes → Tax Zones and Rates ...
      • Extra Fee | GraphQL methods

        Queries getListFeeItems description: get a list of created fees getFeeItemsForQuote(cart_id: String!) description: get a list of fees available in the current cart getFeeOptions(fee_id: Int!, store_id: Int!) description: get a list of fee options ...
      • Extra Fee API

        1. Amasty\Extrafee\Api\TotalsInformationManagementInterface - class for managing cart totals for logged-in users: POST /V1/amasty_extrafee/carts/:cartId/totals-information, method="calculate" - calculate totals of a specific cart; POST ...
      • Is it possible to add a fee for certain shipping regions only?

        Fees can be configured to appear only under certain conditions, including the shipping address. When editing or creating a fee at Stores → Configuration → Amasty Extensions → Extra Fee → Fees, please navigate to the Conditions tab inside your fee. ...
      • How to create a mandatory fee?

        If you need your customers to select an obligatory fee during checkout, you can create a mandatory fee that won't allow customers to place an order unless at least one fee option is selected. To do that, please go to Magento Admin Panel → Stores → ...