Make guest giving checkouts email-optional like Ladill Mini.
Deploy Ladill Give / deploy (push) Successful in 48s

Donors without Ladill accounts no longer need to enter email at checkout; phone remains required for contact.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
isaacclad
2026-06-27 14:18:45 +00:00
co-authored by Cursor
parent fff6c9f23a
commit bd16fb307b
4 changed files with 12 additions and 14 deletions
@@ -29,7 +29,7 @@ class DonationController extends Controller
$validated = $request->validate([
'customer_name' => ['required', 'string', 'max:120'],
'customer_email' => ['required', 'email', 'max:200'],
'customer_email' => ['nullable', 'email', 'max:200'],
'customer_phone' => ['required', 'string', 'max:30'],
'items' => ['required', 'array', 'min:1'],
'items.*.name' => ['required', 'string', 'max:200'],