Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[INTER-3426] - Load Quote and Collect Totals Before Returning Set Shipping Method Response #246

Merged
merged 1 commit into from
May 6, 2024

Conversation

TimeBones
Copy link
Collaborator

@TimeBones TimeBones commented May 1, 2024

Load and validate the quote after setting the shipping line and collect totals so we return a complete and up to date quote to the platform connector. This will prevent having the platform connector to make an extra request to get the quote again right after setting shipping lines. Set Quote Shipping Method now returns an identical response after setting the method to what the get quote endpoint does.

Without this the response from setQuoteShippingMethod had a few issues:

  1. Shipping Methods only had the selected method instead of all available methods
  2. Item taxes were not present in the quote
  3. Totals still had the previously selected shipping method amount

This change is to be done with Platform Connector PR

@TimeBones TimeBones merged commit f400d5e into main May 6, 2024
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.

3 participants