API Authentication Failed

PayIndia checkout gateway integration guide

Our payment simulator page encountered an error when trying to request a checkout session:

Error Details: Please confirm your X-API-Key and X-API-Secret credentials are set correctly inside the source code of this file.
How to Fix This:
  1. Open demo.php in a text editor.
  2. Locate variables $apiKey and $apiSecret at the top of the file (lines 14 & 15).
  3. Replace the mock credentials with the active API keys generated inside your merchant dashboard.
  4. Refresh this page to run the checkout redirect automatically.
Target Endpoint URL
http://payindia.ottosoft.in/api
Request Payload Sent
{
    "amount": "10.00",
    "order_id": "ORD_1783438987_9348",
    "customer_name": "Demo Customer",
    "description": "Demo Payment Simulation",
    "callback_url": "http:\/\/payindia.ottosoft.in\/demo.php?action=callback"
}