#!/usr/bin/env php ========== Apex Payment API Integration Test ========== ℹ Step 1: Testing database connection... ✓ Database connection successful ℹ Step 2: Checking apex_merchant_credentials table... ✓ Table 'apex_merchant_credentials' exists ℹ Step 3: Fetching Apex credentials... ✓ Credentials found ℹ Account: nlifevacdevice ℹ JWT Token: eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJhZ2VudE5vI... ℹ Token Expires: 2025-11-16 00:03:08 ⚠ JWT token is EXPIRED! Please refresh it. ℹ Step 4: Looking for a test transaction... ⚠ No transactions found with apex_client_id ℹ Create a test payment first, then run this script again