Suspending subscriptions

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

Posted in

Comments

3 responses to “Suspending subscriptions”

  1. 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 . . .

    1. 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. 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

Share