Skip to content

v1.5.3 — Required email/SMS consent at booking + signup

Choose a tag to compare

@tom4cam tom4cam released this 19 May 16:10
· 22 commits to main since this release

What's new

Booking form

  • Phone number is now required.
  • Two new required consent checkboxes — one for confirmation/reminder emails, one for confirmation/reminder text messages — must be ticked to book.
  • The longer passive opt-in notice is replaced by the active checkboxes; the 24-hour cancellation note stays.

Account registration

  • The post-booking quick-register form now collects phone (prefilled from the booking) and the same two consent checkboxes (prefilled checked, since the client just ticked them).
  • The standalone account-page register form now collects phone and requires both consent checkboxes.

Admin

  • Notifications → Consent Language: two new textareas let the owner edit the email and SMS consent wording. Default copy is TCPA-style. {business_name} is interpolated from the configured business name (falls back to the site name).

Data

  • Bookings: three new columns — email_consent, sms_consent, consent_timestamp. Schema version bumps from 4 → 5; dbDelta runs the migration on first page load after upgrade.
  • Registered users: three new meta keys — _caswell_email_consent, _caswell_sms_consent, _caswell_consent_timestamp. Phone now also saved as caswell_phone user meta.
  • Reschedule links: client isn't re-prompted. The new booking row inherits consent flags and timestamp from the original.