Jump to content

Ups Shipping Official Module Wrong Price in the Cart


Recommended Posts

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:

  1. Access Point, price 0
  2. Standard Address delivery, price 3
  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
 

 

 image.png.2633cb356f1d83ff259983f9ebe2254e.png

 

Second call (wrong one): (POST) commande?ajax=1&action=selectDeliveryOption

 

image.png.d58a3d076038957998de8b06832e1768.png

 

Third call: (POST) commande?ajax=1&action=selectDeliveryOption

 

image.png.5e0efacdaec862df881aedf32da5c434.png
 

I have the feeling that second call should not be done.
Have you ever faced this issue? 


image.thumb.png.28c2cbdcd36f2d54dec98e328ccd9c6a.png

Thank you to anyone can help.

 

Regards,

Pasquale

Edited by pakit10 (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...