@omella/expo-finix-pax-d135
v0.2.4
Published
Expo module for integrating Finix PAX D135 payment devices with React Native apps
Readme
Expo Finix PAX D135
Expo module for integrating Finix PAX D135 payment devices with React Native apps.
🚀 Quick Start
# Install
npm install @omella/expo-finix-pax-d135
# Add to app.json
{
"expo": {
"plugins": ["@omella/expo-finix-pax-d135"]
}
}
# Setup SDK
./node_modules/@omella/expo-finix-pax-d135/scripts/download-sdk.sh
# Rebuild
npx expo run:ios📱 Usage
import ExpoFinixPaxD135 from '@omella/expo-finix-pax-d135';
// Initialize
await ExpoFinixPaxD135.setFinixCredentials(
'merchant-id', 'mid', 'device-id', 'username', 'password'
);
// Scan for devices
await ExpoFinixPaxD135.startScan();
// Process payment
await ExpoFinixPaxD135.startTransaction(1000); // $10.00📖 Documentation
🔧 Requirements
- iOS 17.6+
- Real iOS device
- Finix PAX D135 device
📄 License
MIT
API documentation
Installation in managed Expo projects
For managed Expo projects, please follow the installation instructions in the API documentation for the latest stable release. If you follow the link and there is no documentation available then this library is not yet usable within managed projects — it is likely to be included in an upcoming Expo SDK release.
Installation in bare React Native projects
For bare React Native projects, you must ensure that you have installed and configured the expo package before continuing.
Add the package to your npm dependencies
npm install expo-finix-pax-d135Configure for Android
Configure for iOS
Run npx pod-install after installing the npm package.
Contributing
Contributions are very welcome! Please refer to guidelines described in the contributing guide.
