omnipay-reactnative-sdk 1.2.4 → 1.2.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +13 -14
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -78,8 +78,8 @@ function onWalletClosed() {
|
|
|
78
78
|
initiateBills({
|
|
79
79
|
phoneNumber: '08020001111',
|
|
80
80
|
onClose: onBillsClosed,
|
|
81
|
-
metadata: { userId: '12345', source: 'app' },
|
|
82
81
|
});
|
|
82
|
+
|
|
83
83
|
initiateWallet({
|
|
84
84
|
phoneNumber: '08020001111',
|
|
85
85
|
customerRef: '9ab6790',
|
|
@@ -100,7 +100,7 @@ initiateWallet({
|
|
|
100
100
|
sessionId: 'session123',
|
|
101
101
|
kycStatus: 'verified', // 'verified' | 'unverified'
|
|
102
102
|
launchPage: 'wallet',
|
|
103
|
-
metadata: {
|
|
103
|
+
metadata: { usesPinReset: false, usesPinUpdate: false },
|
|
104
104
|
});
|
|
105
105
|
```
|
|
106
106
|
|
|
@@ -108,20 +108,19 @@ initiateWallet({
|
|
|
108
108
|
|
|
109
109
|
#### OmnipayProvider Props
|
|
110
110
|
|
|
111
|
-
| Name | Type | Description
|
|
112
|
-
| --------- | ------ |
|
|
113
|
-
| color | String | color of primary buttons and links
|
|
114
|
-
| env | String | dev or prod
|
|
115
|
-
| publicKey | String | public key of the company on omnipay
|
|
116
|
-
|
|
111
|
+
| Name | Type | Description |
|
|
112
|
+
| --------- | ------ | ------------------------------------ |
|
|
113
|
+
| color | String | color of primary buttons and links |
|
|
114
|
+
| env | String | dev or prod |
|
|
115
|
+
| publicKey | String | public key of the company on omnipay |
|
|
117
116
|
|
|
118
117
|
#### initiateBills Props
|
|
119
118
|
|
|
120
|
-
| Name | Type | Description
|
|
121
|
-
| ----------- | -------- |
|
|
122
|
-
| phoneNumber | String | phone number of the customer
|
|
123
|
-
| onClose | Function | this is used to notify you when the sdk closes
|
|
124
|
-
| metadata
|
|
119
|
+
| Name | Type | Description |
|
|
120
|
+
| ----------- | -------- | -------------------------------------------------------- |
|
|
121
|
+
| phoneNumber | String | phone number of the customer |
|
|
122
|
+
| onClose | Function | this is used to notify you when the sdk closes |
|
|
123
|
+
| metadata | Object | optional object to pass additional properties to the SDK |
|
|
125
124
|
|
|
126
125
|
#### initiateWallet Props
|
|
127
126
|
|
|
@@ -146,7 +145,7 @@ initiateWallet({
|
|
|
146
145
|
| sessionId | String | unique session identifier |
|
|
147
146
|
| kycStatus | String | KYC status of the user ('verified', 'unverified') |
|
|
148
147
|
| launchPage | String | page to launch in the wallet |
|
|
149
|
-
| metadata | Object | optional object to pass additional properties to the SDK
|
|
148
|
+
| metadata | Object | optional object to pass additional properties to the SDK |
|
|
150
149
|
|
|
151
150
|
## Registration Sdk
|
|
152
151
|
|