A visible shipping method should suit both the cart and the customer's address. Acceptance must also cover the next step: the shipping method selected can change which payment methods the customer is allowed to use.
Kowal Payment Restriction combines product flags with method assignments for cash on delivery, parcel lockers, store pickup and international shipping. Start by listing the actual method codes and names returned by the store's carrier integrations.
Flag products that need restrictions
Prepare an ordinary product and one with block_send_with_locker enabled. Compare each separately and in a mixed cart. An administrator sets this attribute; the module does not automatically derive the restriction from product dimensions or weight.
Assign the relevant methods under Stores → Configuration → Kowal → Payment Restriction. Test dynamic names from your carrier integration. Matching uses carrier code and normalized method name, so a familiar label in administration alone does not establish the result.
Check the connection between COD shipping and payment
A shipping method assigned to COD permits cashondelivery and hides the other payments. Methods outside that group hide COD. This is a specific COD relationship rather than a general editor for every possible payment combination.
Minimum and maximum COD thresholds apply to product value excluding shipping. Zero disables the respective limit. Test below, at and above the boundary, then change the selected shipping method and check payment choices again.
Compare domestic and international addresses
International means a country different from the store's default country. Only methods on the international list remain in that cart. Listing a method there does not by itself remove it from domestic deliveries.
Excluding COD abroad requires the correct assignments between the international and COD lists. A positive surcharge is a numeric addition without separate currency conversion. Check the settlement currency and resulting charge rather than copying an example amount from a description.
Record the result for this installation
Many rules read configuration from store zero. If rules must vary between Store Views, confirm the scope in the delivered version. Enable debug for the trial and compare var/log/kowal_paymentrestriction.log decisions with the customer's screen.
Finish with a valid order. Exception handling aims to preserve method availability, but does not replace checking the full payment and carrier setup. Repeat the recorded carts and country changes after an integration update.
Related stages of the process
If you need rates and surcharges beyond method availability, compare Shipping Rules. See Kowal Shipping Rules - Magento 2 extension for shipping methods, delivery restrictions, and additional fees. and the guide Parcel, pallet and oversized-item fees: how to test shipping rules in Magento 2.
Check features and configuration in the offering for Payment and Shipping Restrictions for Magento 2.
