Razorpay Configuration Diagnostic

========================================
ENVIRONMENT CONFIGURATION
========================================

Config Cached: ✓ NO

Method 1 - env() (direct .env access):
  RAZORPAY_KEY: ✓ SET (length: 23, starts with: rzp_live...)
  RAZORPAY_SECRET: ✓ SET (length: 24, starts with: teYs...)

Method 2 - config() (from config/services.php):
  RAZORPAY_KEY: ✓ SET (length: 23, starts with: rzp_live...)
  RAZORPAY_SECRET: ✓ SET (length: 24, starts with: teYs...)

Key Type: 🚀 LIVE MODE

========================================
.ENV FILE CHECK
========================================

✓ .env file exists
  Last modified: 2026-01-18 11:10:48
  Contains RAZORPAY_KEY: ✓ YES
  Contains RAZORPAY_SECRET: ✓ YES

========================================
RAZORPAY API TEST
========================================

Testing API connection with provided credentials...

✓ API object created successfully

Attempting to create test order...
✅ SUCCESS! Order created

Order Details:
  Order ID: order_S5q169Iwb4S7uU
  Amount: ₹1
  Currency: INR
  Status: created
  Created at: 2026-01-19 18:35:10

Object Type: object
Object Class: Razorpay\Api\Order

All Properties:
  - amount: 100
  - amount_due: 100
  - amount_paid: 0
  - attempts: 0
  - created_at: 1768847710
  - currency: INR
  - entity: order
  - id: order_S5q169Iwb4S7uU
  - notes: object
  - offer_id: NULL
  - receipt: NULL
  - status: created

✅ Your Razorpay integration is working correctly!
The button should appear on the payment page.

========================================
CACHED CONFIGURATION
========================================

✓ Config not cached (reading from .env directly)

========================================
🔒 SECURITY WARNING
========================================
DELETE THIS FILE IMMEDIATELY!
It exposes sensitive configuration information.
Razorpay Debug