@jimrising/easymerchantsdk-react-native 1.2.8 → 1.2.9
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 +15 -16
- package/ios/easymerchantsdk.podspec +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -7,7 +7,7 @@ To add the path of sdk in your project. Open your `package.json` file and inside
|
|
|
7
7
|
|
|
8
8
|
```json
|
|
9
9
|
"dependencies": {
|
|
10
|
-
"@jimrising/easymerchantsdk-react-native": "^1.2.
|
|
10
|
+
"@jimrising/easymerchantsdk-react-native": "^1.2.9"
|
|
11
11
|
},
|
|
12
12
|
```
|
|
13
13
|
|
|
@@ -184,21 +184,23 @@ const App = () => {
|
|
|
184
184
|
|
|
185
185
|
const handleBilling = async () => {
|
|
186
186
|
const amount = '72';
|
|
187
|
+
|
|
187
188
|
const billingInfo = {
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
189
|
+
address: '123 Main Street',
|
|
190
|
+
country: 'USA',
|
|
191
|
+
state: 'California',
|
|
192
|
+
city: 'San Francisco',
|
|
193
|
+
postal_code: '94107',
|
|
194
|
+
additional_info: {
|
|
195
|
+
name: 'John Doe',
|
|
196
|
+
email: 'johndoe@example.com',
|
|
197
|
+
phone_number: '1234567890',
|
|
198
|
+
country_code: '1',
|
|
199
|
+
description: 'Testing SDK Integration'
|
|
200
|
+
}
|
|
200
201
|
};
|
|
201
202
|
|
|
203
|
+
|
|
202
204
|
const theme = {
|
|
203
205
|
bodyBackgroundColor: '#F0FDF4',
|
|
204
206
|
containerBackgroundColor: '#FFFFFF',
|
|
@@ -283,9 +285,6 @@ const styles = StyleSheet.create({
|
|
|
283
285
|
|
|
284
286
|
```
|
|
285
287
|
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
288
|
You can send `null` if billing info not available.
|
|
290
289
|
|
|
291
290
|
|