@motopays/pay-form 2.0.3 → 2.1.0-rc.1

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,20 @@
1
1
  # Changelog
2
2
 
3
+ ## 2.1.0
4
+
5
+ ### Added
6
+ - isTaxVisible field in settings model. Read more details in README.md
7
+
8
+ ### Fixed
9
+ - popup blocking during payment processing
10
+
11
+
12
+
13
+
14
+
15
+
16
+
17
+
3
18
  ## 2.0.3
4
19
 
5
20
  ### Changed
package/README.md CHANGED
@@ -201,6 +201,7 @@ export class AppComponent {
201
201
  | 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 |
202
202
  | isCloseButtonVisible | boolean | Whether to show a window close button in the top right corner of the screen |
203
203
  | isHeaderVisible | boolean | Whether to show a header in the top of the screen |
204
+ | isTaxVisible | boolean | Whether to show a tax description (taxDescription field in the ILanguage model) |
204
205
  | closePaymentRedirect | boolean | Whether to close a window that was open on 3ds or apm pages after a redirect to returnUrl |
205
206
  | 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 |
206
207
  | languageSettings | ILanguageSettings | The language settings
@@ -352,6 +353,7 @@ const settings: ISettings = {
352
353
  }
353
354
  },
354
355
  pay: 'custom',
356
+ taxDescription: 'custom',
355
357
  paymentProcessing: 'custom',
356
358
  paymentResult: {
357
359
  success: 'custom',
package/index.d.ts CHANGED
@@ -68,6 +68,7 @@ export interface ILanguage {
68
68
  };
69
69
  totalHeader: string;
70
70
  pay: string;
71
+ taxDescription?: string;
71
72
  availableCardBrandsHeader: string;
72
73
  transactionProtectedBy: string;
73
74
  existingCards: {
@@ -118,6 +119,7 @@ export interface ISettings {
118
119
  isProblemTipsListVisible?: boolean;
119
120
  isSignatureRequired?: boolean;
120
121
  isHeaderVisible?: boolean;
122
+ isTaxVisible?: boolean;
121
123
  closePaymentRedirect?: boolean;
122
124
  languageSettings?: ILanguageSettings;
123
125
  urls: IServicesUrls;