This repository is an unofficial fixed fork of the original PayU non-seamless demo, which suffered from issues like invalid credentials and deprecated configurations. We’ve resolved these challenges to offer you a fast and reliable way to integrate PayU’s Checkout Pro SDK in your React Native app.
- A PayU account
- Node.js installed
- React Native environment setup
- An emulator or a physical device
Clone the repository and install dependencies:
git clone https://github.com/KarthiDreamr/PayU-ReactNative-CheckoutProSDK-Demo.git
cd PayU-ReactNative-CheckoutProSDK-Demo
npm install
Replace the problematic package:
For Unix-based systems (Linux/MacOS):
rm -rf ./node_modules/payu-non-seam-less-react
mv payu-non-seam-less-react ./node_modules/
For Windows:
rmdir /s /q .\node_modules\payu-non-seam-less-react
move payu-non-seam-less-react .\node_modules\
Ensure your emulator is running or your device is connected, then start the development server:
npm start
For a detailed explanation of the technical challenges resolved in this demo and a deep dive into the integration improvements, please check out the blog post here.
