• Resolved miroslavps

    (@miroslavps)


    Hi to all!

    I am trying to implement WC Subscriptions in a custom payment gateway, but need to find answers of few questions:

    1. 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.
    2. 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.
    3. 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)
  • Thread Starter miroslavps

    (@miroslavps)

    PS – about question 2 – I found how to edit a subscription and set the next payment to executes after an hour. It is still to long for testing, but better than 24 hours ?? Still if someone give me idea how to reduce the time to 10 min will be great! At the moment I do it directly into the DB.

    • This reply was modified 1 year, 12 months ago by miroslavps.
    Roxy

    (@roxannestoltz)

    Hi @miroslavps ,

    Thanks for reaching out!

    I understand that you have a few questions about the WooCommerce Subscriptions extension, is this correct?

    Since this is related to a premium extension, please contact us directly here. You may need to create an account before you can access that page.

    As per the forum guidelines, no support for premium extensions is done here but we will be happy to assist you further from there ??

    Cheers!

    Thread Starter miroslavps

    (@miroslavps)

    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Few questions about WC Subscriptions’ is closed to new replies.