Skip to content

vatsal-gadhiya-searce/react-native-tidypos-terminal

Repository files navigation

react-native-tidypos-terminal

A react-native library to make payments in sunmi device through tidypos gateway

Installation

npm install react-native-tidypos-terminal

Usage

import TidyposTerminal from "react-native-tidypos-terminal";

// ...

TidyposTerminal.startPayment(credentials, params)
    .then((data) => {
        // ...
        console.log('success', data);
    })
    .catch((err) => {
        // ...
        console.log('error', err);
    });

Example

  1. Place your credentials in [example/src/constants.ts]
  2. yarn example android

Contributing

See the contributing guide to learn how to contribute to the repository and the development workflow.

License

MIT

About

React Native package for payments in sunmi device through tidypos

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published