Skip to content

Added a Require Billing Address setting field - #3230

Draft
sanjana4khan wants to merge 16 commits into
4.3.0from
optional-billing-field
Draft

sanjana4khan wants to merge 16 commits into
4.3.0from
optional-billing-field

Conversation

@sanjana4khan

@sanjana4khan sanjana4khan commented Nov 23, 2026 •

Copy link
Copy Markdown
Collaborator

ClickUp ticket link

Description

  • Added the Require Billing Address setting, enabled by default so existing sites behave as before.
  • When off, Address and Postcode/ZIP become optional on the checkout form, on the dashboard billing form, Pro's subscription payment modal and in server-side validation.
  • Can be overridden in code with the new tutor_is_billing_address_required filter.
  • Phone is now optional everywhere, regardless of the toggle.

Billing field format validation

Rules:

  • Name: Allows letters, spaces, apostrophes ('), dots (.), and hyphens (-).
  • City: Allows letters, digits, spaces, apostrophes ('), dots (.), and hyphens (-).
  • Phone: Allows digits, spaces, parentheses (), hyphens (-), and an optional leading plus sign (+).
  • Address: Allows letters, digits, spaces, and standard punctuation (,, ., #, &, /, ', (, ), -).
  • Postcode: Allows letters, digits, spaces, and hyphens (-).

PayPal

  • Removed the shipping address block as it is not needed.
  • Removed the description field, which carried the buyer's email and the site URL cause user can see it on Paypal's checkout page.

Testing

  • Tested
  • Not tested

Use of AI Tool

Used:
Used for:

@sanjana4khan sanjana4khan added the 4.3.0 Tutor v4.3.0 label Nov 23, 2026
@sanjana4khan
sanjana4khan marked this pull request as draft November 27, 2026 05:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

4.3.0 Tutor v4.3.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant