Get apt_key to use in custom URL

Posted · Add Comment

Scheduler Forums BirchPress Scheduler Get apt_key to use in custom URL

Tagged: , , ,

This topic contains 1 reply, has 1 voice, and was last updated by  j w 6 years, 6 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #31064

    j w
    Participant

    We are sending out texts through a custom use of Twilio to notify users on a different schedule than the emails sent within Birchpress itself.

    I am trying to get the cancel_url with the apt_key – and my key doesn’t match that generated through my email. What code do I need to call within my function?

    global $birchschedule, $birchpress;
    $apt_key = $birchschedule->aportal->encode_appointment1on1_id($appointment1on1_id);

    Doesn’t seem to call the right key?
    Thanks.

    #31099

    j w
    Participant

    If anyone else comes across this and needs this to work as well – we got the same cancel apt_key to generate with –

    $apt_key = base64_encode( $appointment1on1[‘ID’] . ‘-‘. $appointment[‘_birs_appointment_timestamp’] );

Viewing 2 posts - 1 through 2 (of 2 total)

The forum ‘BirchPress Scheduler’ is closed to new topics and replies.

Comments are closed.