@motopays/pay-form 1.0.15 → 1.0.16-rc.0

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 +87 -78
  2. package/README.md +282 -282
  3. package/lib/index.js +1 -1
  4. package/package.json +20 -20
package/CHANGELOG.md CHANGED
@@ -1,79 +1,88 @@
1
- # Changelog
2
-
3
- ## 1.0.15
4
-
5
- ### Fixed
6
- - ApplePay button is absent when the user has already paid by ApplePay opens the form again
7
- - Overlapping "Protected by" logos
8
-
9
-
10
-
11
-
12
- ## 1.0.14
13
-
14
- ### Added
15
- - Possibility to control the location of charge terms component by settings.chargeTerms.location fields (Values: 'AfterPay', 'BeforePay')
16
- - Possibility to control the behavior of form errors (for details check settings.requiredFieldsBehavior in Readme.md)
17
-
18
-
19
-
20
- ## 1.0.13
21
-
22
- ### Added
23
- - ApplePay (requirements: Apple environment, https, userAuthToken is not empty)
24
-
25
-
26
-
27
- ## 1.0.11
28
-
29
- ### Changed
30
- - Payment requests are encrypted
31
-
32
-
33
-
34
- ## 1.0.10
35
-
36
- ### Breaking changes
37
-
38
- ##### Payment model
39
- - cusomterAuthToken field renamed to userAuthToken
40
- - customerId field renamed to userId
41
- - env field deleted (set urls.billingProfiles and urls.processing from 'settings' model instead)
42
-
43
- ##### Settings model
44
- - the model has become mandatory
45
- - isEmailFieldVisible field deleted
46
- - merchantInfo field type changed. Now it's: {
47
-  visible: boolean,
48
-  text: string,
49
-  links?: ILink[]
50
- }
51
- - isMerchantInfoVisible field renamed and moved to merchantInfo.visible
52
- - merchantLinks field renamed and moved to merchantInfo.links
53
- - urls field added instead of env field from 'payment'. Now it's: {
54
- //example: "https://processing.dev.motopays.com"
55
-  processing: string;
56
-  billingProfiles: string;
57
- }
58
-
59
- ### Added
60
- - chargeTerms field added to settings model. This field allows to configure checkboxes that have to be selected by users (otherwise, users cannot make payments).
61
- The interface of the field: {
62
-  visible: boolean,
63
-  checkboxes?: ITermCheckbox[],
64
-  text: string;
65
- }
66
-
67
- The interface of ITermCheckbox: {
68
-  text: string;
69
-  link?: ILink;
70
- }
71
- - 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"
72
- - Checkboxes
73
- - Text for the checkboxes
74
- - Payment methods icons
75
- - Transactions secured icons
76
- - Signature in response model of payment
77
-
78
- ### Changes
1
+ # Changelog
2
+
3
+ ## 1.0.16
4
+
5
+ ### Changed
6
+ - 'hidden-enabled' and 'disabled' states for settings.requiredFieldsBehavior.buttonStateUntilCorrect enables buttons when user has filled required fields (without validation). On click the validation occures
7
+
8
+
9
+
10
+
11
+
12
+ ## 1.0.15
13
+
14
+ ### Fixed
15
+ - ApplePay button is absent when the user has already paid by ApplePay opens the form again
16
+ - Overlapping "Protected by" logos
17
+
18
+
19
+
20
+
21
+ ## 1.0.14
22
+
23
+ ### Added
24
+ - Possibility to control the location of charge terms component by settings.chargeTerms.location fields (Values: 'AfterPay', 'BeforePay')
25
+ - Possibility to control the behavior of form errors (for details check settings.requiredFieldsBehavior in Readme.md)
26
+
27
+
28
+
29
+ ## 1.0.13
30
+
31
+ ### Added
32
+ - ApplePay (requirements: Apple environment, https, userAuthToken is not empty)
33
+
34
+
35
+
36
+ ## 1.0.11
37
+
38
+ ### Changed
39
+ - Payment requests are encrypted
40
+
41
+
42
+
43
+ ## 1.0.10
44
+
45
+ ### Breaking changes
46
+
47
+ ##### Payment model
48
+ - cusomterAuthToken field renamed to userAuthToken
49
+ - customerId field renamed to userId
50
+ - env field deleted (set urls.billingProfiles and urls.processing from 'settings' model instead)
51
+
52
+ ##### Settings model
53
+ - the model has become mandatory
54
+ - isEmailFieldVisible field deleted
55
+ - merchantInfo field type changed. Now it's: {
56
+  visible: boolean,
57
+  text: string,
58
+  links?: ILink[]
59
+ }
60
+ - isMerchantInfoVisible field renamed and moved to merchantInfo.visible
61
+ - merchantLinks field renamed and moved to merchantInfo.links
62
+ - urls field added instead of env field from 'payment'. Now it's: {
63
+ //example: "https://processing.dev.motopays.com"
64
+  processing: string;
65
+  billingProfiles: string;
66
+ }
67
+
68
+ ### Added
69
+ - chargeTerms field added to settings model. This field allows to configure checkboxes that have to be selected by users (otherwise, users cannot make payments).
70
+ The interface of the field: {
71
+  visible: boolean,
72
+  checkboxes?: ITermCheckbox[],
73
+  text: string;
74
+ }
75
+
76
+ The interface of ITermCheckbox: {
77
+  text: string;
78
+  link?: ILink;
79
+ }
80
+ - 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"
81
+ - Checkboxes
82
+ - Text for the checkboxes
83
+ - Payment methods icons
84
+ - Transactions secured icons
85
+ - Signature in response model of payment
86
+
87
+ ### Changes
79
88
  - Styles for links, indent and text at the bottom of the payment form