Magento2 – Set Maximum/Minimum Order Total for PayPal and Braintree

gene-braintreemagento2.3payment-methodspaypal-expresssales-order

I want to add a minimum and maximum order total configuration for PayPal express checkout and Braintree credit card payment method. Just like bank transfer/ cash on delivery payment methods.

I tried with adding field in system.xml using custom module. but the min/max total is not validating in frontend.

Thanks in Advance!

enter image description here

Best Answer

Define configuration from any of your module's system.xml and you can use payment_method_is_active observer.

Related Topic