Test Conditions

For getPaymentURL, the predefined test conditions are based on transaction_amount value.

For example, to test a declined payment, set transaction_amount to 3001. This response will contain payment_url and a predefined value for process_no. On launch of payment_url, a page similar to below will be displayed. It shows the test condition, process number, transaction id and redirect url from getPaymentURL request.

The process number (3000 in this example) can be used to getPaymentStatus, which will return Declined status.

For each test condition a predefined process_no is returned.

Transaction_AmountTest ConditionProcess_no
3001Declined (01)3000
4001In progress (02)4000
5001Error (03)5000
6001Cancel (04)6000
7001Invalid Product CodesN/A
9998System ErrorN/A
Any Other ValueApproved (00)2000

Test Conditions - getPaymentStatus

For getPaymentStatus, the predefined test conditions are based on process_no value.


Process_noTest Condition
2000Approved (00)
3000Declined (01)
4000In Progress (02)
5000Error (03)
6000Cancel (04)
9998System Error
9999Not Valid

Test Conditions - createPaymentRefund

For createPaymentRefund, the predefined test conditions are based on merchant_transaction_id value.

Merchant_transaction_idTest Condition
2000Approved
3000Not Valid
4000Invalid amount
9998System Error

Did this page help you?