Skip to content

Solidus 2.11.17 does not support GBP currency #4520

@keferboeck

Description

@keferboeck

Solidus Version:
2.11.17

To Reproduce

/initializers/spree.rb
config.currency = "GBP"
(instead of USD)

In the Database, run the following queries to (against the sample store) to switch from USD to GBP

update spree_orders
set currency = "GBP"
where currency = "USD";


update spree_prices
set currency = "GBP" 
where currency = "USD";


update spree_variants
set cost_currency = "GBP" 
where cost_currency = "USD";

Current behavior

When currency is set to GBP, the checkout process does throw an error past the "address" step. The error message is:
"We are unable to calculate shipping rates for the selected items."

Expected behavior

Once the address fields are correctly field in, clicking "save & continue" should take you to the next step "Delivery".

Screenshots

Desktop (please complete the following information):

  • MacOS Big Sur (Version: 11.2.2)
  • Browser: Chrome Version 104.0.5112.101 (Official Build) (arm64)

Additional context

I tested the behaviour against the sample store, as well as products we added. That shop was build from scratch without any sample data. The error appears on both setups. I backed up the databases if that is of any help, but I am sure you can easily reproduce it yourself.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions