Klaviyo Site Banner | Q2 2025

Product Icon

WooCommerce Subscriptions

Trending
Let customers subscribe to your products or services and pay on a weekly, monthly or annual basis.

Uniform Hook for Subscription complete

I was using => woocommerce_subscription_payment_complete to run some code. According to the docs – https://woocommerce.com/document/subscriptions/develop/action-reference/ I expected it to fire everytime a subscription payment was confirmed / paid.

However what i’ve found is that when early renewals are made – the hook isn’t firing.

Here are the steps to reproduce the error.
1. Manual payment needs to be enabled.
2. After first order is successful go to my account > subscription > view subscription click renew
3. If you’re in a live environment you will get the pay now button instead of being redirected to checkout
4. Both hooks `woocommerce_subscription_renewal_payment_complete` and `woocommerce_subscription_payment_complete` do not run.
https://prnt.sc/r5ums7 – since both of them are here includes/class-wc-subscription.php – line no 1742

Author

Current Status

Open

Last updated: February 26, 2020

0 comments

Log in to comment on this feature request.