Skip to content

tawfiek/sunmi-capacitor-card-reader

Repository files navigation

sunmi-p2-card-reader

This a plugin to integrate with sunmi payment SDK and work with the NFC card reader, test on Sunmi P2 only

Supported Devices:

  • Sunmi P2 (Tested on this model only).
  • Sunmi P1N.
  • Sunmi P2Lite.
  • Sunmi P2Pro.
  • Sunmi P14G.

Install

npm install @capacitor-community/sunmi-card-reader
npx cap sync

API

Interfaces

PluginResultData

PluginResultError

Prop Type
message string

Type Aliases

PluginCallback

(data: PluginResultData, error?: PluginResultError): void

SunmiCardDeviceModel

{ model: string, isP2: boolean, isP1N: boolean, isP2Lite: boolean, isP2Pro: boolean, isP14G: boolean, }

### Type Aliases

SunmiCardResult

{ uuid: string; }

SunmiCardDeviceModel

{ model: string, isP2: boolean, isP1N: boolean, isP2Lite: boolean, isP2Pro: boolean, isP14G: boolean, }

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published