Testing Payment Flows

What you can test

Testing methods and available magic values vary by payment method, so make sure to follow the instructions for each payment method:

Testing Bank Transfer Payments

Testing Card Payments

Testing Direct Debit Payments

Flywire regularly adds new magic values to support more test cases and your specific scenarios.

What you should test

To ensure your system handles callbacks reliably, Flywire recommends testing specific payment flow scenarios, especially for the following edge cases. Note that depending on your system, some of the edge cases might not apply to you.

You can test all the scenarios with bank transfer test payments.

Re-initiated Cancelled Payment

Payment flow:

Initiated > Cancelled > Initiated > Processed > Guaranteed > Delivered

Verification failed

Payment flow:

Initiated > Processed > after 2 hours Cancelled

Under- or Overpayment

Payment flow: Delivered amount different from initiated amount, for example:

Initiated ($2000) > Processed ($1950) > Guaranteed ($1950) > Delivered ($1950)

Guaranteed Payment going to Cancelled

Payment flow:

Initiated > Processed > Guaranteed > Cancelled