Open a controlled payment page
Create a session, send the customer to checkout, return them to the merchant site, and verify the final state on the server.
Hosted checkout, ecommerce, and API paths
Choose an EPS integration based on what your website, app, finance team, and support operation must know after the customer pays.
Hosted checkout can reduce sensitive frontend work. Server callbacks become important when fulfillment cannot rely on a browser return alone.
Every route should produce a reliable order reference, clear customer return, server-verified payment state, and testable failure handling.
Create a session, send the customer to checkout, return them to the merchant site, and verify the final state on the server.
Review Shopify, WooCommerce, or another commerce platform for checkout placement, order updates, refunds, and production approval.
Create sessions, query status, receive callbacks, and connect payment evidence to an internal order, ERP, or finance system.
A browser return can be interrupted. A customer can close the tab. A provider can report a pending state. Your server-side integration should be able to ask what happened.
{
"event": "payment.updated",
"order_reference": "ORDER-1042",
"gateway_reference": "EPS-DEMO-8821",
"status": "APPROVED",
"amount": "12500.00",
"currency": "PKR"
}
Production readiness should cover duplicate callbacks, wrong amounts, abandoned checkout, delayed status, rejected payment, refunds, missing credentials, and recovery after a timeout.
Plan technical onboardingCapture test references for approved, pending, failed, and refunded flows.
Ensure the same event cannot fulfill an order twice.
Keep live credentials and callback endpoints out of test systems.