MPGS payment testing console
Run 3DS and non-3DS transactions, inspect status, void payments and issue refunds from one PHP frontend.
3DS Transaction
Create session, load card data, authenticate payer, handle browser challenge and complete PAY/AUTHORIZE.
Non-3DS Transaction
Process direct PAY or AUTHORIZE, with optional aggregator submerchant details.
Transaction Status
Retrieve an order or a specific transaction and inspect the full MPGS response.
Void
Void an existing transaction using the target transaction ID.
Refund
Submit a refund transaction for an order and amount.
Architecture
Single configconfig/config.php
Common API clientlib/MpgsClient.php
Common result UIlib/ResponsePresenter.php
Frontend pagespublic/*.php