To help you test your error handling easily and deterministically, use following test cases:
All test cases have:
Case №
- This case number.Case Name and Reason
- This column defines a name for the test case and explains the reasons for testing it.Test requirement
- M - mandatory, C - Conditional, O - optional test caseConditions and Comments - Conditions
- This defines under which circumstances the test case must be performed.Environment
- test or production (test merchant or production merchant account)Details and Comments Concerning Test Results
- This column provides space for the test analyst to note any comments concerning the test that was performed, errors encountered, corrections required, concerns, etc.№
- #0.Test requirement
- MConditions and Comments
- Enter valid form values. Response - TransactionSuccess with transaction details.Environment
- BothDetails and Comments Concerning Test Results
- None№
- #1.Test requirement
- MConditions and Comments
- Enter invalid form values (wrong pan). Response - ApiError with code
and message
describing errorEnvironment
- BothDetails and Comments Concerning Test Results
- None№
- #2.Test requirement
- MConditions and Comments
- Click remember
or save card
on addCard
form. Response contains pm_alias
which represents saved PaymentMethod
and that value can be used for paying with saved card. Response is TransactionSuccess
.Environment
- BothDetails and Comments Concerning Test Results
- None№
- #3.Test requirement
- MConditions and Comments
- Use payCvv
with pm_alias
received after saving payment method. Response is TransactionSuccess
.Environment
- BothDetails and Comments Concerning Test Results
- None№
- #4.Test requirement
- MConditions and Comments
- Use payCvv
with pan_token
used to save card on old proxy. Response is TransactionSuccess
.Environment
- BothDetails and Comments Concerning Test Results
- None№
- #5.Test requirement
- MConditions and Comments
- pan: 4916 7667 4840 8854
Environment
- TestDetails and Comments Concerning Test Results
- None№
- #6.Test requirement
- MConditions and Comments
- pan: 5198 4628 6199 8055
Environment
- TestDetails and Comments Concerning Test Results
- None№
- #7.Test requirement
- MConditions and Comments
- pan: 4341 7920 0000 0044
, user is redirected to 3ds form after submitting order form.Environment
- TestDetails and Comments
- None