@motopays/pay-form 1.0.13 → 1.0.14-rc.1

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.
Files changed (4) hide show
  1. package/CHANGELOG.md +61 -61
  2. package/README.md +282 -277
  3. package/lib/index.js +1 -1
  4. package/package.json +20 -20
package/CHANGELOG.md CHANGED
@@ -1,62 +1,62 @@
1
- # Changelog
2
-
3
- ## 1.0.13
4
-
5
- ### Added
6
- - ApplePay (requirements: Apple environment, https, userAuthToken is not empty)
7
-
8
-
9
-
10
- ## 1.0.11
11
-
12
- ### Changed
13
- - Payment requests are encrypted
14
-
15
-
16
-
17
- ## 1.0.10
18
-
19
- ### Breaking changes
20
-
21
- ##### Payment model
22
- - cusomterAuthToken field renamed to userAuthToken
23
- - customerId field renamed to userId
24
- - env field deleted (set urls.billingProfiles and urls.processing from 'settings' model instead)
25
-
26
- ##### Settings model
27
- - the model has become mandatory
28
- - isEmailFieldVisible field deleted
29
- - merchantInfo field type changed. Now it's: {
30
-  visible: boolean,
31
-  text: string,
32
-  links?: ILink[]
33
- }
34
- - isMerchantInfoVisible field renamed and moved to merchantInfo.visible
35
- - merchantLinks field renamed and moved to merchantInfo.links
36
- - urls field added instead of env field from 'payment'. Now it's: {
37
- //example: "https://processing.dev.motopays.com"
38
-  processing: string;
39
-  billingProfiles: string;
40
- }
41
-
42
- ### Added
43
- - chargeTerms field added to settings model. This field allows to configure checkboxes that have to be selected by users (otherwise, users cannot make payments).
44
- The interface of the field: {
45
-  visible: boolean,
46
-  checkboxes?: ITermCheckbox[],
47
-  text: string;
48
- }
49
-
50
- The interface of ITermCheckbox: {
51
-  text: string;
52
-  link?: ILink;
53
- }
54
- - availableCardBrands field added to settings model. It's an array of strings which will be shown to users as available card payment methods. Now it supports these strings: "american-express" | "discover" | "jcb" | "maestro" | "mastercard" | "unionpay" | "visa"
55
- - Checkboxes
56
- - Text for the checkboxes
57
- - Payment methods icons
58
- - Transactions secured icons
59
- - Signature in response model of payment
60
-
61
- ### Changes
1
+ # Changelog
2
+
3
+ ## 1.0.13
4
+
5
+ ### Added
6
+ - ApplePay (requirements: Apple environment, https, userAuthToken is not empty)
7
+
8
+
9
+
10
+ ## 1.0.11
11
+
12
+ ### Changed
13
+ - Payment requests are encrypted
14
+
15
+
16
+
17
+ ## 1.0.10
18
+
19
+ ### Breaking changes
20
+
21
+ ##### Payment model
22
+ - cusomterAuthToken field renamed to userAuthToken
23
+ - customerId field renamed to userId
24
+ - env field deleted (set urls.billingProfiles and urls.processing from 'settings' model instead)
25
+
26
+ ##### Settings model
27
+ - the model has become mandatory
28
+ - isEmailFieldVisible field deleted
29
+ - merchantInfo field type changed. Now it's: {
30
+  visible: boolean,
31
+  text: string,
32
+  links?: ILink[]
33
+ }
34
+ - isMerchantInfoVisible field renamed and moved to merchantInfo.visible
35
+ - merchantLinks field renamed and moved to merchantInfo.links
36
+ - urls field added instead of env field from 'payment'. Now it's: {
37
+ //example: "https://processing.dev.motopays.com"
38
+  processing: string;
39
+  billingProfiles: string;
40
+ }
41
+
42
+ ### Added
43
+ - chargeTerms field added to settings model. This field allows to configure checkboxes that have to be selected by users (otherwise, users cannot make payments).
44
+ The interface of the field: {
45
+  visible: boolean,
46
+  checkboxes?: ITermCheckbox[],
47
+  text: string;
48
+ }
49
+
50
+ The interface of ITermCheckbox: {
51
+  text: string;
52
+  link?: ILink;
53
+ }
54
+ - availableCardBrands field added to settings model. It's an array of strings which will be shown to users as available card payment methods. Now it supports these strings: "american-express" | "discover" | "jcb" | "maestro" | "mastercard" | "unionpay" | "visa"
55
+ - Checkboxes
56
+ - Text for the checkboxes
57
+ - Payment methods icons
58
+ - Transactions secured icons
59
+ - Signature in response model of payment
60
+
61
+ ### Changes
62
62
  - Styles for links, indent and text at the bottom of the payment form