espaybriedc 0.0.3 copy "espaybriedc: ^0.0.3" to clipboard
espaybriedc: ^0.0.3 copied to clipboard

unlisted

Espay EDC

Use this SDK to connect to the BRI EDC

Features #

Communicate to BRI EDC

Getting started #

Import espaybriedc package to your project, need to pay attention to the dependencies. Dependencies that current SDK are using:

  1. dio: ^5.4.0
  2. web_socket_channel: ^2.4.0
  3. crypto: ^3.0.3
  4. uuid: ^4.3.3
  5. intl: ^0.19.0

Usage #

There are main functions to use:

  1. EspayBriEDC().salePayment(); -> for regular payment
  2. EspayBriEDC().contactlessPayment(); -> for contactless payment

Some parameters need to be passed inside the function

  1. Variable signatureKey: Unique (Change the variable based on the comm target - will need to integrate to ESPAY backend)
  2. Variable commCode: Unique (Change the variable based on signature target - will need to integrate to ESPAY backend)
  3. Variable transactionId: Unique (Free key-in)
  4. Variable amount: Free key-in
  5. Variable edcIpAddress: Retrieved from ECR Link Wifi Settings

Additional information #

If further information needed, please contact leonardo@sgo.co.id

0
likes
0
points
13
downloads

Publisher

unverified uploader

Weekly Downloads

Espay EDC

License

unknown (license)

Dependencies

crypto, dio, flutter, intl, uuid, web_socket_channel

More

Packages that depend on espaybriedc