oxipay / oxipay-magento-2.x

GNU General Public License v3.0
7 stars 6 forks source link

Allow merchants to define the minimum and maximum order total to enable/disable Oxipay plugin #49

Closed esteban-terem closed 6 years ago

esteban-terem commented 7 years ago

As a merchant, I want to be able to automatically enable/disable the Oxipay plugin for a customer, according to the order total.

AC: For the merchant:

The plugin should offer two new configuration fields in the admin screen: Minimum Order Total and Maximum Order Total. For the customer:

At checkout time, if the order total is less than Minimum Order Total the Oxipay plugin should not appear in the list of available payment options. At checkout time, if the order total is greater than Maximum Order Total the Oxipay plugin should not appear in the list of available payment options.

See https://github.com/oxipay/oxipay-magento-1.x/issues/85 for the related Magento 1 issue.