Subscription Action for API Call
-
Hey all,
Just wondering what the most appropriate action to use when trying to post to an external API when a subscription is renewed.
Should we use: wcs_renewal_order_created or woocommerce_subscription_renewal_payment_complete?
From the docs (and based on the end user requirement), we should probably be using woocommerce_subscription_renewal_payment_complete as we only want to call the API function once the renewal subscription is paid for.
Your help is greatly appreciated!
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Subscription Action for API Call’ is closed to new replies.