AUTH_AMOUNT, 'currency' => 'usd', 'capture' => false, 'source' => $card_token, 'description' => 'NovaEd Charter - '.$reg['class'].' - '.$reg['child_name'] ]); $ch = curl_init(CLOVER_API_BASE.'/v1/charges'); curl_setopt_array($ch, [ CURLOPT_RETURNTRANSFER => true, CURLOPT_POST => true, CURLOPT_POSTFIELDS => $payload, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer '.CLOVER_PRIVATE_TOKEN, 'Content-Type: application/json', 'Accept: application/json' ] ]); $response = curl_exec($ch); $http_code = curl_getinfo($ch, CURLINFO_HTTP_CODE); curl_close($ch); $result = json_decode($response, true); if ($http_code === 200 && isset($result['id'])) { $charge_id = $result['id']; $pb = "Hi ".$reg['parent_name'].",\n\n"; $pb .= "Your spot for ".$reg['child_name']." in ".$reg['class']." is reserved!\n\n"; $pb .= "Your card has been authorized for \$379 but NOT charged.\n\n"; $pb .= "Next step: Contact ".$reg['charter_school']." and request a Purchase Order (PO) made out to:\n"; $pb .= "NovaEd-AeroLab LLC | EIN: 39-2448853\n\n"; $pb .= "Once we receive the PO, the card hold is released - class is fully paid.\n"; $pb .= "If no PO is received within 30 days, the \$379 will be captured.\n\n"; $pb .= "Questions? Call/text Zayn at (657) 432-9042\n\nNovaEd AeroLab | novaed-aerolab.com"; mail($reg['parent_email'], 'Your NovaEd AeroLab Spot is Reserved!', $pb, 'From: NovaEd AeroLab '); $ab = "NEW CHARTER SCHOOL REGISTRATION\n\n"; $ab .= "Parent: ".$reg['parent_name']."\nEmail: ".$reg['parent_email']."\nPhone: ".$reg['parent_phone']."\nAddress: ".$reg['parent_address']."\n\n"; $ab .= "Child: ".$reg['child_name']."\nGrade: ".$reg['child_grade']."\n\n"; $ab .= "Charter School: ".$reg['charter_school']."\nClass: ".$reg['class']."\n\n"; $ab .= "CLOVER CHARGE ID (save this): ".$charge_id."\n"; $ab .= "Amount: \$379.00 AUTHORIZED - NOT CHARGED\n"; $ab .= "To capture: go to Clover dashboard and capture charge ID above\n"; $ab .= "To void: go to Clover dashboard and void charge ID above"; mail(NOVAED_EMAIL, 'New Charter Registration: '.$reg['child_name'], $ab, 'From: NovaEd AeroLab '); $step = 3; $_SESSION['charge_id'] = $charge_id; session_write_close(); } else { $error = isset($result['message']) ? $result['message'] : 'Card authorization failed. Please check your card and try again.'; $step = 2; } } if ($step === 1 && isset($_POST['parent_name'])) { $fields = ['parent_name','parent_email','parent_phone','parent_address','child_name','child_grade','charter_school','class_selected']; $ok = true; foreach ($fields as $f) { if (empty($_POST[$f])) { $ok = false; break; } } if (!$ok) { $error = 'Please fill in all required fields.'; } else { $_SESSION['novaed_reg'] = [ 'parent_name' => htmlspecialchars($_POST['parent_name']), 'parent_email' => filter_var($_POST['parent_email'], FILTER_SANITIZE_EMAIL), 'parent_phone' => htmlspecialchars($_POST['parent_phone']), 'parent_address' => htmlspecialchars($_POST['parent_address']), 'child_name' => htmlspecialchars($_POST['child_name']), 'child_grade' => htmlspecialchars($_POST['child_grade']), 'charter_school' => htmlspecialchars($_POST['charter_school']), 'class' => htmlspecialchars($_POST['class_selected']), ]; $step = 2; } } $reg = $_SESSION['novaed_reg'] ?? []; $charge_id = $_SESSION['charge_id'] ?? ''; ?> Charter School Registration | NovaEd AeroLab
๐Ÿš€

You're Registered!

A confirmation email has been sent to you with everything you need.

Your spot is reserved. Please contact your charter school and request a Purchase Order (PO) made out to:

NovaEd-AeroLab LLC  ยท  EIN: 39-2448853

Once we receive the PO, your card hold is released and the class is fully paid. If no PO arrives within 30 days, the $379 will be captured.

Questions? Call or text Zayn at (657) 432-9042

1
2
3

Reserve Your Spot

Fill in your details below. Your spot is confirmed once your card is authorized in the next step.

Parent / Guardian
Student
Enrollment

Secure Your Spot

Enter your card below. Your card will be authorized for $379 but not charged until a PO is received.

How this works:
1. Your card is placed on a temporary hold โ€” not charged.
2. Contact your charter school and request a PO made out to NovaEd-AeroLab LLC.
3. PO received → hold released, class is fully paid.
4. No PO within 30 days → $379 is captured from your card.
Card Details
NovaEd AeroLab  ·  novaed-aerolab.com  ·  (657) 432-9042