Skip to main content

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

  1. (POS) Create a sale request of the amount.
  2. (CodePay) Swipe a test card number.

The sale is processed without any tipping option and signature prompt.

Test #2: Cancel a transaction

  1. (POS) Select the transaction from test #1.
  2. (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

  1. (POS) Create a sale request of the amount.
  2. (CodePay) Swipe a test card number.
  3. (CodePay) On the signature screen, draw a name and tap Done.

The sale is processed without any tipping option.

Test #4: Tip adjustment

  1. (POS) Select the transaction from test #3 and adjust the tip amount.
  2. (CodePay) The transaction total is updated to include the tip.

Test #5: Batch close

  1. (POS) Create a batch close request.
  2. (CodePay) Close the current batch of transactions.

Test #6: Refund a referenced transaction

  1. (POS) Select the transaction from test #3 that was settled.
  2. (CodePay) Refund the full amount of the sale.

Test #7: Refund a unreferenced transaction

  1. (POS) Create a refund request of the amount.
  2. (CodePay) Swipe any test card number.
  3. (CodePay) Refund the amount entered in the POS.