Skip to content

Conversation

@JustShah
Copy link
Member

@JustShah JustShah commented Mar 3, 2025

No description provided.

The easypost_shipments were being created again upon retrieving shipping_rates.
Hence modified estimator to check if an EasyPost shipment has already been created for the shipment.
If it exists, it fetches the stored shipping rates instead of creating a new EasyPost shipment.

Upon updating default shipping rate, all the other shipping rates of a shipment were being discarded.
The change ensure that the newly selected shipping rate is set while also keeping the rest.
Once the shipping rate is updated, the cost of shipment needs to be updated.
Thereby reloading shipment to reflect any updates to the selected shipping rate also ensuring that the shipment cost is recalculated based on the latest
selected shipping rate.
@JustShah JustShah force-pushed the fix-buying-easypost-shipping-rate branch from 2330db4 to 41f5bdf Compare March 3, 2025 16:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants