- Add support for Sylius 1.11|1.12, Symfony ^5.4|^6.0, PHP ^8.0
- Drop support for Sylius <= 1.10 and consequentially for Symfony <= 5.3, <= PHP 7.4
- Support for Sylius 1.8|1.9|1.10, Symfony ^4.4|^5.2, PHP ^7.3|^8.0
- Change namespace from
MangoSylius\PaymentRestrictionPlugin
toThreeBRS\SyliusPaymentRestrictionPlugin
- Change table name from
mangoweb_payment_method_shipping_method
tothreebrs_payment_method_shipping_method
⚠️ BC break: Version 2.0.0 is NOT compatible with previous versions due to namespace change
- Update to Sylius ^1.7
- Update to php ^7.3
- Zone is not required
- Change zone mapping in PaymentMethodRestrictionTrait.
- Compare zones by codes.
- Now works even with overridden shipment entity.
- Restrict payment methods by shipping methods
- Behat tests
- Restrict payment methods by zone