diff --git a/.env copy b/.env copy deleted file mode 100644 index 9d3a55ee..00000000 --- a/.env copy +++ /dev/null @@ -1,42 +0,0 @@ -# Database Configuration -DB_HOST=mysql-db -DB_USER=app -DB_PASS=4wdcsa2025! -DB_NAME=4wdcsa -SALT=4wdcsa -HOST=https://beta.4wdcsa.co.za - -ENFORCE_HTTPS=true - -# Mailjet Email Service -MAILJET_API_KEY=1a44f8d5e847537dbb8d3c76fe73a93c -MAILJET_API_SECRET=ec98b45c53a7694c4f30d09eee9ad280 -MAILJET_FROM_EMAIL=info@4wdcsa.co.za -MAILJET_FROM_NAME=4WDCSA -ADMIN_EMAIL=info@4wdcsa.co.za -FINANCE_EMAIL=louiseb@global.co.za -POP_NOTIFICATION_EMAILS=chrispintoza@gmail.com,chrispintoza+pop@gmail.com,chrispintoza+4wdcsapop@gmail.com -NOTIFICATION_ADDR=chrispintoza@gmail.com - -# Google OAuth -GOOGLE_CLIENT_ID=948441222188-8qhboq2urr8o9n35mc70s5h2nhd52v0m.apps.googleusercontent.com -GOOGLE_CLIENT_SECRET=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 - -# Instagram (optional) -INSTAGRAM_ACCESS_TOKEN=your-instagram-token - -# Application Settings -APP_ENV=development -APP_DEBUG=true -APP_URL=https://beta.4wdcsa.co.za - -IKHOKHA_APP_ID=IKFLESZTKFM4HWWS76131L8HK9BYF96P -IKHOKHA_APP_SECRET=gfoQTvXRXuzq6ArPHUS2CBFxtHtH1bxM -IKHOKHA_ENDPOINT=https://api.ikhokha.com/public-api/v1/api/payment -IKHOKHA_EXTERNAL_ENTITY_ID=4WDCSA -IKHOKHA_CALLBACK_URL=https://beta.4wdcsa.co.za/src/api/ikhokha_webhook.php -IKHOKHA_SUCCESS_URL=https://beta.4wdcsa.co.za/success -IKHOKHA_FAILURE_URL=https://beta.4wdcsa.co.za/failure -IKHOKHA_CANCEL_URL=https://beta.4wdcsa.co.za/cancel -IKHOKHA_MODE=live -IKHOKHA_BYPASS_SIGNATURE=true diff --git a/.env.example b/.env.example deleted file mode 100644 index 1ae3de1d..00000000 --- a/.env.example +++ /dev/null @@ -1,42 +0,0 @@ -# Database Configuration -DB_HOST=mysql-db -DB_USER=app -DB_PASS=4wdcsa2025! -DB_NAME=4wdcsa -SALT=4wdcsa -HOST=https://4wdcsa.co.za - -ENFORCE_HTTPS=true - -# Mailjet Email Service -MAILJET_API_KEY=1a44f8d5e847537dbb8d3c76fe73a93c -MAILJET_API_SECRET=ec98b45c53a7694c4f30d09eee9ad280 -MAILJET_FROM_EMAIL=info@4wdcsa.co.za -MAILJET_FROM_NAME=4WDCSA -ADMIN_EMAIL=info@4wdcsa.co.za -FINANCE_EMAIL=louiseb@global.co.za -POP_NOTIFICATION_EMAILS=chrispintoza@gmail.com,chrispintoza+pop@gmail.com,chrispintoza+4wdcsapop@gmail.com -NOTIFICATION_ADDR=info@4wdcsa.co.za - -# Google OAuth -GOOGLE_CLIENT_ID=948441222188-8qhboq2urr8o9n35mc70s5h2nhd52v0m.apps.googleusercontent.com -GOOGLE_CLIENT_SECRET=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 - -# Instagram (optional) -INSTAGRAM_ACCESS_TOKEN=your-instagram-token - -# Application Settings -APP_ENV=development -APP_DEBUG=true -APP_URL=https://4wdcsa.co.za - -IKHOKHA_APP_ID=IKFLESZTKFM4HWWS76131L8HK9BYF96P -IKHOKHA_APP_SECRET=gfoQTvXRXuzq6ArPHUS2CBFxtHtH1bxM -IKHOKHA_ENDPOINT=https://api.ikhokha.com/public-api/v1/api/payment -IKHOKHA_EXTERNAL_ENTITY_ID=4WDCSA -IKHOKHA_CALLBACK_URL=https://4wdcsa.co.za/src/api/ikhokha_webhook.php -IKHOKHA_SUCCESS_URL=https://4wdcsa.co.za/success -IKHOKHA_FAILURE_URL=https://4wdcsa.co.za/failure -IKHOKHA_CANCEL_URL=https://4wdcsa.co.za/cancel -IKHOKHA_MODE=live -IKHOKHA_BYPASS_SIGNATURE=true diff --git a/.htaccess b/.htaccess index 70870fd0..bcb83e73 100644 --- a/.htaccess +++ b/.htaccess @@ -156,7 +156,7 @@ RewriteRule ^autosave$ src/processors/blog/autosave.php [L] -php_flag display_errors On +php_flag display_errors Off # php_value error_reporting -1 RedirectMatch 403 ^/\.well-known Options -Indexes diff --git a/test.php b/test.php deleted file mode 100644 index f1cb3b10..00000000 --- a/test.php +++ /dev/null @@ -1,56 +0,0 @@ - - - - - - iKhokha Signature Debug (JS) - - - -

IK-SIGN FROM WEBHOOK:

-
- -

DEBUG INFO

-

Callback URL:

- -

Payload to Sign (Un-escaped):

- -
- -

EXPECTED SIGNATURE (JS):

- -
- diff --git a/test2.php b/test2.php deleted file mode 100644 index 7c9dc916..00000000 --- a/test2.php +++ /dev/null @@ -1,5 +0,0 @@ -