Jump to content

realex payment gateway issue in prestashop 1.6.x


Recommended Posts

Hi,

 

When a payment is done, and user returns back from realex payment gateway, it gives error. since the amount payed to realex does not match with the amount stored in system. For some reason, it does not take carrier value, hence there is difference in amount.

 

I tried to debug this issue. below are my findings:

// ---------------- CREATION PANIER
$id_cart = explode('-', $orderid);
$cart = new Cart($id_cart[0]); 

above code in realexredirect.php is causing this. This module is trying to create a new cart object, instead of using existing context, and cart does not get carrier details in the object created for some reason.

 

Pls let me know, if anyone finds solution to this !!

:huh2:

post-1031103-0-99924800-1433881608_thumb.jpg

Edited by devzinga (see edit history)
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...