Central Payment System

Test interface — simulates webapp integration flow end-to-end

1

Sign
2

Initiate
3

Checkout
4

Poll
5

Done

Step 1: Build Signed Request webapp side

Canonical string:
track_id|amount|timestamp
Signature will appear here...

Step 2: POST to initiate.php server

Waiting...
Response will appear here...

Step 3: Checkout URL open in browser

Redirect customer to this URL after initiation.

Step 4: Poll Payment Status server

After customer completes payment, poll to get webhook-confirmed status.

Not polled yet
Response will appear here...

Webhook Payload Builder simulate Razorpay callback

Build a signed webhook payload to test /webhook/razorpay.php — generates a ready-to-use curl command.

curl command will appear here...

Missing File Checklist

Fixed bugs
database.php — missing / in path
All files — relative config paths
Missing: CallbackDispatcher.php
Called in PaymentService but not provided — now created
Missing: schema.sql
3 tables needed — now created
Missing: initiate.php
Public API endpoint — now created
Missing: status.php
GET endpoint for polling — still needed
Missing: checkout.php
Razorpay widget page — still needed