Test based payment flows
To give merchants a consistent payment experience, you must test and verify your app integration.
The test scenarios include steps to make sure your integration processes transactions correctly.
Test #1: Sale without tipping prompt and signature prompt
- (POS) Create a sale request of the amount.
- (CodePay) Swipe a test card number.
The sale is processed without any tipping option and signature prompt.
Test #2: Cancel a transaction
- (POS) Select the transaction from test #1.
- (CodePay) Cancel the full amount of the sale.
The cancel is complete. The transaction was voided
Test #3: Sale without tipping prmopt but with signature prmopt
- (POS) Create a sale request of the amount.
- (CodePay) Swipe a test card number.
- (CodePay) On the signature screen, draw a name and tap Done.
The sale is processed without any tipping option.
Test #4: Tip adjustment
- (POS) Select the transaction from test #3 and adjust the tip amount.
- (CodePay) The transaction total is updated to include the tip.
Test #5: Batch close
- (POS) Create a batch close request.
- (CodePay) Close the current batch of transactions.
Test #6: Refund a referenced transaction
- (POS) Select the transaction from test #3 that was settled.
- (CodePay) Refund the full amount of the sale.
Test #7: Refund a unreferenced transaction
- (POS) Create a refund request of the amount.
- (CodePay) Swipe any test card number.
- (CodePay) Refund the amount entered in the POS.