• Resolved momo92

    (@momo92)


    Good morning

    Is there a short code that allows you to confirm the cancellation of the subscription automatically?

    example: The user will access a url once there I would like his subscription to be canceled automatically and that he can no longer access the corresponding resources (virtual product/downloadable woocomerce).

    I saw that there is a confirm abandon subscription function via [pms-account] but this function does not suit me since you have to click on a button.

    Thanks for your help

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support madalinaruzsa

    (@madalinaruzsa)

    Hi @momo92,

    First I want to mention the difference between Cancel and Abandon.

    Users have two options when it comes to ending their current subscription:
    When the user clicks Cancel, no further payments will be made for that subscription and it will expire at its due date. The user continues to have access to what the subscription offers until the expiration date.
    When the user clicks Abandon, the subscription is deleted and the user will stop having access to what the subscription offers immediately.

    To generate a URL for the “Cancel/Abandon Action,” you can use the [pms-action] shortcode. For more details, refer to the documentation here.

    Thread Starter momo92

    (@momo92)

    Hello,

    THANKS

    if I understood the documentation for abandonment correctly this shortcode should work [pms-action action=”abandon_subscription” subscription_id=”ID_SUBSCRIPTION” confirmation=”true”]?

    How to call the subscription ID? possible via a personalized short code?

    THANKS

    Plugin Support alexandrubodea

    (@alexandrubodea)

    Hi @momo92,

    No, the shortcode you’ve mentioned is not correct. Please check the following example of how [pms-action] can be used.

    [pms-action]

    To abandon your subscription, {{abandon}}click here{{/abandon}}.

    [/pms-action]

    You can read more about this shortcode here: https://www.cozmoslabs.com/docs/paid-member-subscriptions/shortcodes/#Generate_Action_Link.

    Best regards,

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.