'Monthly Lunch Plan — October', 'description' => '20 school days · hot lunch + drink', 'price' => '1.00', 'currency' => 'USD', 'image' => '🍱', ]; // ── End of real-app variables ───────────────────────────────────────────────── // Build the $ppCheckout array the widget expects $ppCheckout = [ 'school_name' => $schoolLabel, 'amount' => $product['price'], 'currency' => $product['currency'], 'items' => [[ 'name' => $product['name'], 'quantity' => '1', 'unit_amount' => ['currency_code' => $product['currency'], 'value' => $product['price']], ]], 'buyer_email' => $buyerEmail, 'page_type' => 'product-details', // tells PayPal which page the buyer is on 'order_api_url' => './order-api.php', 'success_url' => './demo-success.php?school=' . urlencode($schoolLabel), 'cancel_url' => '', ]; ?> <?= htmlspecialchars($product['name']) ?> — <?= htmlspecialchars($schoolLabel) ?>
Lunch Plan

  • Hot meal prepared fresh daily
  • Allergen information included
  • Weekly menu sent every Friday
  • Full refund if plan cancelled before start date
$
per student · October 2025
$schoolLabel, 'amount' => $product['price'], 'currency' => $product['currency'], 'placement' => 'product', 'page_type' => 'product-details', ]; require_once __DIR__ . '/paypal-paylater-message.php'; ?>
No PayPal-connected school found.
The checkout buttons appear once a school has completed PayPal onboarding. Connect one in School Merchant Setup, or open this page as ?school=<connected school name>.

Pay with card

🔒 Secured by PayPal