• selfbuild123

    (@selfbuild123)


    When a customer buys a subscription, I would like it to be recurring automatically every 3 months but after conducting a test it defaulted to Manual Renewal which is not even enabled via settings/subscriptions.

    We are using Stripe as our payment gateway.

    Our site is currently live and there is no other site but this one.

    Also, on the Status report, Subscriptions Mode has a red ‘X’ for staging. I followed the instructions on how to remove it via support page and was prompted to choose either ‘Quit nagging me (but don’t enable automatic payments)’ or ‘Enable automatic payments’. I clicked on ‘Enable automatic payments’ and nothing happens. It refreshes to the same prompt again time and time again.

    Please help.

    Thanks
    Mylo

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hey Mylo
    I’ve got the same problem. Did you maybe find a solution?

    Thanks,
    Bryan

    Thread Starter selfbuild123

    (@selfbuild123)

    Hi Bryan….I received this from Woo Commerce support and it seemed to have fixed the issue….

    Subscriptions has indeed switched into the staging mode. As soon as Subscriptions detects the site URL has changed. This is to let the users create a test copy of the site for troubleshooting purposes without the risk of charging customers twice. Here is an article that explains the whole process:

    https://docs.woocommerce.com/document/subscriptions-handles-staging-sites/

    Now if you’re using the same address already for a while and the subscriptions are still playing tricks, it’s possible that the site URL has been defined dynamically. We’ve seen cases where the following declaration added in wp-config.php file resulted in problems like yours:

    define(‘WP_HOME’, ‘https://’. $_SERVER[‘SERVER_NAME’]);
    define(‘WP_SITEURL’, ‘https://’. $_SERVER[‘SERVER_NAME’]);
    If your config file contains a section like this, I would strongly suggest to replace the dynamic address with a static one. Here is an example:

    define(‘WP_HOME’, ‘httsp://www.selfbuild.ie/’);
    define(‘WP_SITEURL’, ‘https://www.selfbuild.ie/’);
    Once you do that, you can update the value of wc_subscriptions_siteurl on a secret options page. You can access it directly with this link:

    When you’re there, please update the site address to the same one as in wp-config (in my example, http://www.selfbuild.ie, scroll to the very bottom and save). This should prevent dynamic address changes and keep the subscription in live mode from that point.

    It’s also possible that WordFence is doing the same thing. You can test this by disabling WordFence and seeing if that helps.

    I hope this helps. Please let us know if there is anything else we can help with!

    Thank you,

    • This reply was modified 8 years, 12 months ago by selfbuild123.
    Thread Starter selfbuild123

    (@selfbuild123)

    Received this from Woo Commerce support and it worked….basically there were 2 sites. One live, One testing/staging. See below…

    Subscriptions has indeed switched into the staging mode. As soon as Subscriptions detects the site URL has changed. This is to let the users create a test copy of the site for troubleshooting purposes without the risk of charging customers twice. Here is an article that explains the whole process:

    https://docs.woocommerce.com/document/subscriptions-handles-staging-sites/

    Now if you’re using the same address already for a while and the subscriptions are still playing tricks, it’s possible that the site URL has been defined dynamically. We’ve seen cases where the following declaration added in wp-config.php file resulted in problems like yours:

    define(‘WP_HOME’, ‘https://’. $_SERVER[‘SERVER_NAME’]);
    define(‘WP_SITEURL’, ‘https://’. $_SERVER[‘SERVER_NAME’]);
    If your config file contains a section like this, I would strongly suggest to replace the dynamic address with a static one. Here is an example:

    define(‘WP_HOME’, ‘httsp://www.selfbuild.ie/’);
    define(‘WP_SITEURL’, ‘https://www.selfbuild.ie/’);
    Once you do that, you can update the value of wc_subscriptions_siteurl on a secret options page. You can access it directly with this link:

    http://www.yoursite.com/wp-admin/options.php

    When you’re there, please update the site address to the same one as in wp-config (in my example, http://www.yoursite.com, scroll to the very bottom and save). This should prevent dynamic address changes and keep the subscription in live mode from that point.

    I hope this helps.

    • This reply was modified 8 years, 12 months ago by selfbuild123.
    Thread Starter selfbuild123

    (@selfbuild123)

    Received this from Woo Commerce support and it worked….basically there were 2 sites. One live, One testing/staging. See below…

    Subscriptions has indeed switched into the staging mode. As soon as Subscriptions detects the site URL has changed. This is to let the users create a test copy of the site for troubleshooting purposes without the risk of charging customers twice. Here is an article that explains the whole process:

    https://docs.woocommerce.com/document/subscriptions-handles-staging-sites/

    Now if you’re using the same address already for a while and the subscriptions are still playing tricks, it’s possible that the site URL has been defined dynamically. We’ve seen cases where the following declaration added in wp-config.php file resulted in problems like yours:

    define(‘WP_HOME’, ‘https://’. $_SERVER[‘SERVER_NAME’]);
    define(‘WP_SITEURL’, ‘https://’. $_SERVER[‘SERVER_NAME’]);
    If your config file contains a section like this, I would strongly suggest to replace the dynamic address with a static one. Here is an example:

    define(‘WP_HOME’, ‘httsp://www.selfbuild.ie/’);
    define(‘WP_SITEURL’, ‘https://www.selfbuild.ie/’);
    Once you do that, you can update the value of wc_subscriptions_siteurl on a secret options page. You can access it directly with this link:

    http://www.yoursite.com/wp-admin/options.php

    When you’re there, please update the site address to the same one as in wp-config (in my example, http://www.yoursite.com, scroll to the very bottom and save). This should prevent dynamic address changes and keep the subscription in live mode from that point.

    Thanks – didn’t work for me.

    My tech team will work on it tomorrow – with the help of the payment gateway integrators.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Subscription – Automatic Payment’ is closed to new replies.