External Booking Validator custom feature: Difference between revisions
Marked this version for translation |
Marked this version for translation |
||
| (7 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<languages/> | <languages/> | ||
{{#seo: | |||
|title=External Booking Validator custom feature - SimplyBook.me | |||
<translate> | <translate> | ||
<!--T:5--> | |||
|description=Validate bookings with custom script. Check intake form conditions before booking. Requires development skills. Enables external validation logic. | |||
</translate> | </translate> | ||
|titlemode=append | |titlemode=append | ||
|keywords=faq, frequently asked questions, booking software, appointment system questions, appointments online, calendar software, booking system, booking calendar, scheduling software, online appointment scheduling, online scheduling, plugins, custom features, additional functionality, validation, validation script, customization, appointment validation, booking validation | |keywords=faq, frequently asked questions, booking software, appointment system questions, appointments online, calendar software, booking system, booking calendar, scheduling software, online appointment scheduling, online scheduling, plugins, custom features, additional functionality, validation, validation script, customization, appointment validation, booking validation | ||
| Line 20: | Line 22: | ||
*<span style="background-color:#ffe9e9; padding:5px; border-radius:5px;"><span style="background-color:#cdeffc; padding:5px; border-radius:5px;">[[Special:MyLanguage/Intake_Forms_custom_feature|Intake Forms]]</span> custom feature will be enabled together with this one.</span> | *<span style="background-color:#ffe9e9; padding:5px; border-radius:5px;"><span style="background-color:#cdeffc; padding:5px; border-radius:5px;">[[Special:MyLanguage/Intake_Forms_custom_feature|Intake Forms]]</span> custom feature will be enabled together with this one.</span> | ||
<!--T:6--> | |||
<br><br> | |||
;How it works<br> | |||
When a client submits a booking, SimplyBook.me sends the booking details to your external URL as a JSON POST request. Your script inspects the data and returns a JSON response. If validation passes, the booking is saved. If it fails, the client sees an error message without the booking being confirmed. | |||
<br><br> | |||
<!--T:3--> | <!--T:3--> | ||
| Line 26: | Line 33: | ||
<!--T:4--> | <!--T:4--> | ||
:1. Enable <span style="background-color:#d4f8e5; padding:5px; border-radius:5px;">External Booking Validator</span> custom feature on your <span style="background-color:#d4f8e5; padding:5px; border-radius:5px;">Custom Features</span> page, <span style="background-color:#d4f8e5; padding:5px; border-radius:5px;">Other</span> section. | :1. Enable <span style="background-color:#d4f8e5; padding:5px; border-radius:5px;">External Booking Validator</span> custom feature on your <span style="background-color:#d4f8e5; padding:5px; border-radius:5px;">Custom Features</span> page, <span style="background-color:#d4f8e5; padding:5px; border-radius:5px;">Other</span> section. | ||
[[File:External booking validator enable path.png|border|center]] | [[File:External booking validator enable path redesigned.png|1200px|border|center|link=https://help.simplybook.me/images/a/ac/External_booking_validator_enable_path_redesigned.png]] | ||
<br><br> | <br><br> | ||
:2. Create your own validation script with your own desired conditions.<br> | :2. Create your own validation script with your own desired conditions.<br> | ||
| Line 32: | Line 39: | ||
<br><br> | <br><br> | ||
:3. Insert your script to this feature <span style="background-color:#d4f8e5; padding:5px; border-radius:5px;">settings</span> on the <span style="background-color:#d4f8e5; padding:5px; border-radius:5px;">Custom Features</span> page and save. | :3. Insert your script to this feature <span style="background-color:#d4f8e5; padding:5px; border-radius:5px;">settings</span> on the <span style="background-color:#d4f8e5; padding:5px; border-radius:5px;">Custom Features</span> page and save. | ||
[[File:External booking validator settings path.png|border|center]] | [[File:External booking validator settings path redesigned.png|1200px|border|center|link=https://help.simplybook.me/images/3/34/External_booking_validator_settings_path_redesigned.png]] | ||
<br><br> | <br><br> | ||
:Script example is available <span style="background-color:#cdeffc; padding:5px; border-radius:5px;">[https://github.com/vetalsimplybook/simplybook-external-validator here].</span> | :Script example is available <span style="background-color:#cdeffc; padding:5px; border-radius:5px;">[https://github.com/vetalsimplybook/simplybook-external-validator here].</span> | ||
<br><br><br><br> | <br><br><br><br> | ||
</translate> | </translate> | ||