No Cancellation link in confirmation email

I have set the confirmation email - the text in it includes:
-------------------------------------
If you need to cancel or change your appointment, please click on the link.

CANCEL
----------------------------------------
But, when the email arrives there is NO CANCEL LINK
I have granted support access to the site.

  • Nastia

    Hello swsupport , I hope you are doing well!

    The cancellation link is removed from Appointments+ version 2.0 due security reasons. My apologies for the placeholders has not being updated yet.

    Our developer Panos has created an mu-plugins that adds cancellation link on a page. A solution is posted in this thread.

    Download attached file and place it in mu-pligins folder. If there is none, please feel free to create it.

    I'm quoting rest of the directions bellow:

    1. Create a new page and add the following shortcode:
    [app_cancel_page]

    This page will be used as the cancellation page where the user will be redirected from the email.

    2. Edit the file you uploaded and in line 45 add the id of the cancellation page you previously created:
    from
    $this->cancel_page = null;

    to eg
    $this->cancel_page = 432;

    where 432 is the id of the cancellation page

    3. Add the following in your wp-config.php file
    define( 'APP_ALLOW_CANCEL', true );

    4. Instead of the CANCEL placeholder use APP_RM_LINK

    If you need any further assistance, please let me know!

    Kind regards,
    Nastia

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.