Make guest giving checkouts email-optional like Ladill Mini.
Deploy Ladill Give / deploy (push) Successful in 48s
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:
@@ -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'],
|
||||
|
||||
Reference in New Issue
Block a user