Suspending subscriptions

Posted in

If I edit the wp_groups_subscription table in the WP database and change the ‘status’ field to ‘suspended’, will that stop the system charging subscriptions via PayPal?

If at a later date I change the status back to ‘active’ will that re-enable the subscription?

And if it does, when will the system charge the subscription?

Thanks, Richard

3 Responses to Suspending subscriptions

  1. Richard January 7, 2021 at 6:27 pm #

    Thanks for clarifying. If we decide to suspend all subscriptions for a while, and then start again in a few months, will that work OK? Will the user just see ONE entry in their personal PayPal list of approved payees or will a duplicate appear (which would cause confusion). Finally, and as a related issue, are you planning to add the option of using Stripe as a choice for users as well as PayPal? I see that you use Stripe yourselves to collect your own payments . . .

    • Kento January 9, 2021 at 6:29 pm #

      Hi Richard,

      If we decide to suspend all subscriptions for a while, and then start again in a few months, will that work OK?

      No and I would very much advise against trying to achieve that using the Groups PayPal extension, as it is not designed to handle things beyond the usual PayPal subscription features. For complex subscriptions scenarios, I would rather recommend to use WooCommerce Subscriptions and Groups WooCommerce.

      Cheers

  2. George January 7, 2021 at 4:39 pm #

    Hi Richard,

    Welcome to our support forum and thank you for using our tools.

    Yes you can suspend them that way but in order to avoid modifying the database directly, you should better use the API Class

    Groups_Subscription::update(
    array(
    'subscription_id' => the_subscription_id_goes_here,
    'status' => Groups_Subscription::STATUS_SUSPENDED
    )
    );

    Once a subscription is suspended, it can no longer be activated again, but only remains cancelled.

    Kind regards,
    George

We use cookies to optimize your experience on our site and assume you're OK with that if you stay.
OK, hide this message.

Affiliates · Contact · Jobs · Terms & Conditions · Privacy Policy · Documentation · Downloads · Useful Plugins · My Account

Share