---
title: 'Payment and Shipping Restrictions'
url: 'https://info.srv.kowal.co/docs/magento/modules/payment-restriction'
markdown: 'https://info.srv.kowal.co/docs/magento/modules/payment-restriction.md'
lang: en
date: '2026-11-30'
description: 'Offer cash on delivery only for selected shipping services. Set minimum and maximum cart subtotals and test when the payment option appears at checkout.'
taxonomy:
  category:
    - docs
    - Magento
    - Modules
  tag:
    - payment
    - shipping
---

# Payment and Shipping Restrictions

**Composer** `kowal/module-paymentrestriction` · **Version** 1.0.19

## Product page

[Payment and Shipping Restrictions — kowal.co](https://kowal.co/payment-and-shipping-restrictions-for-magento-2)

## Description

Match cash-on-delivery availability to the selected shipping service and cart subtotal. Restrict locker delivery or store pickup for bulky goods.

## For whom

For stores where carriers collect payment only for specific services and some products need a different delivery method.

## Features

- Select shipping services that support cash on delivery.
- Set minimum and maximum subtotals for COD.
- Configure parcel lockers, pickup and international delivery separately.

## Installation

From the Magento root, with Composer access to the Kowal package, run

```sh
composer require kowal/module-paymentrestriction
bin/magento module:enable Kowal_PaymentRestriction
bin/magento setup:upgrade
bin/magento cache:clean
```

## Configuration

1. Under **Stores → Configuration → Kowal → Payment Restriction → Cash on Delivery (COD)**, select the carrier services that collect payment.
2. Set **Minimum order subtotal for COD** and **Maximum order subtotal for COD**. Use the cart merchandise subtotal when checking the thresholds.
3. Map the relevant services under **Parcel lockers** and **Store Pickup Shipping Methods**. Check the bulky-item flag on a product before enabling its restrictions.

## Requirements / notes

The payment filter recognises Magento’s `cashondelivery` code. If a third-party module supplies your COD payment method, check its actual code and checkout behaviour.

## FAQ

**Why does cash on delivery disappear when I change carrier?**

The module links it to the configured COD shipping list. Selecting a service outside that list filters out cashondelivery.

## Verify the installation

```sh
bin/magento module:status Kowal_PaymentRestriction
```

With a cart between the thresholds, compare payment options for a COD service and an ordinary service. Then exceed the maximum subtotal and check which shipping methods remain available.

---

## Navigation

- Parent: [Magento 2 Extensions](https://info.srv.kowal.co/docs/magento/modules.md)
- Previous: [Kowal Checkout](https://info.srv.kowal.co/docs/magento/modules/checkout.md)
- Next: [B2B Suite](https://info.srv.kowal.co/docs/magento/modules/b2b.md)
