+
+
+
-
### [](https://github.com/just1and0/React-Native-Paystack-WebView#installation)Installation
-Add `react-native-paystack-webView` to your project by running;
+Add `react-native-paystack-webview` to your project by running;
```bash
npm install react-native-paystack-webview
@@ -110,21 +110,21 @@ function Pay(){
### [](https://github.com/just1and0/object-to-array-convert#all-object-to-array-convert-props) API Reference
-| Name | use/description | extra |
-| :----------------------------------- | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | ---------------------------------------------------------: |
-| `paystackKey` | Public or Private paystack key(visit paystack.com to get yours) | `nill` |
-| `amount` | Amount to be paid | `nill` |
-| `activityIndicatorColor` | color of loader | default: `green` |
-| `billingEmail(required by paystack)` | Billers email | default: `nill` |
-| `billingMobile` | Billers mobile | default: `nill` |
-| `billingName` | Billers Name | default: `nill` |
-| `subaccount` | Specify subaccount code generated from the Paystack Dashboard or API to enable Split Payment on the transaction. Here's an example of usage: `subaccount: "SUB_ACCOUNTCODE"` | default: `nill` |
-| `channels` | Specify payment options available to users. Available channel options are: ["card", "bank", "ussd", "qr", "mobile_money"]. Here's an example of usage: `channels={["card","ussd"]}` | default: `["card"]`|
-| `onCancel` | callback function if user cancels or payment transaction could not be verified. In a case of not being verified, transactionRef number is also returned in the callback | default: `nill` |
-| `onSuccess` | callback function if transaction was successful and verified (it will also return the transactionRef number in the callback ) | default: `nill` |
-| `autoStart` | Auto start payment once page is opened | default: `false` |
-| `refNumber` | Reference number, if you have already generated one | default: `''+Math.floor((Math.random() * 1000000000) + 1)` |
-| `handleWebViewMessage` | Will be called when a WebView receives a message | default: `true` |
+| Name | use/description | extra |
+| :----------------------------------- | :---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | ---------------------------------------------------------: |
+| `paystackKey` | Public or Private paystack key(visit paystack.com to get yours) | `nill` |
+| `amount` | Amount to be paid | `nill` |
+| `activityIndicatorColor` | color of loader | default: `green` |
+| `billingEmail(required by paystack)` | Billers email | default: `nill` |
+| `billingMobile` | Billers mobile | default: `nill` |
+| `billingName` | Billers Name | default: `nill` |
+| `subaccount` | Specify subaccount code generated from the Paystack Dashboard or API to enable Split Payment on the transaction. Here's an example of usage: `subaccount: "SUB_ACCOUNTCODE"` | default: `nill` |
+| `channels` | Specify payment options available to users. Available channel options are: ["card", "bank", "ussd", "qr", "mobile_money"]. Here's an example of usage: `channels={["card","ussd"]}` | default: `["card"]` |
+| `onCancel` | callback function if user cancels or payment transaction could not be verified. In a case of not being verified, transactionRef number is also returned in the callback | default: `nill` |
+| `onSuccess` | callback function if transaction was successful and verified (it will also return the transactionRef number in the callback ) | default: `nill` |
+| `autoStart` | Auto start payment once page is opened | default: `false` |
+| `refNumber` | Reference number, if you have already generated one | default: `''+Math.floor((Math.random() * 1000000000) + 1)` |
+| `handleWebViewMessage` | Will be called when a WebView receives a message | default: `true` |
## [](https://github.com/just1and0/object-to-array-convert#contributions)Contributions
@@ -142,13 +142,16 @@ This project is licensed under the MIT License.
### Video Tutorial
-- [Accepting Payment With Paystack In React Native](https://www.youtube.com/watch?v=M-V4Q9zk9DE&t=19s) by [just1and0](https://twitter.com/just1and0)
+- [Accepting Payment With Paystack In React Native](https://www.youtube.com/watch?v=M-V4Q9zk9DE&t=19s) by [just1and0](https://twitter.com/just1and0)
-### Don't forget to star, like and share :)
+## Sponsorship
+- Star the project on Github
+- [Buy me a coffee](buymeacoffee.com/6pL0Q8YkW)
-## Contributors ✨
+## Thanks to Our Superheroes ✨
+A huge shoutout to our amazing contributors! Your efforts make this project better every day. Check out the ([emoji key](https://allcontributors.org/docs/en/emoji-key)) for what each contribution means:
-Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):
+