@motopays/pay-form 1.0.11-rc.0 → 1.0.11

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