Jump to content

Use payment module, depending on cart total


Recommended Posts

Is it possible to set up two payment modules, such as PayPal and another and then only use PayPal for orders over £200?

 

The reason is that I have a maximum transaction amount on a merchant account but a cheaper transaction fee so for all payments under £200, I would like to use the payment module from my other payment processor.

 

However, I would still like to let customers use PayPal if they wish but MUST use Paypal if the cart total is > £200

 

Many thanks,

 

Martin

Link to comment
Share on other sites

there is no way to configure this in Prestashop, you have to manually alter the module code.

 

The payment module has a function called hookpayment. This function is used to display the payment on the payment selection screen. you would just add some php code to this hookpayment function, so if the order total > 200, then return false, and it will not show up.

  • Like 2
Link to comment
Share on other sites

  • 2 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...