SDK v1.17.30 — Better customer name validation for higher-quality payment data

This release improves how we validate customer names during checkout, helping merchants collect cleaner and more reliable customer information while reducing invalid submissions.
What's new
These validations now apply only to new customers during checkout.
Stronger name validation
Customer names must now:
Include at least a first name and last name (minimum two words).
Have at least 2 characters per word.
Contain only valid name characters (letters, accents, apostrophes, hyphens, and spaces).
Prevent duplicated first and last names.
✨ Automatic formatting
Names are automatically capitalized before submission.
Example:
maria lopez → Maria Lopez
Why this matters
Accurate customer information becomes increasingly important after the payment is completed.
These improvements help merchants maintain higher-quality customer records, reducing incomplete or test data while providing more reliable information for:
Identity verification
Compliance processes
After reviewing historical transactions, we also noticed that legitimate credit card customers almost always provide their real last name, so we don't expect any meaningful impact on valid users.
Available in: rebill@1.17.30