Jump to content

Payment Module add extra fee to total ammount


01generator

Recommended Posts

Hello, 

 

I have created a payment module for prestashop and a local bank. 

All works well. 

After customer demand I want to add extra fee.

I added the precentage that the bank charges and an option if the eshop wants to charge it self or the customer.

On payment selection I have added a message that informs the user that he/she will be charged extra according to his/her total order.

The user pays and all works well.

 

Where is the problem? When I go to back office to watch my order, it is marked with Payment Error State and a Warning message in payment div. (See attachment)

 

How can i add that extra fee to the total ammount of the order? 

 

Thank you in advance.

post-911936-0-04179000-1444298359_thumb.png

Link to comment
Share on other sites

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...