OwnOutright — api.ownoutright.com Upload Package
=================================================

Upload webhook.php to the root of api.ownoutright.com

BEFORE UPLOADING — open webhook.php and fill in these 4 values:

1. STRIPE_WEBHOOK_SECRET
   - Go to Stripe Dashboard → Developers → Webhooks
   - Click "Add endpoint"
   - URL: https://api.ownoutright.com/webhook.php
   - Events to listen for: checkout.session.completed
   - After creating, click "Reveal signing secret" — paste it here

2. SMTP_PASS (Google App Password)
   - Go to your Google Account → Security → 2-Step Verification
   - Scroll down to "App passwords"
   - Create one named "OwnOutright SMTP"
   - Paste the 16-character password here (no spaces)

3. DATA_DIR (absolute server path to the data/ folder)
   - In cPanel File Manager, navigate to public_html/data/
   - Click Settings → check "Show Hidden Files"
   - The path shown at the top (e.g. /home/yourusername/public_html/data)
   - Paste that here

4. Replace REPLACE_WITH_CPANEL_USERNAME with your actual cPanel username

AFTER UPLOADING:
- Make sure public_html/data/ folder exists and is writable (chmod 755)
- Test with a Stripe test payment — check your email for the vault URL
