Skip to content

Simulation Results

1. Payment

When merchants conduct joint debugging, they can choose any payment method and input random payment account and other necessary information for payment. The test environment does not verify the authenticity of the account. After submitting, you will enter the following page, which can be used to simulate different order states.

The acceptance method and expected results are as follows:
The page shown below provides three payment results:
Payment successful: The foreground page will enter to the success result page, and the server will immediately get a callback notification of the success status.
Payment failed: The foreground page will enter to the failure result page. If you need to inspect and accept the failure status callback of the server, please click the Close button in the result page to close the cashier page.
Pending: The foreground page will enter to the pending page. The server will not receive a callback.

Special reminder:

1、For the Cashier model. After submitting, you will enter the payment status choosing page, which can be used to simulate different order states.
2、For the API model
【Card Payment】:
If failed, a fixed amount (Local currency) can be set: 15、500、1.12、20000 or 25000
If pending, a fixed amount (Local currency) can be set: 6、 60、600、16000
If success, Other amount
Please note that the totalAmount you set must be within the limit of the current payment method
【Non-card payment】:After submitting, you will enter the payment status choosing page, which can be used to simulate different order states.
Simulate 3ds certification:Passing in a specific amount of 222 can simulate 3ds authentication. If 3ds chooses authentication to be successful, the payment will be successful. If 3ds chooses authentication to fail, the payment will fail.

Card payment can use the following card information:

VisaMaster
Card No.: 4444333322221111
Name: James Smith
Expiration Date - Y: 25
Expiration Date - M: 03
CVV: 123
Card No.: 5555555555554444
Name: Allen Black
Expiration Date - Y: 26
Expiration Date - M: 11
CVV: 357
Saudi MadaKuwait KnetQatar NapsBahrain BenefitPakistan
Card No.: 5297412542005689
Name: William Harris
Expiration Date - Y: 25
Expiration Date - M: 05
CVV: 350
Card No.: 4507785555554449
Name: Jacob Thomas
Expiration Date - Y: 26
Expiration Date - M: 11
CVV: 357
Card No.: 4215375500883243
Name: Olivia Taylor
Expiration Date - Y: 26
Expiration Date - M: 06
CVV: 123
Card No.: 5326774027281753
Name: Brown Jenny
Expiration Date - Y: 30
Expiration Date - M: 08
CVV: 927
Card No.: 4919713330643198
Name: Patric berg
Expiration Date - Y: 2027
Expiration Date - M: 06
CVV/CVC: 135

Google Pay Mock:

Note:Pulling up GooglePay sheet in WebView is not supported

  1. Select “Google Pay” on the cashier page, and pull up the Google Pay payment sheet。
  2. Login to Your Google Account, you can add your Gmail to the Google test card suite group(https://groups.google.com/g/googlepay-test-mode-stub-data ) for the next simulation payment.
  3. After the Google Pay authorization is completed, it will return to the PayerMax simulation result page to simulate the payment success or failure.
    For details, see【Google Pay UAT Simulation Process】

2、Disbursement

In the test environment, for the convenience of merchants, the payermax payment API provides the function of simulating payment results in different states according to the transaction amount (amount) for the processing flow of different payment results. The specific rules are as follows:

If failed Fixed amount (Local currency) can be set: 110、 11000
If Pending Fixed amount (Local currency) can be set: 100、 10000
If successful Fixed amount (Local currency) can be set: other amount

Special reminder:

if transaction currency is inconsistent with the local currency, and one still wants to simulate successful /failed transaction, please fill in the 'remark' parameter: remark=SUCCESS, the simulated transaction is successful; remark=FAILED, the simulated transaction fails. When both the remark and the transaction amount meet the simulation conditions, the remark shall prevail. For example: remark=SUCCESS, transaction amount=811, the result returns success

3.Subscription

(1)Authorization Mock
*Subscription needs to redirect wallet page to finish authorization, PayerMax offer the page to test different result.Screenshot(2)Subscription Deduct Mock
If failed, a fixed amount (Local currency) can be set: 15, 500, 1.12, 20000 or 25000
If pending, a fixed amount (Local currency) can be set: 6, 60, 600, 16000 Note that the amount you set must be within the limit of the current payment method

Released under the MIT License.