@motopays/pay-form 1.0.18 → 1.0.19

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/CHANGELOG.md CHANGED
@@ -1,9 +1,18 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.0.19
4
+
5
+ ### Added
6
+ - isSignatureRequired field added to settings model. Check README.md to see more details
7
+
8
+
9
+
10
+
11
+
3
12
  ## 1.0.18
4
13
 
5
14
  ### Added
6
- - signature in request. Check README.md to see more details
15
+ - signature field added to payment model. Check README.md to see more details
7
16
 
8
17
 
9
18
 
package/README.md CHANGED
@@ -65,6 +65,7 @@ payment$.payment = {
65
65
  payment$.settings = {
66
66
  isPhoneNumberFieldVisible: boolean;
67
67
  isCloseButtonVisible: boolean;
68
+ isSignatureRequired: boolean;
68
69
 
69
70
  urls: {
70
71
  //For example, "https://billingprofiles.dating.com
@@ -149,6 +150,7 @@ declare module "@motopays/pay-form/pay";
149
150
  | urls.processing **\*required** | string | The processing service URL |
150
151
  | urls.billingprofiles **\*required** | string | The billing profiles service URL |
151
152
  | isPhoneNumberFieldVisible | boolean | Whether to show the phone input field when creating a map |
153
+ | isSignatureRequired | boolean | Whether to show an error and deny access to the payment form if the signature field in the payment model is not set |
152
154
  | isCloseButtonVisible | boolean | Whether to show a window close button in the top right corner of the screen |
153
155
  | merchantInfo | IMerchantInfoSettings | The information displays in merchant info section |
154
156
  | merchantInfo.visible | boolean | Whether to show the merchant information |