Testing Result
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. The payment status defaults to successful. For other statuses, please set the amount parameter(totalAmount) as below.
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
Please note that the totalAmount you set must be within the limit of the current payment method
Card payment can use the following card information:
Visa | Master | Mock 3ds Certification |
---|---|---|
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 | Send payment amount 222 can simulate 3ds certification |
Saudi Mada | Kuwait Knet | Qatar Naps | Bahrain Benefit |
---|---|---|---|
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 |
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