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

Improve Pre-order support. #46

Merged
merged 4 commits into from
Oct 16, 2024

Conversation

peterwilsoncc
Copy link
Contributor

This is a follow-up to #39 in which I missed some steps adding pre-order support.

In this pull request:

  • for initial orders of a pre-order product charged upon release, mark the pre-order as being tokenized
  • set the order status to pre-ordered
  • processes the payment of a pre-ordered product charged upon release when the pre-order is completed according to the dummy gateway settings

@peterwilsoncc peterwilsoncc marked this pull request as ready for review October 8, 2024 03:48
Copy link
Contributor

@jimjasson jimjasson left a comment

Choose a reason for hiding this comment

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

I tested with a couple of different pre-orders combinations (up-front charge vs charge upon release and successful vs failed payment) and everything worked as expected. Thanks @peterwilsoncc for working on this!

@jimjasson jimjasson merged commit dee5f30 into woocommerce:master Oct 16, 2024
@peterwilsoncc peterwilsoncc deleted the fix/pre-order-support branch October 16, 2024 20:58
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.

2 participants