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

WC Subscriptions Next Payment date not updating when processing a renewal order (4070) #2959

Open
wants to merge 1 commit into
base: trunk
Choose a base branch
from

Conversation

Dinamiko
Copy link
Contributor

@Dinamiko Dinamiko commented Jan 2, 2025

Steps to Reproduce

  • Go to “Standard Payments” tab and set “Subscriptions Mode” to “PayPal Subscriptions”
  • Create and connect a WC Subscriptions product with an every day renewal (24 hours)
  • Purchase the subscription
  • After ~24 hours notice that Next Payment date is not updating

This PR update subscription status to on-hold before creating the renewal order via wcs_create_renewal_order( $subscription ), by doing so it will handle updating the next payment date when the subscription transitions from on-hold to active.

@InpsydeNiklas InpsydeNiklas added this to the 3.0.0 milestone Jan 3, 2025
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.

3 participants