Hello all,
I'm integrating the official free ups module in my prestashop and it seems there is a bug with shipping price displayed in the cart
The ups plugin is the prestahop one found on this page : https://www.ups.com/fr/fr/services/technology-integration/ecommerce-plugins.page
The prestashop version is 1.7.6.5.
Scenario:
I've enabled 3 delivery options in order to test a bit the plugin:
- Access Point, price 0
- Standard Address delivery, price 3
- Express Standard delivery, price 0
The plugin it works at beginning but if I start changing the delivery options, it starts to display wrong shipping price in the cart, like the example below.
As you can see I selected the express delivery option with price zero and in the cart it displays the price of the standard one: 3€.
When I change options I see three POST requests are made, first and third one seem to be good. The third one carries the right price info, the issue is the second one that gives in response the old price. So when the second one completes after the third one there is the issue.
Frist call: (POST) index.php?controller=eshoper&fc=module&module=upsmodule&ajax=1&action=ChangeShippingService
Second call (wrong one): (POST) commande?ajax=1&action=selectDeliveryOption
Third call: (POST) commande?ajax=1&action=selectDeliveryOption
I have the feeling that second call should not be done.
Have you ever faced this issue?
Regards,
Pasquale