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

Revert change of position for attaching info to order #3408

Merged
merged 1 commit into from
Nov 22, 2021

Conversation

daquinons
Copy link
Contributor

Fixes #3405

Changes proposed in this Pull Request

Revert change of position for attaching info to order

When addressing the racing condition at #3118 we tried to mitigate it happening moving the attachment of info to the order higher in the payment processing flow.

That created issues because attach_intent_info_to_order is doing other unrelated operations. This problem will be addressed with a deeper refactor in #3407 .

Testing instructions

  • All the automated tests pass
  • You can make a purchase without any issue

  • Added changelog entries to both readme.txt and changelog.txt (or does not apply)
  • Covered with tests (or have a good reason not to test in description ☝️)
  • Tested on mobile (or does not apply)

Post merge

Copy link
Contributor

@dmallory42 dmallory42 left a comment

Choose a reason for hiding this comment

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

LGTM and works as expected. Thanks for making this change! :shipit:

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.

Add token to the user before running WC_order::payment_complete()
2 participants