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