@jimrising/easymerchantsdk-react-native 2.1.8 → 2.1.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 CHANGED
@@ -19,7 +19,7 @@ Add the EasyMerchant SDK to your `package.json` under `dependencies`:
19
19
 
20
20
  ```json
21
21
  "dependencies": {
22
- "@jimrising/easymerchantsdk-react-native": "^2.1.8"
22
+ "@jimrising/easymerchantsdk-react-native": "^2.1.9"
23
23
  }
24
24
  ```
25
25
 
@@ -227,7 +227,7 @@ const config = {
227
227
 
228
228
  **Notes**:
229
229
  - Replace `apiKey` and `secretKey` with your actual credentials.
230
- - Ensure `paymentMethods` includes at least one valid method (`'card'` or `'ach'` for Android; mapped to `'Card'` or `'Bank'` for iOS).
230
+ - Ensure `paymentMethods` includes at least one valid method (`'card'` or `'ach'` ).
231
231
  - For recurring payments, set `is_recurring: true` and ensure `recurringIntervals` has at least one interval (`'daily'`, `'weekly'`, `'monthly'`).
232
232
  - Set `fields.billing` and `fields.additional` to empty arrays (`[]`) if not needed.
233
233
  - Adjust `appearanceSettings` colors to match your app’s design.
@@ -400,9 +400,7 @@ const checkPaymentReference = async (refToken) => {
400
400
  ## Notes
401
401
 
402
402
  - **Payment Methods**:
403
- - Android: Use `['card', 'ach']` (lowercase).
404
- - iOS: Methods are mapped to `['Card', 'Bank']` internally.
405
- - Ensure at least one method is included in `config.paymentMethods`.
403
+ - Use `['card', 'ach']` (lowercase).
406
404
  - **Recurring Payments**: Set `is_recurring: true` and include at least one interval in `recurringIntervals`.
407
405
  - **Security**: Store `apiKey` and `secretKey` securely (e.g., in environment variables) and ensure they match the `environment`.
408
406
  - **Optional Fields**: Set `fields.billing` and `fields.additional` to `[]` if not needed. Use `fields.visibility` to control display.
@@ -1,6 +1,6 @@
1
1
  Pod::Spec.new do |s|
2
2
  s.name = 'easymerchantsdk'
3
- s.version = '2.1.8'
3
+ s.version = '2.1.9'
4
4
  s.summary = 'A React Native SDK for Easy Merchant.'
5
5
  s.description = <<-DESC
6
6
  A React Native SDK to enable Easy Merchant functionality in mobile applications.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jimrising/easymerchantsdk-react-native",
3
- "version": "2.1.8",
3
+ "version": "2.1.9",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {