This repository provides a React Native implementation of Xendit payment integration, allowing you to easily process payments within your React Native applications. The integration is written in TypeScript, ensuring type safety and providing a seamless development experience.
- Integration with Xendit API for seamless payment processing
- Support for 3D Secure method
- Card tokenization for future use
- Optional authentication skip for a smoother payment flow
- No native components required
- Custom server integration for sending API requests
- Payment token sent as the default, but the implementation can be customized as needed
- React Native
- TypeScript
- Xendit account (Sign up at https://www.xendit.co/)
- axios
- expo-checkbox
cd your-repo
npm install
- use npx create-expo-app -t expo-template-blank-typescript this will init the project in typescript
- use npx expo install react-native-webview
- add xendit-js-node with yarn add xendit-js-node
- add checkbox from npx expo install expo-checkbox
- add axios from yarn add axios
npm start
npm run android # For Android
npm run ios # For iOS