Thanks for reaching out to us. Apologies, but for some reason i couldn't find any open tickets on the emails provided below. Can you please provide more details regarding your request so we can continue here?
I suppose this should be a webhook / API hook request?
Hi, thanks i found the other account so its ok. The code was on the site to bypass the confirmation page after the booking - to go directly to the Custom Thank you page.This worked with the old booking formular but not with the new Step booking formular. So is there a new Hook that does the same? I want to confirm booking and jump directly to the Thank You page without having the congratulations site where i can save the date into my calendar. Kind regards, Daniel
That is the full code. I have a page builder - Breakdance Builder then i hav a shortcode element with the service shortcode [ameliabooking service=8] and a code block element with the code i provided in my first message or see screenshot That is working great, but if i change the shortcote to [amelistepabooking service=8] it doesn't work i think the new step booking has another Hook that this is working maybe beforeconfirmedstepbooking..... Kind regards, Daniel
<script> window.ameliaActions = { beforeBooking: function (success = null, error = null, data) { //triggered when the "Confirm" button is clicked but before the booking is completed. //This hook currently doesn't work for Mollie and WooCommerce payments console.log('Before booking is created HOOK') console.log(data) console.log('------------') window.location.href = "https://go.helmutberger.life/am-telefon-termine-dankesseite/"; }, }
Sorry, that worked but the appointment was not saved. I think it is going to fast to the thank you page. Maybe a delay could fix this that it is time to save the appointment in the backend
Hi,
first i can't access to my old tickets - [email protected] / [email protected]
Second we got a code from you:
window.beforeConfirmedBooking = function()
{
window.location.href = "https://go.helmutberger.life/am-telefon-termine-dankesseite/";
};
but this doesn't work for ameliastepbooking.Do we need a sperate code for this?
Kind regards, Daniel
Hello Daniel,
Thanks for reaching out to us. Apologies, but for some reason i couldn't find any open tickets on the emails provided below. Can you please provide more details regarding your request so we can continue here?
I suppose this should be a webhook / API hook request?
Kind Regards,
Stefan Petrov
[email protected]
Rate my support
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables
Hi,
thanks i found the other account so its ok.
The code was on the site to bypass the confirmation page after the booking - to go directly to the Custom Thank you page.This worked with the old booking formular but not with the new Step booking formular.
So is there a new Hook that does the same? I want to confirm booking and jump directly to the Thank You page without having the congratulations site where i can save the date into my calendar. Kind regards, Daniel
That is the full code.
I have a page builder - Breakdance Builder
then i hav a shortcode element with the service shortcode [ameliabooking service=8]
and a code block element with the code i provided in my first message or see screenshot
That is working great, but if i change the shortcote to [amelistepabooking service=8] it doesn't work
i think the new step booking has another Hook that this is working maybe beforeconfirmedstepbooking.....
Kind regards, Daniel
Attached files: codeblock-amelia.jpg
Hello Daniel,
Here is the script that you can try
Please, let me know if it works.
Kind Regards,
Stefan Petrov
[email protected]
Rate my support
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables
Perfect, that worked ;)Thx, great support
Sorry, that worked but the appointment was not saved.
I think it is going to fast to the thank you page. Maybe a delay could fix this that it is time to save the appointment in the backend