Skip to content

Unable to scan the credit card with DEVICE_TYPE_USB_MSR #1

@itsmeprashant02

Description

@itsmeprashant02

Need your support regarding an issue we're encountering while trying to scan credit cards using the USB MSR device. Upon swiping the card, the infinea?.startListening method fails to trigger. After investigating the SDK, we discovered that we need to disable encryption by calling the Future<bool?> emsrSetEncryption({required int encryption, required int keyID, required Map params}) method. However, when we pass -1 as the encryption value, 0 as the keyID, and an empty array as params, we consistently encounter the following error:
flutter: PlatformException(Error, Encrypted magnetic head command syntax error, Encrypted magnetic head command syntax error, null)
We would greatly appreciate your guidance on how to properly read MSR card swipe data using the plugin.

Thanks in advance for your assistance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions