• Resolved ghadabouraoui

    (@ghadabouraoui)


    Hello,

    During the unsubscription process, we want to enhance this section to persuade the user to stay subscribed. To achieve this, we use the “wps_sfw_subscription_cancel” hook to redirect the user when clicking on the “cancel” button (during unsubscription) to a page containing a descriptive message highlighting the subscription benefits, along with a “Keep My Subscription” button and a “Cancel Subscription” link.

    My question is, how can I make the “Cancel Subscription” link functional and display the red message “You are unsubscribed” (the original message from the Subscriptions for Woocommerce plugin)?

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author WP Swings

    (@wpswings)

    Hello,

    For your work you can use this ‘wps_sfw_subscription_cancel’ do_action from our plugin in which you get the subscription ID and status i.e cancel and you also need to set higher priority in your code so that your code will execute first then our code will work

    Thank you

Viewing 1 replies (of 1 total)
  • The topic ‘unsubscription process’ is closed to new replies.