Issues with tax rate and shipping cost

Created on 14 March 2024, 10 months ago

Problem/Motivation

I created an in-store pickup method by extending PickupShippingMethodBase like in the demo, and while testing it looks like there are a couple of issues with the checkout pane.

1. When entering the checkout form, if another non-pickup shipping method is selected by default its rate isn't calculated. The user would need to pick a different method and then re-select the original method for its rate to be added to the order summary.

2. Selecting a different address doesn't recalculate tax rates. We're only charging sales tax for one US state, and picking an address with a different state doesn't clear the tax.

I thought it might be due to PickupCapableShippingInformation force-setting auto_recalculate to false, but when change the code to force it back to true it doesn't change the behavior.

It looks like maybe more of the logic from commerce_shipping's buildPaneForm may need to be pulled into this module?

πŸ› Bug report
Status

Active

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States karlshea Minneapolis πŸ‡ΊπŸ‡Έ

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024