Admin Dashboard

Welcome to the admin area. From here you can manage servers, payments, and site settings.

Manage Servers & Services Invoice History Manage Coupons Edit Site Config XML Config Editor XML Config Guide

Quick usage notes

Sandbox account (testing)

Use PayPal sandbox credentials when testing payments. Set your sandbox client_id and client_secret in the runtime config that the payment handlers use (for this site those are in the respective files under _website/api/ or in a central config if you moved credentials).

Payments: high-level program flow

  1. User adds an item and proceeds to checkout (_website/cart.php).
  2. The checkout page renders the PayPal JS SDK and calls server-side endpoints (create_order/capture_order).
  3. After a successful capture, PayPal sends a webhook event to _website/webhook.php (or the equivalent handler under _website/api/).
  4. The webhook verifies the signature, fetches any missing order details, and writes a JSON record to the data/ directory (this powers invoices.php and return.php).
  5. On successful payment we mark the order as PAID in the JSON and the site UI (invoices/returns) reads those JSONs to render receipts.
  6. Admin pages can view invoices at ./invoices.php and reconcile or trigger further provisioning via internal panel APIs.

Environment

Site Base URL
Data directory
PHP SAPI
Writable?