Callback used by the scanCard method.
scanCard
Called when the card scan operation fails.
Called when the card scan operation succeeds.
Callback used by the
scanCard
method.