Welcome to our new developer portal! Use the "Ask" button to chat with our AI Agent.
For the complete documentation index, see llms.txt. This page is also available as Markdown.

6. Display transaction context

Overview

After each transaction, your digital wallet application can display transaction details.

NFC Wallet SDK provides a TransactionContext in these callbacks:

  • ContactlessPaymentServiceListener.onTransactionCompleted()

  • ContactlessPaymentServiceListener.onError()

SDK integration

Read and format transaction details

Read the values you need from the context, then format them for display.

Convert BCD values for display (utility)

The following utility converts BCD-encoded values to strings.

Adjust the formatting to match your UI and your payment network requirements.

Last updated

Was this helpful?