- 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> |
||
|---|---|---|
| .. | ||
| addonsmanager | ||
| administration | ||
| backup-restore | ||
| billing | ||
| circular | ||
| config_games | ||
| cron | ||
| dashboard | ||
| dsi | ||
| editconfigfiles | ||
| extras | ||
| faq | ||
| fast_download | ||
| ftp | ||
| gamemanager | ||
| lgsl_with_img_mod | ||
| litefm | ||
| lostpwd | ||
| mods | ||
| modulemanager | ||
| mysql | ||
| news | ||
| rcon | ||
| register | ||
| server | ||
| settings | ||
| status | ||
| steam_workshop | ||
| subusers | ||
| support | ||
| teamspeak3 | ||
| tickets | ||
| TS3Admin | ||
| tshock | ||
| update | ||
| user_admin | ||
| user_games | ||
| util | ||
| README.modules | ||
| reseller.tar.gz | ||
Module directory consists of following files: * module.php (REQUIRED): Contains the information for the module, such as: - version - name - menu entries - sql installation queries * navigation.xml (OPTIONAL): Contains the navigation for the module. This file is optional and if not used, the default page called <module_name>.php is loaded. * Additional files: In addition to the files above module can have as many extra files as you want.