Commit graph

41 commits

Author SHA1 Message Date
copilot-swe-agent[bot]
439e57b333
Fix billing provisioning and admin defaults
Agent-Logs-Url: https://github.com/GameServerPanel/GSP/sessions/1e47877f-c80e-4514-bdff-2bd022c84f13

Co-authored-by: iaretechnician <2749183+iaretechnician@users.noreply.github.com>
2026-05-06 22:44:53 +00:00
copilot-swe-agent[bot]
0fcdda2ee3
fix: PayPal webhook path, billing table migrations, diagnostics layout, error logging
Agent-Logs-Url: https://github.com/GameServerPanel/GSP/sessions/5bfe8731-c37a-4f7b-a5c7-fbc0393ae134

Co-authored-by: iaretechnician <2749183+iaretechnician@users.noreply.github.com>
2026-05-06 16:44:45 +00:00
copilot-swe-agent[bot]
41a812fdd6
feat: add PayPal sandbox/live credentials, webhook endpoint, and admin diagnostics
- config.inc.php: new sandbox/live credential structure with paypal_mode, separate
  sandbox/live client_id, client_secret, webhook_id, and webhook_path
- config.example.php: updated to match new structure
- config_loader.php: adds defaults and backward compat mapping from old
  $paypal_sandbox/$paypal_client_id variables; adds gsp_paypal_* helper functions
- PayPalGateway.php: fromConfig() uses gsp_paypal_* helpers with fallback
- cart.php: uses gsp_paypal_get_client_id()/gsp_paypal_is_sandbox() helpers
- webhook.php: updated to use gsp_paypal_* helpers for credentials/API base
- paypal/webhook.php: new full-featured webhook receiver with signature
  verification, idempotency log, event processing, provisioning trigger
- admin_config.php: expanded to separate sandbox/live fields, computed webhook URL,
  diagnostics panel showing credential status and recent webhook events
- module.php: bumped to v3.3/db_version 3, adds billing_paypal_webhook_events table

Agent-Logs-Url: https://github.com/GameServerPanel/GSP/sessions/f974e469-8562-41df-ba37-bc340f5a154c

Co-authored-by: iaretechnician <2749183+iaretechnician@users.noreply.github.com>
2026-05-06 16:14:47 +00:00
copilot-swe-agent[bot]
9944b59332
fix: billing cleanup, PayPal guard, docs nav prefix, coupon dark theme, XML guide link
Agent-Logs-Url: https://github.com/GameServerPanel/GSP/sessions/52e5015e-f5cf-42e2-bc32-b1c77193a13f

Co-authored-by: iaretechnician <2749183+iaretechnician@users.noreply.github.com>
2026-05-06 15:24:27 +00:00
copilot-swe-agent[bot]
2c1f87b54a
fix: address code review feedback — setStatus always defined, prepared stmt in checkout_free, better DB error message
Agent-Logs-Url: https://github.com/GameServerPanel/GSP/sessions/d18a8f6c-0715-46c4-9c97-94ec7e2a22fc

Co-authored-by: iaretechnician <2749183+iaretechnician@users.noreply.github.com>
2026-05-05 19:09:23 +00:00
copilot-swe-agent[bot]
73f125ea21
fix: billing checkout — auto-provisioning, zero-dollar flow, duplicate prevention, paid-invoice cart fix
Agent-Logs-Url: https://github.com/GameServerPanel/GSP/sessions/d18a8f6c-0715-46c4-9c97-94ec7e2a22fc

Co-authored-by: iaretechnician <2749183+iaretechnician@users.noreply.github.com>
2026-05-05 19:07:21 +00:00
copilot-swe-agent[bot]
3066d9c75c
fix(billing): address code review issues - ALTER TABLE syntax, null period handling, type detection
Agent-Logs-Url: https://github.com/GameServerPanel/GSP/sessions/e8da2cb7-dbf1-4296-b25d-766f8e099581

Co-authored-by: iaretechnician <2749183+iaretechnician@users.noreply.github.com>
2026-05-02 12:23:23 +00:00
copilot-swe-agent[bot]
e44519c030
Apply automated PHP8 safety transforms
Agent-Logs-Url: https://github.com/GameServerPanel/GSP/sessions/89922108-1604-44ae-949d-358d32b9d70a

Co-authored-by: iaretechnician <2749183+iaretechnician@users.noreply.github.com>
2026-04-23 14:01:37 +00:00
dc24d43921 site changes by codex 2025-11-20 08:10:31 -05:00
01d56a897d fixed cart.php issue 2025-11-10 18:03:04 -05:00
be1e5e7826 style cart.php 2025-11-10 14:04:13 -05:00
0a85bc1111 fixed cart.php formatting 2025-11-10 13:20:11 -05:00
bfe1c6a930 Added favicon 2025-11-10 13:14:31 -05:00
784b27739c delete order from cart 2025-11-10 13:02:10 -05:00
2160fba52e Merge branch 'Panel-unstable' of https://github.com/GameServerPanel/GSP into Panel-unstable 2025-11-10 07:23:04 -05:00
ba6b8d9e6b Fix tableprefix and cart mysql 2025-11-10 07:23:01 -05:00
copilot-swe-agent[bot]
f0dfa92bec Fix cart.php syntax error and add PHPDoc hints for VS Code
Co-authored-by: iaretechnician <2749183+iaretechnician@users.noreply.github.com>
2025-11-10 03:10:42 +00:00
723dd58e71 fix cart 2025-11-09 21:36:54 -05:00
4a4a660433 fix cart 2025-11-09 21:26:49 -05:00
b697e0e91a debug cart 2025-11-09 21:21:33 -05:00
copilot-swe-agent[bot]
5dd60687fd Rebuild cart.php from scratch for reliability
Co-authored-by: iaretechnician <2749183+iaretechnician@users.noreply.github.com>
2025-11-09 20:56:46 +00:00
85cd8e1605 40th attempl at fixing cart.php 2025-11-09 15:46:32 -05:00
copilot-swe-agent[bot]
50d438a18c Fix cart.php REQUEST_URI error and update all game documentation
Co-authored-by: iaretechnician <2749183+iaretechnician@users.noreply.github.com>
2025-11-08 22:00:50 +00:00
copilot-swe-agent[bot]
f5d1586119 Fix session integration in docs.php and cart.php
Co-authored-by: iaretechnician <2749183+iaretechnician@users.noreply.github.com>
2025-11-08 16:21:06 +00:00
copilot-swe-agent[bot]
563ce13252 Fix cart display, menu styling, and documentation formatting
- 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>
2025-11-08 15:22:23 +00:00
copilot-swe-agent[bot]
7b7a42ca30 Fix cart CSS, update menu, consolidate game docs, add navigation
Co-authored-by: iaretechnician <2749183+iaretechnician@users.noreply.github.com>
2025-11-07 13:39:41 +00:00
copilot-swe-agent[bot]
7dcecd49ed Complete coupon system integration with payment processing
Co-authored-by: iaretechnician <2749183+iaretechnician@users.noreply.github.com>
2025-11-07 11:59:06 +00:00
copilot-swe-agent[bot]
291fd81504 Add coupon system integration to shopping cart
Co-authored-by: iaretechnician <2749183+iaretechnician@users.noreply.github.com>
2025-11-07 11:56:11 +00:00
fca8ea4c74 copilot and cart updates 2025-11-05 11:55:31 -05:00
copilot-swe-agent[bot]
4dba46d11c Add comprehensive logging to PayPal payment flow for debugging errors
Co-authored-by: iaretechnician <2749183+iaretechnician@users.noreply.github.com>
2025-10-29 21:38:02 +00:00
copilot-swe-agent[bot]
93d47dba40 Add coupon application logic to cart.php with discount calculation
Co-authored-by: iaretechnician <2749183+iaretechnician@users.noreply.github.com>
2025-10-29 10:59:31 +00:00
copilot-swe-agent[bot]
4e73997a4b Refactor process_payment_record into reusable payment_processor.php helper
Co-authored-by: iaretechnician <2749183+iaretechnician@users.noreply.github.com>
2025-10-29 01:42:24 +00:00
0e91ec4b9a added invoiceing 2025-10-28 05:22:01 -04:00
89b5344e79 working 99%, major changes next 2025-10-25 12:23:59 -04:00
ed94cf17db updated 2025-10-25 10:49:40 -04:00
2347205469 website fixes 2025-10-24 17:27:59 -04:00
426b32b747 Changes to be committed:
modified:   modules/billing/admin.php
	modified:   modules/billing/cart.php
	modified:   modules/billing/css/header.css
	renamed:    modules/billing/includes/config.inc.php -> modules/billing/includes/config.inc.php.orig
	modified:   modules/billing/includes/menu.php
	modified:   modules/billing/order.php
	modified:   modules/billing/privacy.php
	modified:   modules/billing/serverlist.php
	modified:   modules/billing/tos.php
2025-10-23 19:25:29 -04:00
437fbad5e6 Website is completed working, moved into billing module 2025-10-23 18:19:06 -04:00
b6b398f5bf No changes 2025-09-11 13:29:15 -04:00
8680a02b13 Moved the Agents into their own repo. Kept the agent.pl just for reference 2025-09-11 13:27:32 -04:00
auto-sync
4f717c9ee8 force sync from /var/www/html/panel: 2025-09-08T20:36:30Z 2025-09-08 16:36:30 -04:00