Few questions about WC Subscriptions
-
Hi to all!
I am trying to implement WC Subscriptions in a custom payment gateway, but need to find answers of few questions:
- On the checkout page, before the order is finished where I can find information if the Order is renewal and who is the parent Order? In the cart I found only subscription_renewal array, but it not keeps in it the parent.
- For testing, what is the recommended way to run next payment of a Subscription manual? I tried to change this in wp_postmeta, but nothing happens until I run the job from Tools->Scheduled Actions. In this case woocommerce_scheduled_subscription_payment_ hook catch the event but the Order I get is empty or not real WC Order object.
- If I run the renewal process from question 2 will the Order object holds in it the parent Order Id, if not how to get it?
Thanks to all!
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Few questions about WC Subscriptions’ is closed to new replies.