React native paypal SDK checkout
This is a React Native Application
A MacOS PC with X-code installed on it (to use ios simulator)
Node (versions 15.11.0
was used, but later versions might work as well) and npm. If you haven't installed Node or npm, nvm is an easy to use tool for installing both. Nvm is also handy if you want to quickly switch between different Node versions.
- Clone this repository rn-paypal-sdk and run
npm install
in thern-paypal
directory. - Run
npm start
- When prompt, select
i
to run the application onsimulator
- Or scan the expo barcode shown with an iphone that has expo go installed on it to run the application (Note: the iphone and computer used must me on the same wifi network)
- When prompt, select
- Download the rn-payal app at RN Paypa Checkout
- Open ios simulator on your computer
- Drag the downloaded app into the simulator
You can only checkout out with paypal personal sandbox account. If you don't have one, kindly create an account at Paypal