@zonos/elements 1.3.138 → 1.3.140
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/dist/cjs/{cart-efd80d55.js → cart-e1b59d03.js} +280 -41
- package/dist/cjs/index.cjs.js +12 -13
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{paypal-50e03778.js → paypal-86cc51e4.js} +13 -1
- package/dist/cjs/zonos-address_7.cjs.entry.js +10 -10
- package/dist/cjs/zonos-badge.cjs.entry.js +3 -3
- package/dist/cjs/zonos-button_3.cjs.entry.js +3 -3
- package/dist/cjs/zonos-card.cjs.entry.js +4 -4
- package/dist/cjs/zonos-cart-items_13.cjs.entry.js +94 -26
- package/dist/cjs/zonos-checkout.cjs.entry.js +5 -3
- package/dist/cjs/zonos-collapse.cjs.entry.js +2 -2
- package/dist/cjs/zonos-component.cjs.entry.js +1 -1
- package/dist/cjs/zonos-controller.cjs.entry.js +2 -2
- package/dist/cjs/zonos-country-flag.cjs.entry.js +1 -1
- package/dist/cjs/zonos-country-select_4.cjs.entry.js +9 -9
- package/dist/cjs/zonos-elements.cjs.js +1 -1
- package/dist/cjs/zonos-hello-dialog.cjs.entry.js +5 -5
- package/dist/cjs/zonos-hello.cjs.entry.js +2 -2
- package/dist/cjs/zonos-input.cjs.entry.js +4 -4
- package/dist/cjs/zonos-language-select_2.cjs.entry.js +5 -5
- package/dist/cjs/zonos-link.cjs.entry.js +1 -1
- package/dist/cjs/zonos-logo.cjs.entry.js +2 -2
- package/dist/cjs/zonos-notification_3.cjs.entry.js +4 -4
- package/dist/cjs/zonos-toggle.cjs.entry.js +2 -2
- package/dist/cjs/zonos-tooltip.cjs.entry.js +2 -2
- package/dist/cjs/zonos-v-stack.cjs.entry.js +2 -2
- package/dist/collection/components/checkout/zonos-checkout/zonos-cart-subtotal/zonos-cart-subtotal.js +19 -4
- package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-payment/zonos-checkout-payment.js +24 -2
- package/dist/collection/components/checkout/zonos-checkout/zonos-checkout.js +4 -2
- package/dist/collection/components/checkout/zonos-checkout/zonos-shipping/zonos-shipping.js +23 -11
- package/dist/collection/components/common/zonos-badge/zonos-badge.js +3 -3
- package/dist/collection/components/common/zonos-button/zonos-button.js +3 -3
- package/dist/collection/components/common/zonos-card/zonos-card.js +4 -4
- package/dist/collection/components/common/zonos-checkbox/zonos-checkbox.js +3 -3
- package/dist/collection/components/common/zonos-checkout-progress-tabs/zonos-checkout-progress-tabs.js +11 -4
- package/dist/collection/components/common/zonos-collapse/zonos-collapse.js +2 -2
- package/dist/collection/components/common/zonos-confirm-dialog/zonos-confirm-dialog.js +3 -3
- package/dist/collection/components/common/zonos-country-select/zonos-country-select.js +2 -2
- package/dist/collection/components/common/zonos-custom-message/zonos-custom-message.js +2 -2
- package/dist/collection/components/common/zonos-dialog/zonos-dialog.js +3 -3
- package/dist/collection/components/common/zonos-input/zonos-input.js +4 -4
- package/dist/collection/components/common/zonos-language-select/zonos-language-select.js +2 -2
- package/dist/collection/components/common/zonos-link/zonos-link.js +1 -1
- package/dist/collection/components/common/zonos-logo/zonos-logo.js +2 -2
- package/dist/collection/components/common/zonos-rest-state/zonos-rest-state.js +3 -3
- package/dist/collection/components/common/zonos-select-dialog-header/zonos-select-dialog-header.js +2 -2
- package/dist/collection/components/common/zonos-toggle/zonos-toggle.js +2 -2
- package/dist/collection/components/common/zonos-tooltip/zonos-tooltip.js +2 -2
- package/dist/collection/components/common/zonos-v-stack/zonos-v-stack.js +2 -2
- package/dist/collection/components/common/zonos-virtual-scroll/zonos-virtual-scroll.js +2 -2
- package/dist/collection/components/component-template/zonos-component/zonos-component.js +1 -1
- package/dist/collection/components/hello/zonos-hello/zonos-hello.js +1 -1
- package/dist/collection/components/hello/zonos-hello-dialog/zonos-hello-dialog-footer/zonos-hello-dialog-footer.js +2 -2
- package/dist/collection/components/hello/zonos-hello-dialog/zonos-hello-dialog.js +4 -4
- package/dist/collection/components/main/zonos-controller.js +1 -1
- package/dist/collection/components/paypal/zonos-paypal-payment.js +1 -1
- package/dist/collection/components/store/checkout/paypal.js +14 -1
- package/dist/collection/components/store/checkout/stripe.js +9 -0
- package/dist/collection/components/store/hello/localization.js +3 -1
- package/dist/collection/components/store/translationStore/strings.arabic.js +11 -2
- package/dist/collection/components/store/translationStore/strings.base.js +11 -2
- package/dist/collection/components/store/translationStore/strings.chinese.js +11 -2
- package/dist/collection/components/store/translationStore/strings.danish.js +11 -2
- package/dist/collection/components/store/translationStore/strings.dutch.js +11 -2
- package/dist/collection/components/store/translationStore/strings.french.js +11 -2
- package/dist/collection/components/store/translationStore/strings.german.js +11 -2
- package/dist/collection/components/store/translationStore/strings.hebrew.js +11 -2
- package/dist/collection/components/store/translationStore/strings.indonesian.js +11 -2
- package/dist/collection/components/store/translationStore/strings.italian.js +11 -2
- package/dist/collection/components/store/translationStore/strings.japanese.js +11 -2
- package/dist/collection/components/store/translationStore/strings.korean.js +11 -2
- package/dist/collection/components/store/translationStore/strings.norwegian.js +11 -2
- package/dist/collection/components/store/translationStore/strings.polish.js +11 -2
- package/dist/collection/components/store/translationStore/strings.portuguese.js +11 -2
- package/dist/collection/components/store/translationStore/strings.russian.js +11 -2
- package/dist/collection/components/store/translationStore/strings.spanish.js +11 -2
- package/dist/collection/components/store/translationStore/strings.swedish.js +11 -2
- package/dist/collection/components/store/translationStore/strings.turkish.js +11 -2
- package/dist/collection/components/store/translationStore/strings.vietnamese.js +11 -2
- package/dist/collection/components/stripe/zonos-address/zonos-address.js +1 -1
- package/dist/collection/components/stripe/zonos-link-authentication/zonos-link-authentication.js +2 -2
- package/dist/collection/components/stripe/zonos-payment/zonos-payment.js +1 -1
- package/dist/collection/components/utils/api/getCheckoutSession.js +14 -0
- package/dist/collection/components/utils/resetToSelectedTab.js +17 -0
- package/dist/collection/components/utils/validateCheckoutSession.js +39 -0
- package/dist/collection/scripts/_zonosBase.js +5 -6
- package/dist/esm/{cart-f0bf7202.js → cart-709f053f.js} +281 -43
- package/dist/esm/index.js +12 -13
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{paypal-65d40ba3.js → paypal-77a60c44.js} +13 -1
- package/dist/esm/zonos-address_7.entry.js +10 -10
- package/dist/esm/zonos-badge.entry.js +3 -3
- package/dist/esm/zonos-button_3.entry.js +3 -3
- package/dist/esm/zonos-card.entry.js +4 -4
- package/dist/esm/zonos-cart-items_13.entry.js +94 -26
- package/dist/esm/zonos-checkout.entry.js +5 -3
- package/dist/esm/zonos-collapse.entry.js +2 -2
- package/dist/esm/zonos-component.entry.js +1 -1
- package/dist/esm/zonos-controller.entry.js +2 -2
- package/dist/esm/zonos-country-flag.entry.js +1 -1
- package/dist/esm/zonos-country-select_4.entry.js +9 -9
- package/dist/esm/zonos-elements.js +1 -1
- package/dist/esm/zonos-hello-dialog.entry.js +5 -5
- package/dist/esm/zonos-hello.entry.js +2 -2
- package/dist/esm/zonos-input.entry.js +4 -4
- package/dist/esm/zonos-language-select_2.entry.js +5 -5
- package/dist/esm/zonos-link.entry.js +1 -1
- package/dist/esm/zonos-logo.entry.js +2 -2
- package/dist/esm/zonos-notification_3.entry.js +4 -4
- package/dist/esm/zonos-toggle.entry.js +2 -2
- package/dist/esm/zonos-tooltip.entry.js +2 -2
- package/dist/esm/zonos-v-stack.entry.js +2 -2
- package/dist/esm-es5/cart-709f053f.js +1 -0
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/paypal-77a60c44.js +17 -0
- package/dist/esm-es5/zonos-address_7.entry.js +1 -1
- package/dist/esm-es5/zonos-badge.entry.js +1 -1
- package/dist/esm-es5/zonos-button_3.entry.js +1 -1
- package/dist/esm-es5/zonos-card.entry.js +1 -1
- package/dist/esm-es5/zonos-cart-items_13.entry.js +1 -1
- package/dist/esm-es5/zonos-checkout.entry.js +1 -1
- package/dist/esm-es5/zonos-collapse.entry.js +1 -1
- package/dist/esm-es5/zonos-component.entry.js +1 -1
- package/dist/esm-es5/zonos-controller.entry.js +1 -1
- package/dist/esm-es5/zonos-country-flag.entry.js +1 -1
- package/dist/esm-es5/zonos-country-select_4.entry.js +1 -1
- package/dist/esm-es5/zonos-elements.js +1 -1
- package/dist/esm-es5/zonos-hello-dialog.entry.js +1 -1
- package/dist/esm-es5/zonos-hello.entry.js +1 -1
- package/dist/esm-es5/zonos-input.entry.js +1 -1
- package/dist/esm-es5/zonos-language-select_2.entry.js +1 -1
- package/dist/esm-es5/zonos-link.entry.js +1 -1
- package/dist/esm-es5/zonos-logo.entry.js +1 -1
- package/dist/esm-es5/zonos-notification_3.entry.js +1 -1
- package/dist/esm-es5/zonos-toggle.entry.js +1 -1
- package/dist/esm-es5/zonos-tooltip.entry.js +1 -1
- package/dist/esm-es5/zonos-v-stack.entry.js +1 -1
- package/dist/scripts/index.js +1 -1
- package/dist/scripts/loadZonos.js +1 -1
- package/dist/scripts/zonos.js +1 -1
- package/dist/types/components/checkout/zonos-checkout/zonos-checkout-payment/zonos-checkout-payment.d.ts +6 -0
- package/dist/types/components/store/checkout/stripe.d.ts +4 -0
- package/dist/types/components/store/translationStore/strings.arabic.d.ts +10 -1
- package/dist/types/components/store/translationStore/strings.base.d.ts +10 -1
- package/dist/types/components/store/translationStore/strings.chinese.d.ts +10 -1
- package/dist/types/components/store/translationStore/strings.danish.d.ts +10 -1
- package/dist/types/components/store/translationStore/strings.dutch.d.ts +10 -1
- package/dist/types/components/store/translationStore/strings.french.d.ts +10 -1
- package/dist/types/components/store/translationStore/strings.german.d.ts +10 -1
- package/dist/types/components/store/translationStore/strings.hebrew.d.ts +10 -1
- package/dist/types/components/store/translationStore/strings.indonesian.d.ts +10 -1
- package/dist/types/components/store/translationStore/strings.italian.d.ts +10 -1
- package/dist/types/components/store/translationStore/strings.japanese.d.ts +10 -1
- package/dist/types/components/store/translationStore/strings.korean.d.ts +10 -1
- package/dist/types/components/store/translationStore/strings.norwegian.d.ts +10 -1
- package/dist/types/components/store/translationStore/strings.polish.d.ts +10 -1
- package/dist/types/components/store/translationStore/strings.portuguese.d.ts +10 -1
- package/dist/types/components/store/translationStore/strings.russian.d.ts +10 -1
- package/dist/types/components/store/translationStore/strings.spanish.d.ts +10 -1
- package/dist/types/components/store/translationStore/strings.swedish.d.ts +10 -1
- package/dist/types/components/store/translationStore/strings.turkish.d.ts +10 -1
- package/dist/types/components/store/translationStore/strings.vietnamese.d.ts +10 -1
- package/dist/types/components/store/translationStore.d.ts +1 -1
- package/dist/types/components/utils/api/getCheckoutSession.d.ts +9 -0
- package/dist/types/components/utils/resetToSelectedTab.d.ts +12 -0
- package/dist/types/components/utils/validateCheckoutSession.d.ts +9 -0
- package/dist/types/types/checkout/api/CheckoutSession.d.ts +5 -1
- package/dist/types/types/generated/graphql.internal.types.d.ts +112 -0
- package/dist/types/types/generated/graphql.internal.types.ts +102 -1
- package/dist/zonos-elements/assets/RemoveIcon.svg +1 -1
- package/dist/zonos-elements/index.esm.js +1 -1
- package/dist/zonos-elements/{p-bbd5119f.entry.js → p-00d4bff1.entry.js} +1 -1
- package/dist/zonos-elements/p-010f5797.system.entry.js +1 -0
- package/dist/zonos-elements/{p-7b34be6e.system.entry.js → p-01ad5be8.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-856bf7a4.entry.js → p-04a6a167.entry.js} +1 -1
- package/dist/zonos-elements/{p-b500f0d1.system.entry.js → p-0aee2e4c.system.entry.js} +1 -1
- package/dist/zonos-elements/p-0c027d2e.entry.js +1 -0
- package/dist/zonos-elements/{p-59d0f69b.system.entry.js → p-1c4ff7b2.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-1af0a800.system.entry.js → p-22d69480.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-d2a77699.system.entry.js → p-25c7e4fa.system.entry.js} +1 -1
- package/dist/zonos-elements/p-26b24d0b.system.js +1 -0
- package/dist/zonos-elements/{p-ba26fc96.system.entry.js → p-289ded20.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-c9c4e557.entry.js → p-35b8dcde.entry.js} +1 -1
- package/dist/zonos-elements/{p-acae88db.entry.js → p-3a26cae5.entry.js} +1 -1
- package/dist/zonos-elements/{p-1360c4b5.system.entry.js → p-3dd503fd.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-24488838.system.entry.js → p-4319600a.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-1393d259.system.entry.js → p-461624ce.system.entry.js} +1 -1
- package/dist/zonos-elements/p-49e4ca08.system.entry.js +1 -0
- package/dist/zonos-elements/{p-e44ab8b8.entry.js → p-5c32689e.entry.js} +1 -1
- package/dist/zonos-elements/{p-47efac28.system.entry.js → p-64a04391.system.entry.js} +1 -1
- package/dist/zonos-elements/p-6b0aa1bb.system.js +17 -0
- package/dist/zonos-elements/{p-22d099fb.system.entry.js → p-7a60deef.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-84df573a.entry.js → p-7acf6802.entry.js} +1 -1
- package/dist/zonos-elements/{p-f9f48476.entry.js → p-7ef573f0.entry.js} +1 -1
- package/dist/zonos-elements/{p-37a127fc.entry.js → p-8368a79e.entry.js} +1 -1
- package/dist/zonos-elements/{p-5775cd68.system.entry.js → p-87ed2e17.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-1ac0f941.system.entry.js → p-896ab1ed.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-c48e735d.system.entry.js → p-896d62a4.system.entry.js} +1 -1
- package/dist/zonos-elements/p-8f9affb3.system.entry.js +1 -0
- package/dist/zonos-elements/{p-234b3f74.entry.js → p-9589bd08.entry.js} +1 -1
- package/dist/zonos-elements/{p-22e2f162.entry.js → p-9b59704a.entry.js} +1 -1
- package/dist/zonos-elements/p-a58731ec.system.js +1 -0
- package/dist/zonos-elements/{p-bad5200e.entry.js → p-ad1d6ea2.entry.js} +1 -1
- package/dist/zonos-elements/{p-b9e4e410.entry.js → p-ad4bc6a2.entry.js} +1 -1
- package/dist/zonos-elements/p-afffdfc2.js +1 -0
- package/dist/zonos-elements/{p-4ab4ba81.entry.js → p-b832ec52.entry.js} +1 -1
- package/dist/zonos-elements/{p-f0ce4d90.entry.js → p-b9efc660.entry.js} +1 -1
- package/dist/zonos-elements/p-be2feba6.entry.js +1 -0
- package/dist/zonos-elements/p-c78dd680.system.js +1 -1
- package/dist/zonos-elements/{p-a0cc4dd2.entry.js → p-cd1fd09e.entry.js} +1 -1
- package/dist/zonos-elements/{p-52a5bd4c.system.entry.js → p-cf72603f.system.entry.js} +1 -1
- package/dist/zonos-elements/p-d35376d3.js +17 -0
- package/dist/zonos-elements/{p-95f26bc3.entry.js → p-d633ced9.entry.js} +1 -1
- package/dist/zonos-elements/p-e6c31531.entry.js +1 -0
- package/dist/zonos-elements/{p-de020c11.system.entry.js → p-ee1e1d94.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-be468605.system.entry.js → p-f07c01c5.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-8880d648.entry.js → p-f2867195.entry.js} +1 -1
- package/dist/zonos-elements/{p-b088f65a.entry.js → p-f8ca3e71.entry.js} +1 -1
- package/dist/zonos-elements/{p-c0719959.system.entry.js → p-ffe4a999.system.entry.js} +1 -1
- package/dist/zonos-elements/zonos-elements.esm.js +1 -1
- package/package.json +2 -1
- package/dist/esm-es5/cart-f0bf7202.js +0 -1
- package/dist/esm-es5/paypal-65d40ba3.js +0 -17
- package/dist/zonos-elements/p-09636917.js +0 -1
- package/dist/zonos-elements/p-128b1b70.system.entry.js +0 -1
- package/dist/zonos-elements/p-31a776aa.system.entry.js +0 -1
- package/dist/zonos-elements/p-4628832d.system.js +0 -1
- package/dist/zonos-elements/p-58983c97.entry.js +0 -1
- package/dist/zonos-elements/p-6e24b0cf.system.js +0 -17
- package/dist/zonos-elements/p-845ad2b8.js +0 -17
- package/dist/zonos-elements/p-8e25910c.entry.js +0 -1
- package/dist/zonos-elements/p-b6005449.system.entry.js +0 -1
- package/dist/zonos-elements/p-c5bff157.entry.js +0 -1
- package/dist/zonos-elements/p-e309e4a3.system.js +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { c as createStore, z as zonosStore } from './zonosStore-c493c4fe.js';
|
|
2
|
-
import { h as handleFetch, a as logError, l as log, f as fallbackApiList, s as sendErrorLog, j as jsonParse } from './handleFetch-22cb914b.js';
|
|
2
|
+
import { h as handleFetch, a as logError, l as log, f as fallbackApiList, s as sendErrorLog, b as allLogs, j as jsonParse } from './handleFetch-22cb914b.js';
|
|
3
3
|
import { i as isDarkColor } from './isDarkColor-c6924924.js';
|
|
4
4
|
import { g as getBorderRadius } from './getBorderRadius-bdd709e7.js';
|
|
5
5
|
|
|
@@ -118,8 +118,8 @@ const stringsArabic = {
|
|
|
118
118
|
'Error updating Checkout': {
|
|
119
119
|
value: 'خطأ في تحديث جلسة الخروج',
|
|
120
120
|
},
|
|
121
|
-
Estimated: {
|
|
122
|
-
value: 'مقدر',
|
|
121
|
+
'Estimated [amount]': {
|
|
122
|
+
value: 'مقدر [amount]',
|
|
123
123
|
},
|
|
124
124
|
'Expected delivery': {
|
|
125
125
|
value: 'التوصيل المتوقع',
|
|
@@ -175,6 +175,9 @@ const stringsArabic = {
|
|
|
175
175
|
'No countries found': {
|
|
176
176
|
value: 'لم يتم العثور على دول',
|
|
177
177
|
},
|
|
178
|
+
'No shipment rating selected. Please go back to the "Shipping" step and select a shipment rating to proceed.': {
|
|
179
|
+
value: 'لم يتم اختيار تقييم الشحنة. يرجى العودة إلى خطوة "الشحن" واختيار تقييم الشحنة للمتابعة.',
|
|
180
|
+
},
|
|
178
181
|
'No shipping method selected': {
|
|
179
182
|
value: 'لم يتم تحديد طريقة الشحن',
|
|
180
183
|
},
|
|
@@ -334,6 +337,9 @@ const stringsArabic = {
|
|
|
334
337
|
Success: {
|
|
335
338
|
value: 'نجاح',
|
|
336
339
|
},
|
|
340
|
+
'Taxes and fees': {
|
|
341
|
+
value: 'الضرائب والرسوم',
|
|
342
|
+
},
|
|
337
343
|
'Taxes will apply to all orders.': {
|
|
338
344
|
value: 'سيتم تطبيق الضرائب على جميع الطلبات.',
|
|
339
345
|
},
|
|
@@ -367,6 +373,9 @@ const stringsArabic = {
|
|
|
367
373
|
'Unable to check inventory. Please try again.': {
|
|
368
374
|
value: 'تعذر التحقق من المخزون. حاول مرة أخرى.',
|
|
369
375
|
},
|
|
376
|
+
'Unable to retrieve the checkout session at the moment. Please try again or contact our support team.': {
|
|
377
|
+
value: 'غير قادر على استرداد جلسة الدفع في الوقت الحالي. يرجى المحاولة مرة أخرى أو الاتصال بفريق الدعم لدينا.',
|
|
378
|
+
},
|
|
370
379
|
'Update address': {
|
|
371
380
|
value: 'تحديث العنوان',
|
|
372
381
|
},
|
|
@@ -553,8 +562,8 @@ const stringsBase = {
|
|
|
553
562
|
'Error updating Checkout': {
|
|
554
563
|
value: 'Error updating Checkout',
|
|
555
564
|
},
|
|
556
|
-
Estimated: {
|
|
557
|
-
value: 'Estimated',
|
|
565
|
+
'Estimated [amount]': {
|
|
566
|
+
value: 'Estimated [amount]',
|
|
558
567
|
},
|
|
559
568
|
'Expected delivery': {
|
|
560
569
|
value: 'Expected delivery',
|
|
@@ -610,6 +619,9 @@ const stringsBase = {
|
|
|
610
619
|
'No countries found': {
|
|
611
620
|
value: 'No countries found',
|
|
612
621
|
},
|
|
622
|
+
'No shipment rating selected. Please go back to the "Shipping" step and select a shipment rating to proceed.': {
|
|
623
|
+
value: 'No shipment rating selected. Please go back to the "Shipping" step and select a shipment rating to proceed.',
|
|
624
|
+
},
|
|
613
625
|
'No shipping method selected': {
|
|
614
626
|
value: 'No shipping method selected',
|
|
615
627
|
},
|
|
@@ -769,6 +781,9 @@ const stringsBase = {
|
|
|
769
781
|
Success: {
|
|
770
782
|
value: 'Success',
|
|
771
783
|
},
|
|
784
|
+
'Taxes and fees': {
|
|
785
|
+
value: 'Taxes and fees',
|
|
786
|
+
},
|
|
772
787
|
'Taxes will apply to all orders.': {
|
|
773
788
|
value: 'Taxes will apply to all orders.',
|
|
774
789
|
},
|
|
@@ -802,6 +817,9 @@ const stringsBase = {
|
|
|
802
817
|
'Unable to check inventory. Please try again.': {
|
|
803
818
|
value: 'Unable to check inventory. Please try again.',
|
|
804
819
|
},
|
|
820
|
+
'Unable to retrieve the checkout session at the moment. Please try again or contact our support team.': {
|
|
821
|
+
value: 'Unable to retrieve the checkout session at the moment. Please try again or contact our support team.',
|
|
822
|
+
},
|
|
805
823
|
'Update address': {
|
|
806
824
|
value: 'Update address',
|
|
807
825
|
},
|
|
@@ -988,8 +1006,8 @@ const stringsChinese = {
|
|
|
988
1006
|
'Error updating Checkout': {
|
|
989
1007
|
value: '更新结账时出错',
|
|
990
1008
|
},
|
|
991
|
-
Estimated: {
|
|
992
|
-
value: '
|
|
1009
|
+
'Estimated [amount]': {
|
|
1010
|
+
value: '预计 [amount]',
|
|
993
1011
|
},
|
|
994
1012
|
'Expected delivery': {
|
|
995
1013
|
value: '预计送达',
|
|
@@ -1045,6 +1063,9 @@ const stringsChinese = {
|
|
|
1045
1063
|
'No countries found': {
|
|
1046
1064
|
value: '未找到国家',
|
|
1047
1065
|
},
|
|
1066
|
+
'No shipment rating selected. Please go back to the "Shipping" step and select a shipment rating to proceed.': {
|
|
1067
|
+
value: '未选择运费评级。请返回到"运输"步骤并选择运费评级以继续。',
|
|
1068
|
+
},
|
|
1048
1069
|
'No shipping method selected': {
|
|
1049
1070
|
value: '未选择运输方式',
|
|
1050
1071
|
},
|
|
@@ -1204,6 +1225,9 @@ const stringsChinese = {
|
|
|
1204
1225
|
Success: {
|
|
1205
1226
|
value: '成功',
|
|
1206
1227
|
},
|
|
1228
|
+
'Taxes and fees': {
|
|
1229
|
+
value: '税费',
|
|
1230
|
+
},
|
|
1207
1231
|
'Taxes will apply to all orders.': {
|
|
1208
1232
|
value: '所有订单将适用税款。',
|
|
1209
1233
|
},
|
|
@@ -1237,6 +1261,9 @@ const stringsChinese = {
|
|
|
1237
1261
|
'Unable to check inventory. Please try again.': {
|
|
1238
1262
|
value: '无法检查库存。请再试一次。',
|
|
1239
1263
|
},
|
|
1264
|
+
'Unable to retrieve the checkout session at the moment. Please try again or contact our support team.': {
|
|
1265
|
+
value: '目前无法检索结账会话。请重试或联系我们的支持团队。',
|
|
1266
|
+
},
|
|
1240
1267
|
'Update address': {
|
|
1241
1268
|
value: '更新地址',
|
|
1242
1269
|
},
|
|
@@ -1423,8 +1450,8 @@ const stringsDanish = {
|
|
|
1423
1450
|
'Error updating Checkout': {
|
|
1424
1451
|
value: 'Fejl ved opdatering af betalingssession',
|
|
1425
1452
|
},
|
|
1426
|
-
Estimated: {
|
|
1427
|
-
value: 'Anslået',
|
|
1453
|
+
'Estimated [amount]': {
|
|
1454
|
+
value: 'Anslået [amount]',
|
|
1428
1455
|
},
|
|
1429
1456
|
'Expected delivery': {
|
|
1430
1457
|
value: 'Forventet levering',
|
|
@@ -1480,6 +1507,9 @@ const stringsDanish = {
|
|
|
1480
1507
|
'No countries found': {
|
|
1481
1508
|
value: 'Ingen lande fundet',
|
|
1482
1509
|
},
|
|
1510
|
+
'No shipment rating selected. Please go back to the "Shipping" step and select a shipment rating to proceed.': {
|
|
1511
|
+
value: 'Ingen forsendelsesvurdering valgt. Gå venligst tilbage til "Forsendelse"-trinnet og vælg en forsendelsesvurdering for at fortsætte.',
|
|
1512
|
+
},
|
|
1483
1513
|
'No shipping method selected': {
|
|
1484
1514
|
value: 'Ingen leveringsmetode valgt',
|
|
1485
1515
|
},
|
|
@@ -1639,6 +1669,9 @@ const stringsDanish = {
|
|
|
1639
1669
|
Success: {
|
|
1640
1670
|
value: 'Succes',
|
|
1641
1671
|
},
|
|
1672
|
+
'Taxes and fees': {
|
|
1673
|
+
value: 'Skatter og gebyrer',
|
|
1674
|
+
},
|
|
1642
1675
|
'Taxes will apply to all orders.': {
|
|
1643
1676
|
value: 'Skatter vil gælde for alle ordrer.',
|
|
1644
1677
|
},
|
|
@@ -1672,6 +1705,9 @@ const stringsDanish = {
|
|
|
1672
1705
|
'Unable to check inventory. Please try again.': {
|
|
1673
1706
|
value: 'Kunne ikke tjekke lagerbeholdningen. Prøv venligst igen.',
|
|
1674
1707
|
},
|
|
1708
|
+
'Unable to retrieve the checkout session at the moment. Please try again or contact our support team.': {
|
|
1709
|
+
value: 'Kan ikke hente betalingssessionen i øjeblikket. Prøv venligst igen eller kontakt vores supportteam.',
|
|
1710
|
+
},
|
|
1675
1711
|
'Update address': {
|
|
1676
1712
|
value: 'Opdater adresse',
|
|
1677
1713
|
},
|
|
@@ -1858,8 +1894,8 @@ const stringsDutch = {
|
|
|
1858
1894
|
'Error updating Checkout': {
|
|
1859
1895
|
value: 'Fout bij het bijwerken van afrekening',
|
|
1860
1896
|
},
|
|
1861
|
-
Estimated: {
|
|
1862
|
-
value: 'Geschat',
|
|
1897
|
+
'Estimated [amount]': {
|
|
1898
|
+
value: 'Geschat [amount]',
|
|
1863
1899
|
},
|
|
1864
1900
|
'Expected delivery': {
|
|
1865
1901
|
value: 'Verwachte levering',
|
|
@@ -1915,6 +1951,9 @@ const stringsDutch = {
|
|
|
1915
1951
|
'No countries found': {
|
|
1916
1952
|
value: 'Geen landen gevonden',
|
|
1917
1953
|
},
|
|
1954
|
+
'No shipment rating selected. Please go back to the "Shipping" step and select a shipment rating to proceed.': {
|
|
1955
|
+
value: 'Geen verzendbeoordeling geselecteerd. Ga alstublieft terug naar de stap "Verzending" en selecteer een verzendbeoordeling om door te gaan.',
|
|
1956
|
+
},
|
|
1918
1957
|
'No shipping method selected': {
|
|
1919
1958
|
value: 'Geen verzendmethode geselecteerd',
|
|
1920
1959
|
},
|
|
@@ -2074,6 +2113,9 @@ const stringsDutch = {
|
|
|
2074
2113
|
Success: {
|
|
2075
2114
|
value: 'Succes',
|
|
2076
2115
|
},
|
|
2116
|
+
'Taxes and fees': {
|
|
2117
|
+
value: 'Belastingen en kosten',
|
|
2118
|
+
},
|
|
2077
2119
|
'Taxes will apply to all orders.': {
|
|
2078
2120
|
value: 'Belastingen zullen van toepassing zijn op alle bestellingen.',
|
|
2079
2121
|
},
|
|
@@ -2107,6 +2149,9 @@ const stringsDutch = {
|
|
|
2107
2149
|
'Unable to check inventory. Please try again.': {
|
|
2108
2150
|
value: 'Kon de voorraad niet controleren. Probeer het opnieuw.',
|
|
2109
2151
|
},
|
|
2152
|
+
'Unable to retrieve the checkout session at the moment. Please try again or contact our support team.': {
|
|
2153
|
+
value: 'Kan de betaal sessie momenteel niet ophalen. Probeer het opnieuw of neem contact op met ons ondersteuningsteam.',
|
|
2154
|
+
},
|
|
2110
2155
|
'Update address': {
|
|
2111
2156
|
value: 'Adres bijwerken',
|
|
2112
2157
|
},
|
|
@@ -2293,8 +2338,8 @@ const stringsFrench = {
|
|
|
2293
2338
|
'Error updating Checkout': {
|
|
2294
2339
|
value: 'Erreur lors de la mise à jour du paiement',
|
|
2295
2340
|
},
|
|
2296
|
-
Estimated: {
|
|
2297
|
-
value: 'Estimé',
|
|
2341
|
+
'Estimated [amount]': {
|
|
2342
|
+
value: 'Estimé [amount]',
|
|
2298
2343
|
},
|
|
2299
2344
|
'Expected delivery': {
|
|
2300
2345
|
value: 'Livraison prévue',
|
|
@@ -2350,6 +2395,9 @@ const stringsFrench = {
|
|
|
2350
2395
|
'No countries found': {
|
|
2351
2396
|
value: 'Aucun pays trouvé',
|
|
2352
2397
|
},
|
|
2398
|
+
'No shipment rating selected. Please go back to the "Shipping" step and select a shipment rating to proceed.': {
|
|
2399
|
+
value: `Aucune évaluation d'expédition sélectionnée. Veuillez revenir à l'étape "Expédition" et sélectionner une évaluation d'expédition pour continuer.`,
|
|
2400
|
+
},
|
|
2353
2401
|
'No shipping method selected': {
|
|
2354
2402
|
value: 'Aucune méthode de livraison sélectionnée',
|
|
2355
2403
|
},
|
|
@@ -2509,6 +2557,9 @@ const stringsFrench = {
|
|
|
2509
2557
|
Success: {
|
|
2510
2558
|
value: 'Succès',
|
|
2511
2559
|
},
|
|
2560
|
+
'Taxes and fees': {
|
|
2561
|
+
value: 'Taxes et frais',
|
|
2562
|
+
},
|
|
2512
2563
|
'Taxes will apply to all orders.': {
|
|
2513
2564
|
value: "Des taxes s'appliqueront à toutes les commandes.",
|
|
2514
2565
|
},
|
|
@@ -2542,6 +2593,9 @@ const stringsFrench = {
|
|
|
2542
2593
|
'Unable to check inventory. Please try again.': {
|
|
2543
2594
|
value: "Impossible de vérifier l'inventaire. Veuillez réessayer.",
|
|
2544
2595
|
},
|
|
2596
|
+
'Unable to retrieve the checkout session at the moment. Please try again or contact our support team.': {
|
|
2597
|
+
value: "Impossible de récupérer la session de paiement pour le moment. Veuillez réessayer ou contacter notre équipe d'assistance.",
|
|
2598
|
+
},
|
|
2545
2599
|
'Update address': {
|
|
2546
2600
|
value: "Mettre à jour l'adresse",
|
|
2547
2601
|
},
|
|
@@ -2728,8 +2782,8 @@ const stringsGerman = {
|
|
|
2728
2782
|
'Error updating Checkout': {
|
|
2729
2783
|
value: 'Fehler bei der Aktualisierung des Checkouts',
|
|
2730
2784
|
},
|
|
2731
|
-
Estimated: {
|
|
2732
|
-
value: 'Geschätzt',
|
|
2785
|
+
'Estimated [amount]': {
|
|
2786
|
+
value: 'Geschätzt [amount]',
|
|
2733
2787
|
},
|
|
2734
2788
|
'Expected delivery': {
|
|
2735
2789
|
value: 'Voraussichtliche Lieferung',
|
|
@@ -2785,6 +2839,9 @@ const stringsGerman = {
|
|
|
2785
2839
|
'No countries found': {
|
|
2786
2840
|
value: 'Keine Länder gefunden',
|
|
2787
2841
|
},
|
|
2842
|
+
'No shipment rating selected. Please go back to the "Shipping" step and select a shipment rating to proceed.': {
|
|
2843
|
+
value: 'Keine Versandbewertung ausgewählt. Bitte gehen Sie zurück zum Schritt "Versand" und wählen Sie eine Versandbewertung aus, um fortzufahren.',
|
|
2844
|
+
},
|
|
2788
2845
|
'No shipping method selected': {
|
|
2789
2846
|
value: 'Keine Versandart ausgewählt',
|
|
2790
2847
|
},
|
|
@@ -2944,6 +3001,9 @@ const stringsGerman = {
|
|
|
2944
3001
|
Success: {
|
|
2945
3002
|
value: 'Erfolg',
|
|
2946
3003
|
},
|
|
3004
|
+
'Taxes and fees': {
|
|
3005
|
+
value: 'Steuern und Gebühren',
|
|
3006
|
+
},
|
|
2947
3007
|
'Taxes will apply to all orders.': {
|
|
2948
3008
|
value: 'Steuern werden auf alle Bestellungen angewendet.',
|
|
2949
3009
|
},
|
|
@@ -2977,6 +3037,9 @@ const stringsGerman = {
|
|
|
2977
3037
|
'Unable to check inventory. Please try again.': {
|
|
2978
3038
|
value: 'Inventar konnte nicht überprüft werden. Bitte versuchen Sie es erneut.',
|
|
2979
3039
|
},
|
|
3040
|
+
'Unable to retrieve the checkout session at the moment. Please try again or contact our support team.': {
|
|
3041
|
+
value: 'Die Checkout-Sitzung kann momentan nicht abgerufen werden. Bitte versuchen Sie es erneut oder kontaktieren Sie unser Support-Team.',
|
|
3042
|
+
},
|
|
2980
3043
|
'Update address': {
|
|
2981
3044
|
value: 'Adresse aktualisieren',
|
|
2982
3045
|
},
|
|
@@ -3163,8 +3226,8 @@ const stringsHebrew = {
|
|
|
3163
3226
|
'Error updating Checkout': {
|
|
3164
3227
|
value: 'שגיאה בעדכון ההזמנה',
|
|
3165
3228
|
},
|
|
3166
|
-
Estimated: {
|
|
3167
|
-
value: 'משוער',
|
|
3229
|
+
'Estimated [amount]': {
|
|
3230
|
+
value: 'משוער [amount]',
|
|
3168
3231
|
},
|
|
3169
3232
|
'Expected delivery': {
|
|
3170
3233
|
value: 'אספקה צפויה',
|
|
@@ -3220,6 +3283,9 @@ const stringsHebrew = {
|
|
|
3220
3283
|
'No countries found': {
|
|
3221
3284
|
value: 'לא נמצאו מדינות',
|
|
3222
3285
|
},
|
|
3286
|
+
'No shipment rating selected. Please go back to the "Shipping" step and select a shipment rating to proceed.': {
|
|
3287
|
+
value: 'לא נבחר דירוג משלוח. אנא חזור לשלב "משלוח" ובחר דירוג משלוח כדי להמשיך.',
|
|
3288
|
+
},
|
|
3223
3289
|
'No shipping method selected': {
|
|
3224
3290
|
value: 'לא נבחרה שיטת משלוח',
|
|
3225
3291
|
},
|
|
@@ -3379,6 +3445,9 @@ const stringsHebrew = {
|
|
|
3379
3445
|
Success: {
|
|
3380
3446
|
value: 'הצלחה',
|
|
3381
3447
|
},
|
|
3448
|
+
'Taxes and fees': {
|
|
3449
|
+
value: 'מיסים ודמי שירות',
|
|
3450
|
+
},
|
|
3382
3451
|
'Taxes will apply to all orders.': {
|
|
3383
3452
|
value: 'מסים יחולו על כל ההזמנות.',
|
|
3384
3453
|
},
|
|
@@ -3412,6 +3481,9 @@ const stringsHebrew = {
|
|
|
3412
3481
|
'Unable to check inventory. Please try again.': {
|
|
3413
3482
|
value: 'לא ניתן היה לבדוק את המלאי. אנא נסה שוב.',
|
|
3414
3483
|
},
|
|
3484
|
+
'Unable to retrieve the checkout session at the moment. Please try again or contact our support team.': {
|
|
3485
|
+
value: 'לא ניתן לאחזר את מושב התשלום כרגע. אנא נסה שוב או צור קשר עם צוות התמיכה שלנו.',
|
|
3486
|
+
},
|
|
3415
3487
|
'Update address': {
|
|
3416
3488
|
value: 'עדכון כתובת',
|
|
3417
3489
|
},
|
|
@@ -3598,8 +3670,8 @@ const stringsIndonesian = {
|
|
|
3598
3670
|
'Error updating Checkout': {
|
|
3599
3671
|
value: 'Kesalahan saat memperbarui Checkout',
|
|
3600
3672
|
},
|
|
3601
|
-
Estimated: {
|
|
3602
|
-
value: '
|
|
3673
|
+
'Estimated [amount]': {
|
|
3674
|
+
value: 'Perkiraan [amount]',
|
|
3603
3675
|
},
|
|
3604
3676
|
'Expected delivery': {
|
|
3605
3677
|
value: 'Perkiraan pengiriman',
|
|
@@ -3655,6 +3727,9 @@ const stringsIndonesian = {
|
|
|
3655
3727
|
'No countries found': {
|
|
3656
3728
|
value: 'Tidak ada negara yang ditemukan',
|
|
3657
3729
|
},
|
|
3730
|
+
'No shipment rating selected. Please go back to the "Shipping" step and select a shipment rating to proceed.': {
|
|
3731
|
+
value: 'Tidak ada penilaian pengiriman yang dipilih. Silakan kembali ke langkah "Pengiriman" dan pilih penilaian pengiriman untuk melanjutkan.',
|
|
3732
|
+
},
|
|
3658
3733
|
'No shipping method selected': {
|
|
3659
3734
|
value: 'Tidak ada metode pengiriman yang dipilih',
|
|
3660
3735
|
},
|
|
@@ -3814,6 +3889,9 @@ const stringsIndonesian = {
|
|
|
3814
3889
|
Success: {
|
|
3815
3890
|
value: 'Sukses',
|
|
3816
3891
|
},
|
|
3892
|
+
'Taxes and fees': {
|
|
3893
|
+
value: 'Pajak dan biaya',
|
|
3894
|
+
},
|
|
3817
3895
|
'Taxes will apply to all orders.': {
|
|
3818
3896
|
value: 'Pajak akan berlaku untuk semua pesanan.',
|
|
3819
3897
|
},
|
|
@@ -3847,6 +3925,9 @@ const stringsIndonesian = {
|
|
|
3847
3925
|
'Unable to check inventory. Please try again.': {
|
|
3848
3926
|
value: 'Tidak dapat memeriksa inventaris. Silakan coba lagi.',
|
|
3849
3927
|
},
|
|
3928
|
+
'Unable to retrieve the checkout session at the moment. Please try again or contact our support team.': {
|
|
3929
|
+
value: 'Tidak dapat mengambil sesi checkout saat ini. Silakan coba lagi atau hubungi tim dukungan kami.',
|
|
3930
|
+
},
|
|
3850
3931
|
'Update address': {
|
|
3851
3932
|
value: 'Perbarui alamat',
|
|
3852
3933
|
},
|
|
@@ -4033,8 +4114,8 @@ const stringsItalian = {
|
|
|
4033
4114
|
'Error updating Checkout': {
|
|
4034
4115
|
value: "Errore durante l'aggiornamento del pagamento",
|
|
4035
4116
|
},
|
|
4036
|
-
Estimated: {
|
|
4037
|
-
value: 'Stimato',
|
|
4117
|
+
'Estimated [amount]': {
|
|
4118
|
+
value: 'Stimato [amount]',
|
|
4038
4119
|
},
|
|
4039
4120
|
'Expected delivery': {
|
|
4040
4121
|
value: 'Consegna prevista',
|
|
@@ -4090,6 +4171,9 @@ const stringsItalian = {
|
|
|
4090
4171
|
'No countries found': {
|
|
4091
4172
|
value: 'Nessun paese trovato',
|
|
4092
4173
|
},
|
|
4174
|
+
'No shipment rating selected. Please go back to the "Shipping" step and select a shipment rating to proceed.': {
|
|
4175
|
+
value: 'Nessuna valutazione di spedizione selezionata. Si prega di tornare al passaggio "Spedizione" e selezionare una valutazione di spedizione per procedere.',
|
|
4176
|
+
},
|
|
4093
4177
|
'No shipping method selected': {
|
|
4094
4178
|
value: 'Nessun metodo di spedizione selezionato',
|
|
4095
4179
|
},
|
|
@@ -4249,6 +4333,9 @@ const stringsItalian = {
|
|
|
4249
4333
|
Success: {
|
|
4250
4334
|
value: 'Successo',
|
|
4251
4335
|
},
|
|
4336
|
+
'Taxes and fees': {
|
|
4337
|
+
value: 'Tasse e commissioni',
|
|
4338
|
+
},
|
|
4252
4339
|
'Taxes will apply to all orders.': {
|
|
4253
4340
|
value: 'Le tasse si applicheranno a tutti gli ordini.',
|
|
4254
4341
|
},
|
|
@@ -4282,6 +4369,9 @@ const stringsItalian = {
|
|
|
4282
4369
|
'Unable to check inventory. Please try again.': {
|
|
4283
4370
|
value: "Impossibile verificare l'inventario. Si prega di riprovare.",
|
|
4284
4371
|
},
|
|
4372
|
+
'Unable to retrieve the checkout session at the moment. Please try again or contact our support team.': {
|
|
4373
|
+
value: 'Impossibile recuperare la sessione di pagamento al momento. Si prega di riprovare o contattare il nostro team di supporto.',
|
|
4374
|
+
},
|
|
4285
4375
|
'Update address': {
|
|
4286
4376
|
value: 'Aggiorna indirizzo',
|
|
4287
4377
|
},
|
|
@@ -4468,8 +4558,8 @@ const stringsJapanese = {
|
|
|
4468
4558
|
'Error updating Checkout': {
|
|
4469
4559
|
value: 'チェックアウトの更新中にエラーが発生しました',
|
|
4470
4560
|
},
|
|
4471
|
-
Estimated: {
|
|
4472
|
-
value: '推定',
|
|
4561
|
+
'Estimated [amount]': {
|
|
4562
|
+
value: '推定 [amount]',
|
|
4473
4563
|
},
|
|
4474
4564
|
'Expected delivery': {
|
|
4475
4565
|
value: '配送予定日',
|
|
@@ -4525,6 +4615,9 @@ const stringsJapanese = {
|
|
|
4525
4615
|
'No countries found': {
|
|
4526
4616
|
value: '国が見つかりません',
|
|
4527
4617
|
},
|
|
4618
|
+
'No shipment rating selected. Please go back to the "Shipping" step and select a shipment rating to proceed.': {
|
|
4619
|
+
value: '配送評価が選択されていません。「配送」ステップに戻り、配送評価を選択して続行してください。',
|
|
4620
|
+
},
|
|
4528
4621
|
'No shipping method selected': {
|
|
4529
4622
|
value: '配送方法が選択されていません',
|
|
4530
4623
|
},
|
|
@@ -4684,6 +4777,9 @@ const stringsJapanese = {
|
|
|
4684
4777
|
Success: {
|
|
4685
4778
|
value: '成功',
|
|
4686
4779
|
},
|
|
4780
|
+
'Taxes and fees': {
|
|
4781
|
+
value: '税金と手数料',
|
|
4782
|
+
},
|
|
4687
4783
|
'Taxes will apply to all orders.': {
|
|
4688
4784
|
value: 'すべての注文に税金が適用されます。',
|
|
4689
4785
|
},
|
|
@@ -4717,6 +4813,9 @@ const stringsJapanese = {
|
|
|
4717
4813
|
'Unable to check inventory. Please try again.': {
|
|
4718
4814
|
value: '在庫を確認できません。再試行してください。',
|
|
4719
4815
|
},
|
|
4816
|
+
'Unable to retrieve the checkout session at the moment. Please try again or contact our support team.': {
|
|
4817
|
+
value: '現在、チェックアウトセッションを取得できません。もう一度お試しいただくか、サポートチームにお問い合わせください。',
|
|
4818
|
+
},
|
|
4720
4819
|
'Update address': {
|
|
4721
4820
|
value: '住所を更新',
|
|
4722
4821
|
},
|
|
@@ -4903,8 +5002,8 @@ const stringsKorean = {
|
|
|
4903
5002
|
'Error updating Checkout': {
|
|
4904
5003
|
value: '결제 업데이트 중 오류 발생',
|
|
4905
5004
|
},
|
|
4906
|
-
Estimated: {
|
|
4907
|
-
value: '
|
|
5005
|
+
'Estimated [amount]': {
|
|
5006
|
+
value: '예상 [amount]',
|
|
4908
5007
|
},
|
|
4909
5008
|
'Expected delivery': {
|
|
4910
5009
|
value: '예상 배송일',
|
|
@@ -4960,6 +5059,9 @@ const stringsKorean = {
|
|
|
4960
5059
|
'No countries found': {
|
|
4961
5060
|
value: '국가를 찾을 수 없습니다',
|
|
4962
5061
|
},
|
|
5062
|
+
'No shipment rating selected. Please go back to the "Shipping" step and select a shipment rating to proceed.': {
|
|
5063
|
+
value: '배송 등급이 선택되지 않았습니다. "배송" 단계로 돌아가서 배송 등급을 선택하여 진행하세요.',
|
|
5064
|
+
},
|
|
4963
5065
|
'No shipping method selected': {
|
|
4964
5066
|
value: '선택된 배송 방법이 없습니다',
|
|
4965
5067
|
},
|
|
@@ -5119,6 +5221,9 @@ const stringsKorean = {
|
|
|
5119
5221
|
Success: {
|
|
5120
5222
|
value: '성공',
|
|
5121
5223
|
},
|
|
5224
|
+
'Taxes and fees': {
|
|
5225
|
+
value: '세금 및 수수료',
|
|
5226
|
+
},
|
|
5122
5227
|
'Taxes will apply to all orders.': {
|
|
5123
5228
|
value: '모든 주문에 세금이 적용됩니다.',
|
|
5124
5229
|
},
|
|
@@ -5152,6 +5257,9 @@ const stringsKorean = {
|
|
|
5152
5257
|
'Unable to check inventory. Please try again.': {
|
|
5153
5258
|
value: '재고를 확인할 수 없습니다. 다시 시도해 주세요.',
|
|
5154
5259
|
},
|
|
5260
|
+
'Unable to retrieve the checkout session at the moment. Please try again or contact our support team.': {
|
|
5261
|
+
value: '현재 결제 세션을 가져올 수 없습니다. 다시 시도하거나 지원 팀에 문의하십시오.',
|
|
5262
|
+
},
|
|
5155
5263
|
'Update address': {
|
|
5156
5264
|
value: '주소 업데이트',
|
|
5157
5265
|
},
|
|
@@ -5338,8 +5446,8 @@ const stringsNorwegian = {
|
|
|
5338
5446
|
'Error updating Checkout': {
|
|
5339
5447
|
value: 'Feil ved oppdatering av utsjekking',
|
|
5340
5448
|
},
|
|
5341
|
-
Estimated: {
|
|
5342
|
-
value: '
|
|
5449
|
+
'Estimated [amount]': {
|
|
5450
|
+
value: 'Estimert [amount]',
|
|
5343
5451
|
},
|
|
5344
5452
|
'Expected delivery': {
|
|
5345
5453
|
value: 'Forventet levering',
|
|
@@ -5395,6 +5503,9 @@ const stringsNorwegian = {
|
|
|
5395
5503
|
'No countries found': {
|
|
5396
5504
|
value: 'Ingen land funnet',
|
|
5397
5505
|
},
|
|
5506
|
+
'No shipment rating selected. Please go back to the "Shipping" step and select a shipment rating to proceed.': {
|
|
5507
|
+
value: 'Ingen forsendelsesvurdering valgt. Vennligst gå tilbake til "Frakt"-trinnet og velg en forsendelsesvurdering for å fortsette.',
|
|
5508
|
+
},
|
|
5398
5509
|
'No shipping method selected': {
|
|
5399
5510
|
value: 'Ingen fraktmetode valgt',
|
|
5400
5511
|
},
|
|
@@ -5554,6 +5665,9 @@ const stringsNorwegian = {
|
|
|
5554
5665
|
Success: {
|
|
5555
5666
|
value: 'Suksess',
|
|
5556
5667
|
},
|
|
5668
|
+
'Taxes and fees': {
|
|
5669
|
+
value: 'Skatter og avgifter',
|
|
5670
|
+
},
|
|
5557
5671
|
'Taxes will apply to all orders.': {
|
|
5558
5672
|
value: 'Skatter vil gjelde for alle bestillinger.',
|
|
5559
5673
|
},
|
|
@@ -5587,6 +5701,9 @@ const stringsNorwegian = {
|
|
|
5587
5701
|
'Unable to check inventory. Please try again.': {
|
|
5588
5702
|
value: 'Kunne ikke sjekke lagerbeholdningen. Vennligst prøv igjen.',
|
|
5589
5703
|
},
|
|
5704
|
+
'Unable to retrieve the checkout session at the moment. Please try again or contact our support team.': {
|
|
5705
|
+
value: 'Kan ikke hente utsjekkingsøkten for øyeblikket. Vennligst prøv igjen eller kontakt vårt supportteam.',
|
|
5706
|
+
},
|
|
5590
5707
|
'Update address': {
|
|
5591
5708
|
value: 'Oppdater adresse',
|
|
5592
5709
|
},
|
|
@@ -5773,8 +5890,8 @@ const stringsPolish = {
|
|
|
5773
5890
|
'Error updating Checkout': {
|
|
5774
5891
|
value: 'Błąd podczas aktualizowania płatności',
|
|
5775
5892
|
},
|
|
5776
|
-
Estimated: {
|
|
5777
|
-
value: 'Szacowany',
|
|
5893
|
+
'Estimated [amount]': {
|
|
5894
|
+
value: 'Szacowany [amount]',
|
|
5778
5895
|
},
|
|
5779
5896
|
'Expected delivery': {
|
|
5780
5897
|
value: 'Przewidywana dostawa',
|
|
@@ -5830,6 +5947,9 @@ const stringsPolish = {
|
|
|
5830
5947
|
'No countries found': {
|
|
5831
5948
|
value: 'Nie znaleziono krajów',
|
|
5832
5949
|
},
|
|
5950
|
+
'No shipment rating selected. Please go back to the "Shipping" step and select a shipment rating to proceed.': {
|
|
5951
|
+
value: 'Nie wybrano oceny przesyłki. Proszę wrócić do kroku "Wysyłka" i wybrać ocenę przesyłki, aby kontynuować.',
|
|
5952
|
+
},
|
|
5833
5953
|
'No shipping method selected': {
|
|
5834
5954
|
value: 'Nie wybrano metody wysyłki',
|
|
5835
5955
|
},
|
|
@@ -5989,6 +6109,9 @@ const stringsPolish = {
|
|
|
5989
6109
|
Success: {
|
|
5990
6110
|
value: 'Sukces',
|
|
5991
6111
|
},
|
|
6112
|
+
'Taxes and fees': {
|
|
6113
|
+
value: 'Podatki i opłaty',
|
|
6114
|
+
},
|
|
5992
6115
|
'Taxes will apply to all orders.': {
|
|
5993
6116
|
value: 'Podatki będą miały zastosowanie do wszystkich zamówień.',
|
|
5994
6117
|
},
|
|
@@ -6022,6 +6145,9 @@ const stringsPolish = {
|
|
|
6022
6145
|
'Unable to check inventory. Please try again.': {
|
|
6023
6146
|
value: 'Nie można sprawdzić stanu magazynu. Spróbuj ponownie.',
|
|
6024
6147
|
},
|
|
6148
|
+
'Unable to retrieve the checkout session at the moment. Please try again or contact our support team.': {
|
|
6149
|
+
value: 'Nie można pobrać sesji kasy w tej chwili. Proszę spróbować ponownie lub skontaktować się z naszym zespołem wsparcia.',
|
|
6150
|
+
},
|
|
6025
6151
|
'Update address': {
|
|
6026
6152
|
value: 'Zaktualizuj adres',
|
|
6027
6153
|
},
|
|
@@ -6208,8 +6334,8 @@ const stringsPortuguese = {
|
|
|
6208
6334
|
'Error updating Checkout': {
|
|
6209
6335
|
value: 'Erro ao atualizar Checkout',
|
|
6210
6336
|
},
|
|
6211
|
-
Estimated: {
|
|
6212
|
-
value: 'Estimado',
|
|
6337
|
+
'Estimated [amount]': {
|
|
6338
|
+
value: 'Estimado [amount]',
|
|
6213
6339
|
},
|
|
6214
6340
|
'Expected delivery': {
|
|
6215
6341
|
value: 'Entrega prevista',
|
|
@@ -6265,6 +6391,9 @@ const stringsPortuguese = {
|
|
|
6265
6391
|
'No countries found': {
|
|
6266
6392
|
value: 'Nenhum país encontrado',
|
|
6267
6393
|
},
|
|
6394
|
+
'No shipment rating selected. Please go back to the "Shipping" step and select a shipment rating to proceed.': {
|
|
6395
|
+
value: 'Nenhuma classificação de envio selecionada. Por favor, volte para a etapa de "Envio" e selecione uma classificação de envio para prosseguir.',
|
|
6396
|
+
},
|
|
6268
6397
|
'No shipping method selected': {
|
|
6269
6398
|
value: 'Nenhum método de envio selecionado',
|
|
6270
6399
|
},
|
|
@@ -6424,6 +6553,9 @@ const stringsPortuguese = {
|
|
|
6424
6553
|
Success: {
|
|
6425
6554
|
value: 'Sucesso',
|
|
6426
6555
|
},
|
|
6556
|
+
'Taxes and fees': {
|
|
6557
|
+
value: 'Impostos e taxas',
|
|
6558
|
+
},
|
|
6427
6559
|
'Taxes will apply to all orders.': {
|
|
6428
6560
|
value: 'Impostos serão aplicados a todos os pedidos.',
|
|
6429
6561
|
},
|
|
@@ -6457,6 +6589,9 @@ const stringsPortuguese = {
|
|
|
6457
6589
|
'Unable to check inventory. Please try again.': {
|
|
6458
6590
|
value: 'Não foi possível verificar o inventário. Por favor, tente novamente.',
|
|
6459
6591
|
},
|
|
6592
|
+
'Unable to retrieve the checkout session at the moment. Please try again or contact our support team.': {
|
|
6593
|
+
value: 'Não é possível recuperar a sessão de checkout no momento. Por favor, tente novamente ou entre em contato com nossa equipe de suporte.',
|
|
6594
|
+
},
|
|
6460
6595
|
'Update address': {
|
|
6461
6596
|
value: 'Atualizar endereço',
|
|
6462
6597
|
},
|
|
@@ -6643,8 +6778,8 @@ const stringsRussian = {
|
|
|
6643
6778
|
'Error updating Checkout': {
|
|
6644
6779
|
value: 'Ошибка при обновлении оформления',
|
|
6645
6780
|
},
|
|
6646
|
-
Estimated: {
|
|
6647
|
-
value: '
|
|
6781
|
+
'Estimated [amount]': {
|
|
6782
|
+
value: 'Оценка [amount]',
|
|
6648
6783
|
},
|
|
6649
6784
|
'Expected delivery': {
|
|
6650
6785
|
value: 'Ожидаемая доставка',
|
|
@@ -6700,6 +6835,9 @@ const stringsRussian = {
|
|
|
6700
6835
|
'No countries found': {
|
|
6701
6836
|
value: 'Страны не найдены',
|
|
6702
6837
|
},
|
|
6838
|
+
'No shipment rating selected. Please go back to the "Shipping" step and select a shipment rating to proceed.': {
|
|
6839
|
+
value: 'Не выбран рейтинг доставки. Пожалуйста, вернитесь к шагу "Доставка" и выберите рейтинг доставки, чтобы продолжить.',
|
|
6840
|
+
},
|
|
6703
6841
|
'No shipping method selected': {
|
|
6704
6842
|
value: 'Метод доставки не выбран',
|
|
6705
6843
|
},
|
|
@@ -6859,6 +6997,9 @@ const stringsRussian = {
|
|
|
6859
6997
|
Success: {
|
|
6860
6998
|
value: 'Успех',
|
|
6861
6999
|
},
|
|
7000
|
+
'Taxes and fees': {
|
|
7001
|
+
value: 'Налоги и сборы',
|
|
7002
|
+
},
|
|
6862
7003
|
'Taxes will apply to all orders.': {
|
|
6863
7004
|
value: 'Налоги будут применяться ко всем заказам.',
|
|
6864
7005
|
},
|
|
@@ -6892,6 +7033,9 @@ const stringsRussian = {
|
|
|
6892
7033
|
'Unable to check inventory. Please try again.': {
|
|
6893
7034
|
value: 'Не удалось проверить наличие на складе. Пожалуйста, попробуйте снова.',
|
|
6894
7035
|
},
|
|
7036
|
+
'Unable to retrieve the checkout session at the moment. Please try again or contact our support team.': {
|
|
7037
|
+
value: 'Не удается получить сеанс оформления заказа в данный момент. Пожалуйста, попробуйте еще раз или свяжитесь с нашей службой поддержки.',
|
|
7038
|
+
},
|
|
6895
7039
|
'Update address': {
|
|
6896
7040
|
value: 'Обновить адрес',
|
|
6897
7041
|
},
|
|
@@ -7078,8 +7222,8 @@ const stringsSpanish = {
|
|
|
7078
7222
|
'Error updating Checkout': {
|
|
7079
7223
|
value: 'Error al actualizar el pago',
|
|
7080
7224
|
},
|
|
7081
|
-
Estimated: {
|
|
7082
|
-
value: 'Estimado',
|
|
7225
|
+
'Estimated [amount]': {
|
|
7226
|
+
value: 'Estimado [amount]',
|
|
7083
7227
|
},
|
|
7084
7228
|
'Expected delivery': {
|
|
7085
7229
|
value: 'Entrega esperada',
|
|
@@ -7135,6 +7279,9 @@ const stringsSpanish = {
|
|
|
7135
7279
|
'No countries found': {
|
|
7136
7280
|
value: 'No se encontraron países',
|
|
7137
7281
|
},
|
|
7282
|
+
'No shipment rating selected. Please go back to the "Shipping" step and select a shipment rating to proceed.': {
|
|
7283
|
+
value: 'No se ha seleccionado una calificación de envío. Por favor, regrese al paso de "Envío" y seleccione una calificación de envío para continuar.',
|
|
7284
|
+
},
|
|
7138
7285
|
'No shipping method selected': {
|
|
7139
7286
|
value: 'No se ha seleccionado un método de envío',
|
|
7140
7287
|
},
|
|
@@ -7294,6 +7441,9 @@ const stringsSpanish = {
|
|
|
7294
7441
|
Success: {
|
|
7295
7442
|
value: 'Éxito',
|
|
7296
7443
|
},
|
|
7444
|
+
'Taxes and fees': {
|
|
7445
|
+
value: 'Impuestos y tarifas',
|
|
7446
|
+
},
|
|
7297
7447
|
'Taxes will apply to all orders.': {
|
|
7298
7448
|
value: 'Se aplicarán impuestos a todos los pedidos.',
|
|
7299
7449
|
},
|
|
@@ -7327,6 +7477,9 @@ const stringsSpanish = {
|
|
|
7327
7477
|
'Unable to check inventory. Please try again.': {
|
|
7328
7478
|
value: 'No se pudo verificar el inventario. Por favor, inténtelo de nuevo.',
|
|
7329
7479
|
},
|
|
7480
|
+
'Unable to retrieve the checkout session at the moment. Please try again or contact our support team.': {
|
|
7481
|
+
value: 'No se puede recuperar la sesión de pago en este momento. Por favor, inténtelo de nuevo o contacte a nuestro equipo de soporte.',
|
|
7482
|
+
},
|
|
7330
7483
|
'Update address': {
|
|
7331
7484
|
value: 'Actualizar dirección',
|
|
7332
7485
|
},
|
|
@@ -7513,8 +7666,8 @@ const stringsSwedish = {
|
|
|
7513
7666
|
'Error updating Checkout': {
|
|
7514
7667
|
value: 'Fel vid uppdatering av utcheckning',
|
|
7515
7668
|
},
|
|
7516
|
-
Estimated: {
|
|
7517
|
-
value: 'Uppskattad',
|
|
7669
|
+
'Estimated [amount]': {
|
|
7670
|
+
value: 'Uppskattad [amount]',
|
|
7518
7671
|
},
|
|
7519
7672
|
'Expected delivery': {
|
|
7520
7673
|
value: 'Beräknad leverans',
|
|
@@ -7570,6 +7723,9 @@ const stringsSwedish = {
|
|
|
7570
7723
|
'No countries found': {
|
|
7571
7724
|
value: 'Inga länder hittades',
|
|
7572
7725
|
},
|
|
7726
|
+
'No shipment rating selected. Please go back to the "Shipping" step and select a shipment rating to proceed.': {
|
|
7727
|
+
value: 'Ingen fraktbedömning vald. Gå tillbaka till steget "Frakt" och välj en fraktbedömning för att fortsätta.',
|
|
7728
|
+
},
|
|
7573
7729
|
'No shipping method selected': {
|
|
7574
7730
|
value: 'Ingen fraktmetod vald',
|
|
7575
7731
|
},
|
|
@@ -7729,6 +7885,9 @@ const stringsSwedish = {
|
|
|
7729
7885
|
Success: {
|
|
7730
7886
|
value: 'Framgång',
|
|
7731
7887
|
},
|
|
7888
|
+
'Taxes and fees': {
|
|
7889
|
+
value: 'Skatter och avgifter',
|
|
7890
|
+
},
|
|
7732
7891
|
'Taxes will apply to all orders.': {
|
|
7733
7892
|
value: 'Skatter kommer att tillämpas på alla beställningar.',
|
|
7734
7893
|
},
|
|
@@ -7762,6 +7921,9 @@ const stringsSwedish = {
|
|
|
7762
7921
|
'Unable to check inventory. Please try again.': {
|
|
7763
7922
|
value: 'Det gick inte att kontrollera lagret. Försök igen.',
|
|
7764
7923
|
},
|
|
7924
|
+
'Unable to retrieve the checkout session at the moment. Please try again or contact our support team.': {
|
|
7925
|
+
value: 'Kan inte hämta betalningssessionen just nu. Försök igen eller kontakta vårt supportteam.',
|
|
7926
|
+
},
|
|
7765
7927
|
'Update address': {
|
|
7766
7928
|
value: 'Uppdatera adress',
|
|
7767
7929
|
},
|
|
@@ -7948,8 +8110,8 @@ const stringsTurkish = {
|
|
|
7948
8110
|
'Error updating Checkout': {
|
|
7949
8111
|
value: 'Ödeme güncelleme hatası',
|
|
7950
8112
|
},
|
|
7951
|
-
Estimated: {
|
|
7952
|
-
value: 'Tahmini',
|
|
8113
|
+
'Estimated [amount]': {
|
|
8114
|
+
value: 'Tahmini [amount]',
|
|
7953
8115
|
},
|
|
7954
8116
|
'Expected delivery': {
|
|
7955
8117
|
value: 'Beklenen teslimat',
|
|
@@ -8005,6 +8167,9 @@ const stringsTurkish = {
|
|
|
8005
8167
|
'No countries found': {
|
|
8006
8168
|
value: 'Ülke bulunamadı',
|
|
8007
8169
|
},
|
|
8170
|
+
'No shipment rating selected. Please go back to the "Shipping" step and select a shipment rating to proceed.': {
|
|
8171
|
+
value: 'Gönderi derecelendirmesi seçilmedi. Lütfen "Kargo" adımına geri dönün ve devam etmek için bir gönderi derecelendirmesi seçin.',
|
|
8172
|
+
},
|
|
8008
8173
|
'No shipping method selected': {
|
|
8009
8174
|
value: 'Kargo yöntemi seçilmedi',
|
|
8010
8175
|
},
|
|
@@ -8164,6 +8329,9 @@ const stringsTurkish = {
|
|
|
8164
8329
|
Success: {
|
|
8165
8330
|
value: 'Başarı',
|
|
8166
8331
|
},
|
|
8332
|
+
'Taxes and fees': {
|
|
8333
|
+
value: 'Vergiler ve ücretler',
|
|
8334
|
+
},
|
|
8167
8335
|
'Taxes will apply to all orders.': {
|
|
8168
8336
|
value: 'Tüm siparişlere vergi uygulanacaktır.',
|
|
8169
8337
|
},
|
|
@@ -8197,6 +8365,9 @@ const stringsTurkish = {
|
|
|
8197
8365
|
'Unable to check inventory. Please try again.': {
|
|
8198
8366
|
value: 'Envanter kontrol edilemedi. Lütfen tekrar deneyin.',
|
|
8199
8367
|
},
|
|
8368
|
+
'Unable to retrieve the checkout session at the moment. Please try again or contact our support team.': {
|
|
8369
|
+
value: 'Şu anda ödeme oturumunu alamıyoruz. Lütfen tekrar deneyin veya destek ekibimizle iletişime geçin.',
|
|
8370
|
+
},
|
|
8200
8371
|
'Update address': {
|
|
8201
8372
|
value: 'Adresi güncelle',
|
|
8202
8373
|
},
|
|
@@ -8383,8 +8554,8 @@ const stringsVietnamese = {
|
|
|
8383
8554
|
'Error updating Checkout': {
|
|
8384
8555
|
value: 'Lỗi khi cập nhật phiên thanh toán',
|
|
8385
8556
|
},
|
|
8386
|
-
Estimated: {
|
|
8387
|
-
value: 'Ước tính',
|
|
8557
|
+
'Estimated [amount]': {
|
|
8558
|
+
value: 'Ước tính [amount]',
|
|
8388
8559
|
},
|
|
8389
8560
|
'Expected delivery': {
|
|
8390
8561
|
value: 'Dự kiến giao hàng',
|
|
@@ -8440,6 +8611,9 @@ const stringsVietnamese = {
|
|
|
8440
8611
|
'No countries found': {
|
|
8441
8612
|
value: 'Không tìm thấy quốc gia nào',
|
|
8442
8613
|
},
|
|
8614
|
+
'No shipment rating selected. Please go back to the "Shipping" step and select a shipment rating to proceed.': {
|
|
8615
|
+
value: 'Chưa chọn đánh giá vận chuyển. Vui lòng quay lại bước "Vận chuyển" và chọn đánh giá vận chuyển để tiếp tục.',
|
|
8616
|
+
},
|
|
8443
8617
|
'No shipping method selected': {
|
|
8444
8618
|
value: 'Chưa chọn phương thức vận chuyển',
|
|
8445
8619
|
},
|
|
@@ -8599,6 +8773,9 @@ const stringsVietnamese = {
|
|
|
8599
8773
|
Success: {
|
|
8600
8774
|
value: 'Thành công',
|
|
8601
8775
|
},
|
|
8776
|
+
'Taxes and fees': {
|
|
8777
|
+
value: 'Thuế và phí',
|
|
8778
|
+
},
|
|
8602
8779
|
'Taxes will apply to all orders.': {
|
|
8603
8780
|
value: 'Thuế sẽ áp dụng cho tất cả các đơn hàng.',
|
|
8604
8781
|
},
|
|
@@ -8632,6 +8809,9 @@ const stringsVietnamese = {
|
|
|
8632
8809
|
'Unable to check inventory. Please try again.': {
|
|
8633
8810
|
value: 'Không thể kiểm tra hàng tồn kho. Vui lòng thử lại.',
|
|
8634
8811
|
},
|
|
8812
|
+
'Unable to retrieve the checkout session at the moment. Please try again or contact our support team.': {
|
|
8813
|
+
value: 'Không thể truy xuất phiên thanh toán vào lúc này. Vui lòng thử lại hoặc liên hệ với đội ngũ hỗ trợ của chúng tôi.',
|
|
8814
|
+
},
|
|
8635
8815
|
'Update address': {
|
|
8636
8816
|
value: 'Cập nhật địa chỉ',
|
|
8637
8817
|
},
|
|
@@ -9269,6 +9449,7 @@ const getNewLocalization = async () => {
|
|
|
9269
9449
|
startExchangeRateTimeout({ isGuaranteed, maxAge });
|
|
9270
9450
|
};
|
|
9271
9451
|
const getCustomMessages = async () => {
|
|
9452
|
+
log(`Getting custom messages for ${localizationStore.selectedCountryCode}`);
|
|
9272
9453
|
if (!localizationStore.selectedCountryCode || !zonosStore.storeId) {
|
|
9273
9454
|
return;
|
|
9274
9455
|
}
|
|
@@ -9328,7 +9509,6 @@ const localizationStoreUpdateSelectedCountryCode = (newSelectedCountryCode) => {
|
|
|
9328
9509
|
}
|
|
9329
9510
|
localizationStore.targetCurrency = currencyCode;
|
|
9330
9511
|
void getNewLocalization();
|
|
9331
|
-
void getCustomMessages();
|
|
9332
9512
|
// Save the country code to session storage for later use
|
|
9333
9513
|
window.sessionStorage.setItem('zonos--country', selectedCountryCode);
|
|
9334
9514
|
// Update the URL query param with the new country code
|
|
@@ -9389,6 +9569,7 @@ const localizationStoreUpdateSelectedLocale = (newSelectedLocale) => {
|
|
|
9389
9569
|
localizationStore.selectedLocale = newSelectedLocale;
|
|
9390
9570
|
translationStoreUpdateLanguage(newSelectedLocale);
|
|
9391
9571
|
void updateCheckoutSessionLanguage();
|
|
9572
|
+
void getCustomMessages();
|
|
9392
9573
|
};
|
|
9393
9574
|
const initLocalizationStore = async () => {
|
|
9394
9575
|
// all countries from countries.json, shipping zone and localization
|
|
@@ -9404,6 +9585,7 @@ const initLocalizationStore = async () => {
|
|
|
9404
9585
|
initHelloCountryList(allCountries || {});
|
|
9405
9586
|
const { country, locale } = localization;
|
|
9406
9587
|
log(`Country code from localization: ${country}`);
|
|
9588
|
+
log(`Locale from localization: ${locale}`);
|
|
9407
9589
|
// update selected country code in store
|
|
9408
9590
|
localizationStoreUpdateSelectedCountryCode(country);
|
|
9409
9591
|
// use locale from params if it exists, otherwise use locale from localization
|
|
@@ -9852,6 +10034,54 @@ const sortServiceLevelOptionsByAmount = (serviceLevels) => {
|
|
|
9852
10034
|
return sortedServiceLevels;
|
|
9853
10035
|
};
|
|
9854
10036
|
|
|
10037
|
+
const getCheckoutSession = async () => {
|
|
10038
|
+
if (!cartStore.checkoutSessionId) {
|
|
10039
|
+
return {
|
|
10040
|
+
errors: [{ message: 'No checkout session id found' }],
|
|
10041
|
+
json: null,
|
|
10042
|
+
};
|
|
10043
|
+
}
|
|
10044
|
+
const searchParams = new URLSearchParams(window.location.search);
|
|
10045
|
+
searchParams.set('checkoutSessionId', cartStore.checkoutSessionId);
|
|
10046
|
+
const { errors, json } = await handleFetch(`/api/zonos-elements/get-checkout-session?${searchParams.toString()}`);
|
|
10047
|
+
return { errors, json };
|
|
10048
|
+
};
|
|
10049
|
+
|
|
10050
|
+
/**
|
|
10051
|
+
* Validate checkout session before confirming payment
|
|
10052
|
+
*/
|
|
10053
|
+
const validateCheckoutSession = async () => {
|
|
10054
|
+
var _a;
|
|
10055
|
+
// get checkout session info
|
|
10056
|
+
const { errors, json } = await getCheckoutSession();
|
|
10057
|
+
if (errors.length || !json) {
|
|
10058
|
+
logError('Failed to retrieve checkout session info before confirming payment ', errors);
|
|
10059
|
+
void sendErrorLog({
|
|
10060
|
+
endpoint: 'validateCheckoutSession',
|
|
10061
|
+
errors: errors.map(error => error.message),
|
|
10062
|
+
metadata: { allLogs },
|
|
10063
|
+
});
|
|
10064
|
+
return {
|
|
10065
|
+
errorMessage: translate('Unable to retrieve the checkout session at the moment. Please try again or contact our support team.'),
|
|
10066
|
+
valid: false,
|
|
10067
|
+
};
|
|
10068
|
+
}
|
|
10069
|
+
// Make sure landed cost is found in the checkout session
|
|
10070
|
+
if (!((_a = json.checkoutSession.landedCost) === null || _a === void 0 ? void 0 : _a.id)) {
|
|
10071
|
+
logError('Landed cost is not found in the checkout session before confirming payment.');
|
|
10072
|
+
void sendErrorLog({
|
|
10073
|
+
endpoint: 'validateCheckoutSession',
|
|
10074
|
+
errors: ['No landed cost found before confirming payment'],
|
|
10075
|
+
metadata: { allLogs },
|
|
10076
|
+
});
|
|
10077
|
+
return {
|
|
10078
|
+
errorMessage: translate('No shipment rating selected. Please go back to the "Shipping" step and select a shipment rating to proceed.'),
|
|
10079
|
+
valid: false,
|
|
10080
|
+
};
|
|
10081
|
+
}
|
|
10082
|
+
return { errorMessage: '', valid: true };
|
|
10083
|
+
};
|
|
10084
|
+
|
|
9855
10085
|
const addressRuleStyle = ({ theme, }) => {
|
|
9856
10086
|
const defaultStyle = {
|
|
9857
10087
|
'.AccordionItem': {
|
|
@@ -9924,6 +10154,7 @@ const defaultVariable = ({ borderStyle, theme, }) => {
|
|
|
9924
10154
|
|
|
9925
10155
|
const { onChange: onChange$1, reset: reset$1, state: stripeStore, } = createStore(() => ({
|
|
9926
10156
|
clientSecret: sessionStorage.getItem('zonos--client-secret') || null,
|
|
10157
|
+
customErrorMessage: null,
|
|
9927
10158
|
fetchingLandedCostAbortController: null,
|
|
9928
10159
|
hasPaymentError: false,
|
|
9929
10160
|
isFetchingLandedCost: false,
|
|
@@ -10370,9 +10601,16 @@ const stripeStoreConfirmPayment = async () => {
|
|
|
10370
10601
|
const stripeElements = stripeStore.stripeElements;
|
|
10371
10602
|
const stripe = stripeStore.stripe;
|
|
10372
10603
|
const stripeClientSecret = stripeStore.clientSecret;
|
|
10604
|
+
stripeStore.customErrorMessage = null;
|
|
10373
10605
|
if (!((_b = cartStore.selectedLandedCost) === null || _b === void 0 ? void 0 : _b.landedCost.id)) {
|
|
10374
10606
|
throw new Error('Attempted to confirm the payment when no landed cost is found in store');
|
|
10375
10607
|
}
|
|
10608
|
+
// Check if the checkout session is valid before proceeding
|
|
10609
|
+
const checkoutSessionStatus = await validateCheckoutSession();
|
|
10610
|
+
if (!checkoutSessionStatus.valid) {
|
|
10611
|
+
stripeStore.customErrorMessage = checkoutSessionStatus.errorMessage;
|
|
10612
|
+
throw new Error(checkoutSessionStatus.errorMessage);
|
|
10613
|
+
}
|
|
10376
10614
|
if (stripe &&
|
|
10377
10615
|
stripeElements &&
|
|
10378
10616
|
stripePaymentReady &&
|
|
@@ -11032,4 +11270,4 @@ const cartStoreResetTabItems = () => {
|
|
|
11032
11270
|
cartStoreResetSelectedShippingOption();
|
|
11033
11271
|
};
|
|
11034
11272
|
|
|
11035
|
-
export { stripeStoreReset as A, localizationStoreOnUpdate as B,
|
|
11273
|
+
export { stripeStoreReset as A, localizationStoreOnUpdate as B, validateCheckoutSession as C, isValidSelector as D, initLocalizationStore as E, setZCountryUrlParam as F, currencyDisplay as G, currencyConvertAndFormat as H, currencyConvert as I, currencyFormat as J, cartStoreHasOneEligibleItem as K, stripeStoreApplyPromoCode as L, stripeStoreRemovePromoCode as M, stripeStoreResetPromoCode as N, stripeStoreMessageBasedOnStatus as O, stripeStoreTranslateAddressToLatin as P, cartStoreUpdateSelectedShippingOption as Q, cartStoreGetShippingTransitInfo as R, sortServiceLevelOptionsByAmount as S, getFallbackDefaultCountryCode as T, localizationStoreUpdateSelectedLocale as U, localizationStoreUpdateSelectedCountryCode as a, stripeStoreCleanupDomesticShippingSession as b, stripeStoreSaveDomesticShippingSession as c, stripeStoreRetrievePayment as d, cartStore as e, stripeStore as f, cartStoreUpdateItems as g, cartStoreReset as h, initStripeElements as i, cartStoreResetTabItems as j, cartStoreClearCheckoutInterval as k, localizationStore as l, stripeStoreInitCheckoutSession as m, cartStoreStartCheckoutInterval as n, getCheckoutSessionBody as o, cartStoreUpdateToErrorState as p, translate as q, getZCountryUrlParam as r, stripeStoreGetDomesticShippingSession as s, trackConversionEvent as t, cartStoreSetCheckoutSession as u, stripeStorePrefetchLandedCost as v, cartStoreNextStep as w, stripeStoreHandleInventoryCheck as x, stripeStoreConfirmPayment as y, stripeStoreHandleInventoryRefund as z };
|