Ascora Booking Forms

Screen Ascora booking form submissions with a captcha

3 min read Ascora booking form

Captcha checks each submission with Google reCAPTCHA v3 or Cloudflare Turnstile before Formpiece takes the booking. A submission that fails the check is refused, so nothing is saved and nothing reaches Ascora. It works on every plan.

Before you start

  • Save your keys as a credential under Integration Credentials. reCAPTCHA needs a site key and a secret key from reCAPTCHA v3. Turnstile needs its own site key and secret key. A credential with only one key of a pair is listed with "(incomplete keys)" after its name.
  • Add the website the form is on to the key's list of allowed domains with the provider. A key tied to other domains is rejected.

Step by step

  1. Open your form from Forms. On the Settings tab, open Captcha under Form display.
  2. Switch on Allow captcha.
  3. Pick your credential from Choose Integration credentials. Each is listed with its provider in brackets, "(reCAPTCHA v3)" or "(Cloudflare Turnstile)".
  4. Click Save. The page says "Captcha settings updated."

The form uses whichever provider the credential belongs to. To change provider, pick a different credential. If a credential holds a complete set of keys for both, reCAPTCHA v3 is used.

Save stays off while Allow captcha is on and no credential is chosen, or while the credential is missing a key. The page says which, for example "These credentials have a site key but no secret key.", and adds "Every booking would be refused, so Save is off."

What the customer sees

reCAPTCHA v3 shows nothing and never asks the customer to do anything.

Turnstile is set to interaction only. There is no widget on the form. The check runs when the customer clicks to book, and a box only appears at the bottom of the screen if Turnstile decides it needs the customer to prove they are a person. Most people never see it. The customer has two minutes to finish a challenge.

The token is made when the customer clicks to book and is good for that one booking. A customer who is sent back to try again gets a new one.

When it goes wrong

The customer sees "We could not check that you are a person. Please try again."

The form could not get a token from the provider. Open the browser's console and look for "captcha err", which holds the provider's own code. A hostname error from Turnstile (code 110200) means the site's domain is not on the key's list of allowed domains.

The customer sees "The spam check could not load."

The full message is "The spam check could not load. An ad blocker or privacy setting may be blocking it. Please allow it for this page and try again." The provider's script was blocked by the browser.

The customer sees "Booking is unavailable right now because the spam check for this form is not set up."

Allow captcha is on but the form has no usable key. Pick a credential again, and save.

The booking was refused with "Captcha verification failed."

Formpiece checked the submission and refused it. A refused submission is not saved, so it does not appear on the form's Bookings tab. The cause is one of these:

  • The credential was deleted, or no longer holds a complete pair of keys.
  • Google or Cloudflare rejected the token. Check the site key and secret key come from the same setup.
  • reCAPTCHA scored the submission below 0.5. The cut-off cannot be changed.
  • The booking arrived without a token.
  • Google or Cloudflare did not answer in time, or the check could not be completed. Formpiece refuses a submission it could not check.

Save is off

The page says why beside the button. Choose the credential, or add the missing key in Integration Credentials.

FAQ

Can several forms use the same credential?

Yes. A credential is chosen on each form, and any number of forms can use the same one.