Skip to content
This repository has been archived by the owner on Apr 22, 2019. It is now read-only.

Checkout error when selected shipping method is not available for validated address #132

Closed
rsisco opened this issue Jun 25, 2018 · 1 comment

Comments

@rsisco
Copy link

rsisco commented Jun 25, 2018

When a customer has provided an address during the shipping method step of checkout that is then changed by the address validation to an address that is not approved for the selected shipping method, a Magento exception is thrown with no clear instructions for the customer to remedy the problem. This can occur when the address validation service returns an address that differs from what the shipping carrier says is valid. For example, in an area where the zip code boundaries have been adjusted and either the AvaTax validation service or the carrier's rate calculation code has not been updated, AvaTax will say the zip code should be XYZ123, but the carrier says no rates are available because it expects a zip code of 123XYZ..

Preconditions

  1. A shipping method is enabled that is unavailable for specific or invalid addresses

Steps to reproduce

  1. Add one or more physical products to the cart and proceed to checkout
  2. Provide an address that is valid for the shipping method, but that AvaTax will provide a suggested replacement for (my example is a private residence, so I will not publish the address here)
  3. Proceed to the payment method step

Expected result

  1. I will see the payment method step with the originally provided and suggested revised shipping addresses

Actual result

  1. I receive a cryptic error message from Magento
    img
@rsisco
Copy link
Author

rsisco commented Jun 25, 2018

This has been resolved in release #1.4.2 via a more verbose and informational error message.

@rsisco rsisco closed this as completed Jun 25, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant