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

[Checkout] Ensured exchange rate gets updated throughout checkout #5900

Merged

Conversation

NoResponseMate
Copy link
Contributor

Q A
Bug fix? no
New feature? yes
BC breaks? yes
Related tickets -
License MIT

@NoResponseMate NoResponseMate force-pushed the checkout/exchange-rate-update branch 2 times, most recently from 4ba747b to 1ed2faa Compare August 29, 2016 07:27
@NoResponseMate NoResponseMate force-pushed the checkout/exchange-rate-update branch 2 times, most recently from fa1317e to 131e3ac Compare August 29, 2016 13:59
sylius_update_exchange_rate:
on: ["select_payment"]
do: ["@sylius.updater.order.exchange_rate_and_currency", "update"]
args: ["object"]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need this?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Until #5847 gets merged unfortunately it is necessary, otherwise after the select_payment transition the cart currency code and exchange rate reset to the default values.

$this->selectPaymentPage,
$this->selectShippingPage,
$this->completePage,
$this->thankYouPage,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should not be the case, hm?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Welp, it's a possibility nonetheless 😄

@michalmarcinkowski michalmarcinkowski merged commit 5a50cac into Sylius:master Aug 31, 2016
@michalmarcinkowski
Copy link
Contributor

Thanks Janek!

@NoResponseMate NoResponseMate deleted the checkout/exchange-rate-update branch September 3, 2016 09:06
pamil pushed a commit to pamil/Sylius that referenced this pull request May 7, 2019
…ate-update

[Checkout] Ensured exchange rate gets updated throughout checkout
pamil pushed a commit to pamil/Sylius that referenced this pull request May 7, 2019
…ate-update

[Checkout] Ensured exchange rate gets updated throughout checkout
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.

None yet

3 participants