forked from gardencoder-zz/react-native-paytabs-library
-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixed missing PaymentSDKConstants.js issue and removed unused gradle …
…repos
- Loading branch information
1 parent
8798389
commit e6cd7c2
Showing
8 changed files
with
35 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
|
||
# react-native-paytabs | ||
![Version](https://img.shields.io/badge/React%20Native%20Paytabs-v2.2.0-green) | ||
![Version](https://img.shields.io/badge/React%20Native%20Paytabs-v2.2.1-green) | ||
|
||
React native paytabs library is a wrapper for the native PayTabs Android and iOS SDKs, It helps you integrate with PayTabs payment gateway. | ||
|
||
|
@@ -11,7 +11,7 @@ Library Support: | |
|
||
# Installation | ||
|
||
`$ npm install @paytabs/[email protected].0 --save` | ||
`$ npm install @paytabs/[email protected].1 --save --force` | ||
|
||
### Follow the below steps to complete the installation | ||
|
||
|
@@ -21,8 +21,8 @@ Library Support: | |
``` | ||
allprojects { | ||
repositories { | ||
... | ||
maven { url "http://pay.cards/maven" } | ||
maven { url 'https://jitpack.io' } | ||
} | ||
} | ||
``` | ||
|
@@ -31,6 +31,7 @@ Library Support: | |
|
||
``` | ||
android { | ||
... | ||
packagingOptions { | ||
pickFirst '**/*.so' | ||
} | ||
|
@@ -60,7 +61,7 @@ import {RNPaymentSDKLibrary, PaymentSDKConfiguration, PaymentSDKBillingDetails, | |
```javascript | ||
let billingDetails = new PaymentSDKBillingDetails(name= "John Smith", | ||
email= "[email protected]", | ||
phone= "+ 2011111111", | ||
phone= "+2011111111", | ||
addressLine= "address line", | ||
city= "Dubai", | ||
state= "Dubai", | ||
|
@@ -69,7 +70,7 @@ let billingDetails = new PaymentSDKBillingDetails(name= "John Smith", | |
|
||
let shippingDetails = new PaymentSDKShippingDetails(name= "John Smith", | ||
email= "[email protected]", | ||
phone= "+ 2011111111", | ||
phone= "+2011111111", | ||
addressLine= "address line", | ||
city= "Dubai", | ||
state= "Dubai", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters