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

Renewal orders have same order id as parent order #820

Open
user8302 opened this issue Mar 21, 2025 · 1 comment
Open

Renewal orders have same order id as parent order #820

user8302 opened this issue Mar 21, 2025 · 1 comment
Labels
needs feedback The issue/PR needs a response from any of the parties involved in the issue. type: bug-needs-confirmation This issue is for a bug that needs to be verified. woocommerce-subscriptions-core

Comments

@user8302
Copy link

Describe the bug

We are seeing renewal orders being generated with the same Order ID as the original Parent Order

Expected behavior

Renewal orders should have a new order id.

Actual behavior

Renewal orders have the order id of parent order

Product impact

  • [ Yes ] Does this issue affect WooCommerce Subscriptions?

Additional context

@user8302 user8302 added the type: bug The issue is a confirmed bug. label Mar 21, 2025
@barryhughes
Copy link
Member

Thanks for the report, @user8302.

I haven't seen this problem before now (generally, the ID of a new order or subscription is obtained by inserting into a table that uses an AUTO_INCREMENT field, so we'd expect each newly created instance to have its own unique ID). Are there any particular steps we would need to follow in order to be able to replicate this problem?

Is there anything more you can share? What plugins and plugin versions are you using, and does this happen when you test with the latest versions of WooCommerce and WooCommerce Subscriptions, with all other plugins disabled?

Any screenshots (or database records) you can share that illustrate the problem would be helpful as we try to assess this.

@barryhughes barryhughes added needs feedback The issue/PR needs a response from any of the parties involved in the issue. type: bug-needs-confirmation This issue is for a bug that needs to be verified. and removed type: bug The issue is a confirmed bug. labels Mar 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs feedback The issue/PR needs a response from any of the parties involved in the issue. type: bug-needs-confirmation This issue is for a bug that needs to be verified. woocommerce-subscriptions-core
Projects
None yet
Development

No branches or pull requests

3 participants