When we're on the checkout page, the current store is always the order's store.
Same for the admin order/payment pages.
This will help us override the gateway configuration per store when needed.

We should put this resolver in commerce_order and make sure it runs early (opposite of DefaultStoreResolver).

CommentFileSizeAuthor
#3 set_the_current_store-2904148-3.patch4.62 KBmglaman

Comments

bojanz created an issue. See original summary.

mglaman’s picture

Assigned: Unassigned » mglaman

We have this implemented in a client's site. Will port it.

mglaman’s picture

Assigned: mglaman » Unassigned
Status: Active » Needs review
StatusFileSize
new4.62 KB

  • bojanz committed 3b8b521 on 8.x-2.x authored by mglaman
    Issue #2904148 by mglaman, bojanz: Set the current store from the route...
bojanz’s picture

Status: Needs review » Fixed

Thanks!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.