🔬 Gateway Diagnostic Tool

Testing direct connection to Demotry Gateway


Step 1: Database Configuration

✅ Database connected
Active Gateway: DemotryGateway
API Key: e802804b455cc216df4cdd0563e30532...
Gateway URL: https://pay.myintent.in

Step 2: Direct API Test to Demotry Gateway

Target URL: https://pay.myintent.in/api/create-order
Method: POST
Content-Type: application/x-www-form-urlencoded

Request Data:

Array
(
    [customer_mobile] => 9876543210
    [user_token] => e802804b455cc216df4cdd0563e30532
    [amount] => 1
    [order_id] => DIAG1778325207919
    [redirect_url] => https://www.myintent.in/test-success.php
    [remark1] => Diagnostic Test
    [remark2] => Testing Gateway Connection
)

Sending Request...

Response Details:

HTTP Status Code: 200
Response Time: 0.14 seconds
Response Size: 133 bytes

Raw Response:

{"status":false,"message":"Unauthorized Source. IP: 2a02:4780:11:2224:0:1751:2307:1. Domain: . Please whitelist in Merchant Panel."}

Parsed JSON Response:

Array
(
    [status] => 
    [message] => Unauthorized Source. IP: 2a02:4780:11:2224:0:1751:2307:1. Domain: . Please whitelist in Merchant Panel.
)

❌ Gateway returned error

Error Message: Unauthorized Source. IP: 2a02:4780:11:2224:0:1751:2307:1. Domain: . Please whitelist in Merchant Panel.
Possible causes:

Step 3: Connection Information

Array
(
    [url] => https://pay.myintent.in/api/create-order
    [content_type] => application/json
    [http_code] => 200
    [header_size] => 385
    [request_size] => 366
    [filetime] => -1
    [ssl_verify_result] => 20
    [redirect_count] => 0
    [total_time] => 0.136724
    [namelookup_time] => 0.002126
    [connect_time] => 0.002896
    [pretransfer_time] => 0.011877
    [size_upload] => 227
    [size_download] => 133
    [speed_download] => 972
    [speed_upload] => 1660
    [download_content_length] => -1
    [upload_content_length] => 227
    [starttransfer_time] => 0.136683
    [redirect_time] => 0
    [redirect_url] => 
    [primary_ip] => 2a02:4780:1f:1e87:6c5b:a8b4:f6b7:473b
    [certinfo] => Array
        (
        )

    [primary_port] => 443
    [local_ip] => 2a02:4780:11:1234::101
    [local_port] => 54642
    [http_version] => 3
    [protocol] => 2
    [ssl_verifyresult] => 0
    [scheme] => https
    [appconnect_time_us] => 11682
    [connect_time_us] => 2896
    [namelookup_time_us] => 2126
    [pretransfer_time_us] => 11877
    [redirect_time_us] => 0
    [starttransfer_time_us] => 136683
    [total_time_us] => 136724
)

Step 4: Recommendations

⚠️ Issues Found

Next steps:

  1. Verify your API token is correct in Gateway Settings
  2. Check if gateway URL is accessible: https://pay.myintent.in
  3. Contact Demotry support if the token is correct but still failing
  4. Check server logs for more details