MAPLE DIGITAL BANKING DEMO — EMAIL OTP + DEMO CARD DEPOSITS

WHAT THIS PACKAGE DOES
- Customer signup offers Savings, Current, Business, Student, Joint and Fixed Deposit account types.
- Customer signup offers Virtual Debit, Visa-style, Mastercard-style, American Express-style, Prepaid and Business demo card selections.
- Signup sends a six-digit registration email verification code and a welcome letter to the entered email address.
- The code expires after 10 minutes and is limited to five verification attempts. A session-based resend limit also applies.
- Each customer can use the My card page to simulate a deposit into the selected demo card. The displayed demo card balance changes and a test transaction is recorded.
- Admin can view the customer's selected account type and demo card.

IMPORTANT: THIS IS A WEBSITE DEMONSTRATION ONLY
Maple Digital in this package is not a licensed bank, lender, card issuer, or payment processor. No real account, payment card, funds, deposit, withdrawal, or transfer is created. Card network names are descriptive demo styles only; no card-network affiliation is implied. Card deposits only change a local browser test value.

EMAIL SETUP / HOSTING
1. Upload the complete maple_combined folder contents to your hosting account (for example, public_html). Keep the api folder and api/email-verification.php in place.
2. Your hosting must support PHP 8+ and PHP sessions.
3. The email endpoint uses PHP mail(). Your hosting provider must have outgoing PHP email enabled. Some hosts disable mail() or require verified sender-domain settings.
4. The sender address is no-reply@your-domain. For best delivery, configure a real mailbox/sender on your domain and ask your host to configure SPF and DKIM. If PHP mail() is disabled, this package will show an email-sending error; configure your hosting mail service before testing.
5. Visit https://your-domain/customer/ and choose Create account. Use an email inbox you control. The code and welcome letter arrive in one message.
6. The code is for registration email verification only. It is not used for login, password reset, card authorization, or financial transaction approval.

LOCALHOST NOTE
The previous Python command `python -m http.server 8000` can display the HTML pages, but it cannot execute the PHP email endpoint. To test email on localhost, use a PHP-enabled local web server (for example, PHP's built-in server from the maple_combined folder: `php -S localhost:8000`). PHP mail() may still be unavailable locally; test email on your PHP-enabled hosting if so.

DEMO ADMIN
Open /admin/ . Demo admin password: MapleDemo2026!

DATA AND SECURITY LIMITATIONS
- Customer/admin records still use browser localStorage. They are not securely shared between different users, browsers, or devices. Admin and customer pages must be opened in the same browser profile to see the same demo data.
- The admin password remains hard-coded and is not secure.
- Do not collect real passwords, passport numbers, identity documents, bank account details, card details, or real customer financial data.
- This package is not production-ready for a financial service. A real service requires a properly secured server-side database, authentication, access controls, audit logging, legal/regulatory approvals, and a compliant payment/card provider.
