react-native-voguepay
v0.0.4
Published
**Screenshots**
Downloads
10
Maintainers
Readme
Screenshots
React Native Android Library Voguepay This React library provides a wrapper to add VoguePay Payment to your React application.
Get Started There are many ways to do this, here's the way I do it:
Install
- Do
npm install --save git+https://github.com/marshalsoft/react-native-voguepay.git
- Do
npm install --save react-native-voguepay
2. Simply import/require
it by the name library's (react-native-voguepay)`:
```javascript
import VoguePay from 'react-native-voguepay'
```
5. Include as a component.
import VoguePay from 'react-native-voguepay';
<VoguePay
params={{
amount:2345,
currency:"NGN",
success_url:"http://www.example.com/success.php",
fail_url:"http://www.example.com/fail.php",
notify_url:"http://www.example.com/notify.php",
memo:"Payment for book",
merchant_id:"xxxx-xxxxxxx",
merchant_ref:"xxxxxxx"
}}
response={(d:Object)=>{
alert(JSON.stringify(d))
}} />
- Make sure the following properties ara provided
- params:Object
- response:function
License
- This project is licensed under the MIT License - see the LICENSE.md file for details
Keywords
- Javascript,github,react-native,Open Source,payments,Voguepay,payment,Gateway,react-native-voguepay
Author
- Name: Engr. Marshall Ekene
- [Website](https:// www.marshalsoft.pro)
- [Website](https:// www.marshalsoft.net)
- Youtube
issues