@everymatrix/cashier-method-details 1.37.12 → 1.38.0

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@everymatrix/cashier-method-details",
3
- "version": "1.37.12",
3
+ "version": "1.38.0",
4
4
  "main": "index.js",
5
5
  "svelte": "src/index.ts",
6
6
  "scripts": {
@@ -35,5 +35,5 @@
35
35
  "publishConfig": {
36
36
  "access": "public"
37
37
  },
38
- "gitHead": "284346262a669a2f5a5891d7ba9327b0c94aa44c"
38
+ "gitHead": "7070080d10ab3c85ed4a5d2eeb2442cc9ff8fb2d"
39
39
  }
@@ -421,6 +421,7 @@
421
421
  setConfirmModalInfo();
422
422
  setErrorResponseCode();
423
423
  hideMethodsList();
424
+ window.postMessage({ type: 'StartSessionCountdown', xPaymentSessionToken, selectedPaymentMethodName: selectedpaymentmethodname }, window.location.href);
424
425
  }).finally(() => showSpinner = false)
425
426
  }
426
427
 
@@ -564,6 +565,7 @@
564
565
  showConfirmModal = true;
565
566
  setConfirmModalInfo();
566
567
  toggleDisableActionOnPage();
568
+ window.postMessage({ type: 'StartSessionCountdown', xPaymentSessionToken, selectedPaymentMethodName: selectedPaymentMethod.Name }, window.location.href);
567
569
  })
568
570
  }
569
571
 
@@ -660,6 +662,7 @@
660
662
  isProcessingTxn = false;
661
663
  toggleDisableActionOnPage();
662
664
  setRedirectInfo();
665
+ window.postMessage({ type: 'StartSessionCountdown', xPaymentSessionToken, selectedpaymentmethodname: selectedpaymentmethodname }, window.location.href);
663
666
  if (!redirectUrl) {
664
667
  showReceiptPage = true;
665
668
  }
@@ -20,18 +20,6 @@ export const TRANSLATIONS = {
20
20
  "amountDecimalError": "Amount should have 2 or less digits after decimal point",
21
21
  "invalidFieldError": "{field} is invalid",
22
22
  "backToMethodList": "BACK TO PAYMENT METHODS",
23
- "deposit": {
24
- "makeTxnButton": "DEPOSIT",
25
- "confirmText": "You're going to deposit to your account",
26
- "confirmTextWithAmount": "You're going to deposit {amount} {currency} to your account",
27
- "confirmButton": "Ok"
28
- },
29
- "withdraw": {
30
- "makeTxnButton": "WITHDRAW",
31
- "confirmText": "You're going to withdraw from your account",
32
- "confirmTextWithAmount": "You're going to withdraw {amount} {currency} from your account",
33
- "confirmButton": "Ok"
34
- },
35
23
  },
36
24
  "tr": {
37
25
  "loading": "Yükleniyor...",
@@ -53,18 +41,6 @@ export const TRANSLATIONS = {
53
41
  "amountIntError": "Tutar tam sayı olmalıdır",
54
42
  "amountDecimalError": "Tutarın ondalık noktadan sonra 2 veya daha az hanesi olmalıdır",
55
43
  "invalidFieldError": "{field} geçersiz",
56
- "backToMethodList": "ÖDEME YÖNTEMLERİNE GERİ DÖN",
57
- "deposit": {
58
- "makeTxnButton": "YATIR",
59
- "confirmText": "Hesabınıza yatırıyorsunuz",
60
- "confirmTextWithAmount": "Hesabınıza {amount} {currency} yatırıyorsunuz",
61
- "confirmButton": "Tamam"
62
- },
63
- "withdraw": {
64
- "makeTxnButton": "ÇEK",
65
- "confirmText": "Hesabınızdan çekiyorsunuz",
66
- "confirmTextWithAmount": "Hesabınıza {amount} {currency} yatırıyorsunuz",
67
- "confirmButton": "Tamam"
68
- }
44
+ "backToMethodList": "ÖDEME YÖNTEMLERİNE GERİ DÖN"
69
45
  }
70
46
  }