tarek.fellah Posted June 10, 2015 Share Posted June 10, 2015 (edited) Hello Guys, I would like to add extra fees dependant on payment method used by the client: Cashondelivery : total cart +1; card payment : -3% I find that i should override cart::getTotalOrder() to add the extra fee/discount, but i have problem to find which payment method used by the client in this function, I find that payment method is passed to PaymentModule::validateOrder, but i didn't find any way to pass it to getTotalOrder function. Any help please. Edited June 10, 2015 by tarek.fellah (see edit history) Link to comment Share on other sites More sharing options...
tarek.fellah Posted June 10, 2015 Author Share Posted June 10, 2015 Any help? Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now