0.0.4 • Published 5 years ago

react-native-voguepay v0.0.4

Weekly downloads
3
License
Unlicense
Repository
github
Last release
5 years ago

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 in your main project.

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))
   }} /> 
  1. Make sure the following properties ara provided
  • params:Object
  • response:functionLicense
  • 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

  • Email
  • Website(https:// www.marshalsoft.pro)
  • Website(https:// www.marshalsoft.net)
  • facebook
  • twitter
  • Youtube

    issues

  • report issues