- Add PaymentGatewayInterface contract for all payment providers
- Add PayPalGateway (reads credentials from config, not hardcoded)
- Add ManualGateway for admin-triggered payments
- Add StripeGateway stub for future implementation
- Add GatewayFactory for gateway instantiation by name
- Add BillingRepository: parameterized-SQL data layer
- Add BillingService: pricing, invoice creation, payment processing
- Add gsp_billing_transactions table (DB version 2) for audit trail
- Add new columns to gsp_billing_invoices (home_id, rate_type, players, period_start/end, subtotal, total_due, payment_status)
- Add gsp_billing_service_remote_servers mapping table
- Move PayPal credentials from api files into config.inc.php
- Fix double session_start() bug in capture_order.php
- Replace raw SQL with prepared statements throughout
- Refactor admin_invoices.php to use billing_invoices + BillingRepository
- Refactor admin_payments.php to read from gsp_billing_transactions
- Update admin.php with links to Transaction Log and Manage Invoices
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: iaretechnician <2749183+iaretechnician@users.noreply.github.com>
- Add menu include to cart.php so the page displays properly
- Link header.css stylesheet in cart.php
- Change My Account from prominent button to regular nav link in menu
- Update all 148 game documentation files with proper Quick Info from XML configs
- Fix contrast issues in Quick Info (dark blue background with white text)
- Add Font Awesome icons and fix contrast in Important Notes (dark orange background)
- Sort games alphabetically (case-insensitive) in docs.php
- Add Font Awesome CDN link to docs.php
Co-authored-by: iaretechnician <2749183+iaretechnician@users.noreply.github.com>
- Fix path error in payment_processor.php for website deployment
- Add invoice creation when renew button is clicked
- Fix end_date comparison in create_servers.php for DATETIME type
- Add explicit input text colors in login.php for visibility
Co-authored-by: iaretechnician <2749183+iaretechnician@users.noreply.github.com>