For the complete documentation index, see llms.txt. This page is also available as Markdown.

Appendix C - EMV Transaction Flow

Flow Chart

Sample Flow Code

The following breaks out the EMV flow chart into code.

MSR Fallback Flow

The use case for an MSR fallback is when communication with the chip results in a terminated transaction and the TransactionStatus is reported as MSRFallback.

The host application will re-attempt the transaction. To invoke this use case, here are the following pre-requisites.

Pre-requisites:

  • Device already configured for Device-Driven Fallback = Disabled.

  • A card to cause the fallback. Example but not limited to a card with no applications programmed or a card with an application not configured on the device.

Scheme:

  • -->Host begins an initial transaction with PaymentMethod set to MSR+Chip+Contactless.

  • <--Device responds with fail and with status of MSRFallback.

  • -->Host displays a message to use magstripe.

  • -->Host starts a transaction with PaymentMethod set to MSR.

  • <--Device may respond with transaction canceled card read error.

  • -->Host displays a message each time the transaction fails until successful or until Host decides to end the transaction.

  • <--Device sends the transaction result.

Begin initial transaction:

Continue with Fallback transaction:

Last updated