Mock Payment Provider

provider: mock-fiat
unknown
——
Transaction ID
—
Order ID
—
Account
—
Customer
—
Return to merchant
What just happened?

The mock PSP already decided the outcome server-side based on the account_number regex match, and fired a webhook to the callback URL during createPayIn. This page is only here to simulate the redirect step of a hosted-cashier flow.

Outcome priority: failure → pending → success → default.

PatternOutcomeExample
^success.*successsuccess_user_001
^test_ok.*successtest_ok_user_002
^valid.*successvalid_account_003
^fail.*failedfail_account
^error.*failederror_transaction_002
^invalid.*failedinvalid_account_003
^pending.*pendingpending_user_001
^wait.*pendingwait_for_confirmation
anything elsesuccess (default)john_doe_123