See the way the Cash on Delivery extension works.
Provide your customers with a convenient payment method. Turn potential customers into regular once and boost your sales with the Cash on Delivery extension for Magento 2.
To configure the extension, please go to Stores → Configuration → Payment Methods and expand the Cash on Delivery Payment by Amasty tab.
Enabled - set to Yes to activate the extension.
Title - specify the payment method title on the checkout page. Cash On Delivery is set by default.
New Order Status - choose the status of the new order until the payment is completed: Pending or Processing.
Payment from Applicable Countries - set to All Allowed Countries if you want to offer ‘Cash on Delivery’ payment method for customers from all countries. If not, choose the Specific Countries option in this tab.
Payment from Specific Countries - select the countries for which cash on delivery will be allowed.
Instructions - fill in the guide or conditions for your customers to make a payment or provide them with some additional information about the COD method in your store.
Minimum Order Total - specify the minimum order amount required for the method to be applied.
Maximum Order Total - set the maximum order amount acceptable for cash on delivery payment method.
Sort Order - specify the position of the ‘Cash on Delivery’ in the payment methods list on the checkout page. Here 0 is the first position.
Enable Cash on Delivery Fee - activate this option to add an extra fee for using the COD method.
Cash on Delivery Fee Label - customize COD fee label that will be displayed in the order summary block.
Cash on Delivery Fee Type - set extra fees for using Cash On Delivery payment method as a fixed amount or as a percentage.
If you've configured fees as Fixed Amount, set Cash on Delivery fee in your currency units. Use floating-point numbers only, up to 2 digits after the point. The numbers should be greater than 0.
Then, choose whether to include or to exclude the tax into Cash on Delivery fee calculation.
If the setting is set to Include Tax, then taxes will be included in the cost of initial cash on delivery fee. For example, if the fee amount is $10, Tax=10%, then the Fee Amount visible for end-user will be $9.09 Fee + $0.91 Tax. In Order Total it will be shown as $10.
If the setting is set to Exclude Tax, then taxes will be excluded from fee calculation. For example, the Fee Amount is $10, Tax=10%. Then, an end-user will see Fee Amount of $10 Fee + $1 Tax. In Order Total it will be shown as $11.
Tax Class for Fixed Fee - this setting is only displayed when the Cash on Delivery Fee Type is set to Fixed Amount. Choose the appropriate class for the COD tax. If set to None, the tax won't be calculated.
If you've configured fees as Percent, set Cash on Delivery fee as a percentage of cart subtotal. Use floating-point numbers only, up to 2 digits after the point. The numbers should be greater than 0.
Decide, whether to calculate Cash on Delivery fee based on Cart Subtotal including or excluding tax.
Enable Postal Code Verification for Customers - enable this option to specify particular postal codes for which ‘Cash on Delivery’ payment method will be allowed. If disabled, all postal codes are acceptable.
Address Type to Validate - if postal code verification is enabled, define which address type should be validated: Billing Address or Shipping Address.
Allowed Postal Codes - specify postcodes eligible for Cash on Delivery. Enter a comma-separated list of individual codes you want to allow. Write down codes separated with a slash “/” symbol to allow the range of codes to save time and authorize the entire state or country. For example, the entry '73001/73199' means that all codes from 73001 to 73199 including, are allowed for Cash On Delivery. If you want to allow all postal codes, disable Postal Code Verification for Customers.
Allowed Shipping Methods - allow ‘Cash on Delivery’ payment to All Allowed Shipping Methods or to the Specific Shipping Methods.
Specific Shipping Methods - choose shipping methods for which cash on delivery will be allowed. Select all or clear the selection to allow all shipping methods.
Hit the Save Config button in the upper-right corner.
On the checkout page customers can choose Cash on Delivery payment method and see the instructions with additional information regarding COD (e.g. Extra fee is charged when you pay on delivery).
Customers can check the Cash on Delivery payment availability in their region by entering a ‘ZIP code’ in a summary block on a shopping cart page.
Find out how to install the Cash on Delivery extension via Composer.