react-native-tidypos-terminal-noq
v0.1.2
Published
A react-native library to make payments in sunmi device through tidypos gateway
Downloads
4
Maintainers
Readme
react-native-tidypos-terminal-noq
A react-native library to make payments in sunmi device through tidypos gateway
Installation
npm install react-native-tidypos-terminal-noq
Usage
import TidyposTerminal from "react-native-tidypos-terminal-noq";
// ...
TidyposTerminal.startPayment(credentials, params)
.then((data) => {
// ...
console.log('success', data);
})
.catch((err) => {
// ...
console.log('error', err);
});
Example
- Place your credentials in [example/src/constants.ts]
yarn example android
Contributing
See the contributing guide to learn how to contribute to the repository and the development workflow.
License
MIT