@motopays/pay-form 1.0.20-rc.0 → 1.0.21-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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,15 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.0.21
4
+
5
+ ### Added
6
+ - problem tips are added to the payment result page when the payment is rejected. This feature is controlled by the isProblemTipsListVisible field in the settings model. Check README.md for more details
7
+
8
+
9
+
10
+
11
+
12
+
3
13
  ## 1.0.20
4
14
 
5
15
  ### Added
package/README.md CHANGED
@@ -66,6 +66,7 @@ payment$.settings = {
66
66
  isPhoneNumberFieldVisible: boolean;
67
67
  isCloseButtonVisible: boolean;
68
68
  isSignatureRequired: boolean;
69
+ isProblemTipsListVisible: boolean;
69
70
 
70
71
  urls: {
71
72
  //For example, "https://billingprofiles.dating.com
@@ -152,6 +153,7 @@ declare module "@motopays/pay-form/pay";
152
153
  | isPhoneNumberFieldVisible | boolean | Whether to show the phone input field when creating a map |
153
154
  | 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 |
154
155
  | isCloseButtonVisible | boolean | Whether to show a window close button in the top right corner of the screen |
156
+ | isProblemTipsListVisible | boolean | Whether to show tips on the payment result page when the payment is rejected, if tips exist for the error status code that occurred |
155
157
  | merchantInfo | IMerchantInfoSettings | The information displays in merchant info section |
156
158
  | merchantInfo.visible | boolean | Whether to show the merchant information |
157
159
  | merchantInfo.text | string | The information about a merchant |