@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.
Files changed (235) hide show
  1. package/dist/cjs/{cart-efd80d55.js → cart-e1b59d03.js} +280 -41
  2. package/dist/cjs/index.cjs.js +12 -13
  3. package/dist/cjs/loader.cjs.js +1 -1
  4. package/dist/cjs/{paypal-50e03778.js → paypal-86cc51e4.js} +13 -1
  5. package/dist/cjs/zonos-address_7.cjs.entry.js +10 -10
  6. package/dist/cjs/zonos-badge.cjs.entry.js +3 -3
  7. package/dist/cjs/zonos-button_3.cjs.entry.js +3 -3
  8. package/dist/cjs/zonos-card.cjs.entry.js +4 -4
  9. package/dist/cjs/zonos-cart-items_13.cjs.entry.js +94 -26
  10. package/dist/cjs/zonos-checkout.cjs.entry.js +5 -3
  11. package/dist/cjs/zonos-collapse.cjs.entry.js +2 -2
  12. package/dist/cjs/zonos-component.cjs.entry.js +1 -1
  13. package/dist/cjs/zonos-controller.cjs.entry.js +2 -2
  14. package/dist/cjs/zonos-country-flag.cjs.entry.js +1 -1
  15. package/dist/cjs/zonos-country-select_4.cjs.entry.js +9 -9
  16. package/dist/cjs/zonos-elements.cjs.js +1 -1
  17. package/dist/cjs/zonos-hello-dialog.cjs.entry.js +5 -5
  18. package/dist/cjs/zonos-hello.cjs.entry.js +2 -2
  19. package/dist/cjs/zonos-input.cjs.entry.js +4 -4
  20. package/dist/cjs/zonos-language-select_2.cjs.entry.js +5 -5
  21. package/dist/cjs/zonos-link.cjs.entry.js +1 -1
  22. package/dist/cjs/zonos-logo.cjs.entry.js +2 -2
  23. package/dist/cjs/zonos-notification_3.cjs.entry.js +4 -4
  24. package/dist/cjs/zonos-toggle.cjs.entry.js +2 -2
  25. package/dist/cjs/zonos-tooltip.cjs.entry.js +2 -2
  26. package/dist/cjs/zonos-v-stack.cjs.entry.js +2 -2
  27. package/dist/collection/components/checkout/zonos-checkout/zonos-cart-subtotal/zonos-cart-subtotal.js +19 -4
  28. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-payment/zonos-checkout-payment.js +24 -2
  29. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout.js +4 -2
  30. package/dist/collection/components/checkout/zonos-checkout/zonos-shipping/zonos-shipping.js +23 -11
  31. package/dist/collection/components/common/zonos-badge/zonos-badge.js +3 -3
  32. package/dist/collection/components/common/zonos-button/zonos-button.js +3 -3
  33. package/dist/collection/components/common/zonos-card/zonos-card.js +4 -4
  34. package/dist/collection/components/common/zonos-checkbox/zonos-checkbox.js +3 -3
  35. package/dist/collection/components/common/zonos-checkout-progress-tabs/zonos-checkout-progress-tabs.js +11 -4
  36. package/dist/collection/components/common/zonos-collapse/zonos-collapse.js +2 -2
  37. package/dist/collection/components/common/zonos-confirm-dialog/zonos-confirm-dialog.js +3 -3
  38. package/dist/collection/components/common/zonos-country-select/zonos-country-select.js +2 -2
  39. package/dist/collection/components/common/zonos-custom-message/zonos-custom-message.js +2 -2
  40. package/dist/collection/components/common/zonos-dialog/zonos-dialog.js +3 -3
  41. package/dist/collection/components/common/zonos-input/zonos-input.js +4 -4
  42. package/dist/collection/components/common/zonos-language-select/zonos-language-select.js +2 -2
  43. package/dist/collection/components/common/zonos-link/zonos-link.js +1 -1
  44. package/dist/collection/components/common/zonos-logo/zonos-logo.js +2 -2
  45. package/dist/collection/components/common/zonos-rest-state/zonos-rest-state.js +3 -3
  46. package/dist/collection/components/common/zonos-select-dialog-header/zonos-select-dialog-header.js +2 -2
  47. package/dist/collection/components/common/zonos-toggle/zonos-toggle.js +2 -2
  48. package/dist/collection/components/common/zonos-tooltip/zonos-tooltip.js +2 -2
  49. package/dist/collection/components/common/zonos-v-stack/zonos-v-stack.js +2 -2
  50. package/dist/collection/components/common/zonos-virtual-scroll/zonos-virtual-scroll.js +2 -2
  51. package/dist/collection/components/component-template/zonos-component/zonos-component.js +1 -1
  52. package/dist/collection/components/hello/zonos-hello/zonos-hello.js +1 -1
  53. package/dist/collection/components/hello/zonos-hello-dialog/zonos-hello-dialog-footer/zonos-hello-dialog-footer.js +2 -2
  54. package/dist/collection/components/hello/zonos-hello-dialog/zonos-hello-dialog.js +4 -4
  55. package/dist/collection/components/main/zonos-controller.js +1 -1
  56. package/dist/collection/components/paypal/zonos-paypal-payment.js +1 -1
  57. package/dist/collection/components/store/checkout/paypal.js +14 -1
  58. package/dist/collection/components/store/checkout/stripe.js +9 -0
  59. package/dist/collection/components/store/hello/localization.js +3 -1
  60. package/dist/collection/components/store/translationStore/strings.arabic.js +11 -2
  61. package/dist/collection/components/store/translationStore/strings.base.js +11 -2
  62. package/dist/collection/components/store/translationStore/strings.chinese.js +11 -2
  63. package/dist/collection/components/store/translationStore/strings.danish.js +11 -2
  64. package/dist/collection/components/store/translationStore/strings.dutch.js +11 -2
  65. package/dist/collection/components/store/translationStore/strings.french.js +11 -2
  66. package/dist/collection/components/store/translationStore/strings.german.js +11 -2
  67. package/dist/collection/components/store/translationStore/strings.hebrew.js +11 -2
  68. package/dist/collection/components/store/translationStore/strings.indonesian.js +11 -2
  69. package/dist/collection/components/store/translationStore/strings.italian.js +11 -2
  70. package/dist/collection/components/store/translationStore/strings.japanese.js +11 -2
  71. package/dist/collection/components/store/translationStore/strings.korean.js +11 -2
  72. package/dist/collection/components/store/translationStore/strings.norwegian.js +11 -2
  73. package/dist/collection/components/store/translationStore/strings.polish.js +11 -2
  74. package/dist/collection/components/store/translationStore/strings.portuguese.js +11 -2
  75. package/dist/collection/components/store/translationStore/strings.russian.js +11 -2
  76. package/dist/collection/components/store/translationStore/strings.spanish.js +11 -2
  77. package/dist/collection/components/store/translationStore/strings.swedish.js +11 -2
  78. package/dist/collection/components/store/translationStore/strings.turkish.js +11 -2
  79. package/dist/collection/components/store/translationStore/strings.vietnamese.js +11 -2
  80. package/dist/collection/components/stripe/zonos-address/zonos-address.js +1 -1
  81. package/dist/collection/components/stripe/zonos-link-authentication/zonos-link-authentication.js +2 -2
  82. package/dist/collection/components/stripe/zonos-payment/zonos-payment.js +1 -1
  83. package/dist/collection/components/utils/api/getCheckoutSession.js +14 -0
  84. package/dist/collection/components/utils/resetToSelectedTab.js +17 -0
  85. package/dist/collection/components/utils/validateCheckoutSession.js +39 -0
  86. package/dist/collection/scripts/_zonosBase.js +5 -6
  87. package/dist/esm/{cart-f0bf7202.js → cart-709f053f.js} +281 -43
  88. package/dist/esm/index.js +12 -13
  89. package/dist/esm/loader.js +1 -1
  90. package/dist/esm/{paypal-65d40ba3.js → paypal-77a60c44.js} +13 -1
  91. package/dist/esm/zonos-address_7.entry.js +10 -10
  92. package/dist/esm/zonos-badge.entry.js +3 -3
  93. package/dist/esm/zonos-button_3.entry.js +3 -3
  94. package/dist/esm/zonos-card.entry.js +4 -4
  95. package/dist/esm/zonos-cart-items_13.entry.js +94 -26
  96. package/dist/esm/zonos-checkout.entry.js +5 -3
  97. package/dist/esm/zonos-collapse.entry.js +2 -2
  98. package/dist/esm/zonos-component.entry.js +1 -1
  99. package/dist/esm/zonos-controller.entry.js +2 -2
  100. package/dist/esm/zonos-country-flag.entry.js +1 -1
  101. package/dist/esm/zonos-country-select_4.entry.js +9 -9
  102. package/dist/esm/zonos-elements.js +1 -1
  103. package/dist/esm/zonos-hello-dialog.entry.js +5 -5
  104. package/dist/esm/zonos-hello.entry.js +2 -2
  105. package/dist/esm/zonos-input.entry.js +4 -4
  106. package/dist/esm/zonos-language-select_2.entry.js +5 -5
  107. package/dist/esm/zonos-link.entry.js +1 -1
  108. package/dist/esm/zonos-logo.entry.js +2 -2
  109. package/dist/esm/zonos-notification_3.entry.js +4 -4
  110. package/dist/esm/zonos-toggle.entry.js +2 -2
  111. package/dist/esm/zonos-tooltip.entry.js +2 -2
  112. package/dist/esm/zonos-v-stack.entry.js +2 -2
  113. package/dist/esm-es5/cart-709f053f.js +1 -0
  114. package/dist/esm-es5/index.js +1 -1
  115. package/dist/esm-es5/loader.js +1 -1
  116. package/dist/esm-es5/paypal-77a60c44.js +17 -0
  117. package/dist/esm-es5/zonos-address_7.entry.js +1 -1
  118. package/dist/esm-es5/zonos-badge.entry.js +1 -1
  119. package/dist/esm-es5/zonos-button_3.entry.js +1 -1
  120. package/dist/esm-es5/zonos-card.entry.js +1 -1
  121. package/dist/esm-es5/zonos-cart-items_13.entry.js +1 -1
  122. package/dist/esm-es5/zonos-checkout.entry.js +1 -1
  123. package/dist/esm-es5/zonos-collapse.entry.js +1 -1
  124. package/dist/esm-es5/zonos-component.entry.js +1 -1
  125. package/dist/esm-es5/zonos-controller.entry.js +1 -1
  126. package/dist/esm-es5/zonos-country-flag.entry.js +1 -1
  127. package/dist/esm-es5/zonos-country-select_4.entry.js +1 -1
  128. package/dist/esm-es5/zonos-elements.js +1 -1
  129. package/dist/esm-es5/zonos-hello-dialog.entry.js +1 -1
  130. package/dist/esm-es5/zonos-hello.entry.js +1 -1
  131. package/dist/esm-es5/zonos-input.entry.js +1 -1
  132. package/dist/esm-es5/zonos-language-select_2.entry.js +1 -1
  133. package/dist/esm-es5/zonos-link.entry.js +1 -1
  134. package/dist/esm-es5/zonos-logo.entry.js +1 -1
  135. package/dist/esm-es5/zonos-notification_3.entry.js +1 -1
  136. package/dist/esm-es5/zonos-toggle.entry.js +1 -1
  137. package/dist/esm-es5/zonos-tooltip.entry.js +1 -1
  138. package/dist/esm-es5/zonos-v-stack.entry.js +1 -1
  139. package/dist/scripts/index.js +1 -1
  140. package/dist/scripts/loadZonos.js +1 -1
  141. package/dist/scripts/zonos.js +1 -1
  142. package/dist/types/components/checkout/zonos-checkout/zonos-checkout-payment/zonos-checkout-payment.d.ts +6 -0
  143. package/dist/types/components/store/checkout/stripe.d.ts +4 -0
  144. package/dist/types/components/store/translationStore/strings.arabic.d.ts +10 -1
  145. package/dist/types/components/store/translationStore/strings.base.d.ts +10 -1
  146. package/dist/types/components/store/translationStore/strings.chinese.d.ts +10 -1
  147. package/dist/types/components/store/translationStore/strings.danish.d.ts +10 -1
  148. package/dist/types/components/store/translationStore/strings.dutch.d.ts +10 -1
  149. package/dist/types/components/store/translationStore/strings.french.d.ts +10 -1
  150. package/dist/types/components/store/translationStore/strings.german.d.ts +10 -1
  151. package/dist/types/components/store/translationStore/strings.hebrew.d.ts +10 -1
  152. package/dist/types/components/store/translationStore/strings.indonesian.d.ts +10 -1
  153. package/dist/types/components/store/translationStore/strings.italian.d.ts +10 -1
  154. package/dist/types/components/store/translationStore/strings.japanese.d.ts +10 -1
  155. package/dist/types/components/store/translationStore/strings.korean.d.ts +10 -1
  156. package/dist/types/components/store/translationStore/strings.norwegian.d.ts +10 -1
  157. package/dist/types/components/store/translationStore/strings.polish.d.ts +10 -1
  158. package/dist/types/components/store/translationStore/strings.portuguese.d.ts +10 -1
  159. package/dist/types/components/store/translationStore/strings.russian.d.ts +10 -1
  160. package/dist/types/components/store/translationStore/strings.spanish.d.ts +10 -1
  161. package/dist/types/components/store/translationStore/strings.swedish.d.ts +10 -1
  162. package/dist/types/components/store/translationStore/strings.turkish.d.ts +10 -1
  163. package/dist/types/components/store/translationStore/strings.vietnamese.d.ts +10 -1
  164. package/dist/types/components/store/translationStore.d.ts +1 -1
  165. package/dist/types/components/utils/api/getCheckoutSession.d.ts +9 -0
  166. package/dist/types/components/utils/resetToSelectedTab.d.ts +12 -0
  167. package/dist/types/components/utils/validateCheckoutSession.d.ts +9 -0
  168. package/dist/types/types/checkout/api/CheckoutSession.d.ts +5 -1
  169. package/dist/types/types/generated/graphql.internal.types.d.ts +112 -0
  170. package/dist/types/types/generated/graphql.internal.types.ts +102 -1
  171. package/dist/zonos-elements/assets/RemoveIcon.svg +1 -1
  172. package/dist/zonos-elements/index.esm.js +1 -1
  173. package/dist/zonos-elements/{p-bbd5119f.entry.js → p-00d4bff1.entry.js} +1 -1
  174. package/dist/zonos-elements/p-010f5797.system.entry.js +1 -0
  175. package/dist/zonos-elements/{p-7b34be6e.system.entry.js → p-01ad5be8.system.entry.js} +1 -1
  176. package/dist/zonos-elements/{p-856bf7a4.entry.js → p-04a6a167.entry.js} +1 -1
  177. package/dist/zonos-elements/{p-b500f0d1.system.entry.js → p-0aee2e4c.system.entry.js} +1 -1
  178. package/dist/zonos-elements/p-0c027d2e.entry.js +1 -0
  179. package/dist/zonos-elements/{p-59d0f69b.system.entry.js → p-1c4ff7b2.system.entry.js} +1 -1
  180. package/dist/zonos-elements/{p-1af0a800.system.entry.js → p-22d69480.system.entry.js} +1 -1
  181. package/dist/zonos-elements/{p-d2a77699.system.entry.js → p-25c7e4fa.system.entry.js} +1 -1
  182. package/dist/zonos-elements/p-26b24d0b.system.js +1 -0
  183. package/dist/zonos-elements/{p-ba26fc96.system.entry.js → p-289ded20.system.entry.js} +1 -1
  184. package/dist/zonos-elements/{p-c9c4e557.entry.js → p-35b8dcde.entry.js} +1 -1
  185. package/dist/zonos-elements/{p-acae88db.entry.js → p-3a26cae5.entry.js} +1 -1
  186. package/dist/zonos-elements/{p-1360c4b5.system.entry.js → p-3dd503fd.system.entry.js} +1 -1
  187. package/dist/zonos-elements/{p-24488838.system.entry.js → p-4319600a.system.entry.js} +1 -1
  188. package/dist/zonos-elements/{p-1393d259.system.entry.js → p-461624ce.system.entry.js} +1 -1
  189. package/dist/zonos-elements/p-49e4ca08.system.entry.js +1 -0
  190. package/dist/zonos-elements/{p-e44ab8b8.entry.js → p-5c32689e.entry.js} +1 -1
  191. package/dist/zonos-elements/{p-47efac28.system.entry.js → p-64a04391.system.entry.js} +1 -1
  192. package/dist/zonos-elements/p-6b0aa1bb.system.js +17 -0
  193. package/dist/zonos-elements/{p-22d099fb.system.entry.js → p-7a60deef.system.entry.js} +1 -1
  194. package/dist/zonos-elements/{p-84df573a.entry.js → p-7acf6802.entry.js} +1 -1
  195. package/dist/zonos-elements/{p-f9f48476.entry.js → p-7ef573f0.entry.js} +1 -1
  196. package/dist/zonos-elements/{p-37a127fc.entry.js → p-8368a79e.entry.js} +1 -1
  197. package/dist/zonos-elements/{p-5775cd68.system.entry.js → p-87ed2e17.system.entry.js} +1 -1
  198. package/dist/zonos-elements/{p-1ac0f941.system.entry.js → p-896ab1ed.system.entry.js} +1 -1
  199. package/dist/zonos-elements/{p-c48e735d.system.entry.js → p-896d62a4.system.entry.js} +1 -1
  200. package/dist/zonos-elements/p-8f9affb3.system.entry.js +1 -0
  201. package/dist/zonos-elements/{p-234b3f74.entry.js → p-9589bd08.entry.js} +1 -1
  202. package/dist/zonos-elements/{p-22e2f162.entry.js → p-9b59704a.entry.js} +1 -1
  203. package/dist/zonos-elements/p-a58731ec.system.js +1 -0
  204. package/dist/zonos-elements/{p-bad5200e.entry.js → p-ad1d6ea2.entry.js} +1 -1
  205. package/dist/zonos-elements/{p-b9e4e410.entry.js → p-ad4bc6a2.entry.js} +1 -1
  206. package/dist/zonos-elements/p-afffdfc2.js +1 -0
  207. package/dist/zonos-elements/{p-4ab4ba81.entry.js → p-b832ec52.entry.js} +1 -1
  208. package/dist/zonos-elements/{p-f0ce4d90.entry.js → p-b9efc660.entry.js} +1 -1
  209. package/dist/zonos-elements/p-be2feba6.entry.js +1 -0
  210. package/dist/zonos-elements/p-c78dd680.system.js +1 -1
  211. package/dist/zonos-elements/{p-a0cc4dd2.entry.js → p-cd1fd09e.entry.js} +1 -1
  212. package/dist/zonos-elements/{p-52a5bd4c.system.entry.js → p-cf72603f.system.entry.js} +1 -1
  213. package/dist/zonos-elements/p-d35376d3.js +17 -0
  214. package/dist/zonos-elements/{p-95f26bc3.entry.js → p-d633ced9.entry.js} +1 -1
  215. package/dist/zonos-elements/p-e6c31531.entry.js +1 -0
  216. package/dist/zonos-elements/{p-de020c11.system.entry.js → p-ee1e1d94.system.entry.js} +1 -1
  217. package/dist/zonos-elements/{p-be468605.system.entry.js → p-f07c01c5.system.entry.js} +1 -1
  218. package/dist/zonos-elements/{p-8880d648.entry.js → p-f2867195.entry.js} +1 -1
  219. package/dist/zonos-elements/{p-b088f65a.entry.js → p-f8ca3e71.entry.js} +1 -1
  220. package/dist/zonos-elements/{p-c0719959.system.entry.js → p-ffe4a999.system.entry.js} +1 -1
  221. package/dist/zonos-elements/zonos-elements.esm.js +1 -1
  222. package/package.json +2 -1
  223. package/dist/esm-es5/cart-f0bf7202.js +0 -1
  224. package/dist/esm-es5/paypal-65d40ba3.js +0 -17
  225. package/dist/zonos-elements/p-09636917.js +0 -1
  226. package/dist/zonos-elements/p-128b1b70.system.entry.js +0 -1
  227. package/dist/zonos-elements/p-31a776aa.system.entry.js +0 -1
  228. package/dist/zonos-elements/p-4628832d.system.js +0 -1
  229. package/dist/zonos-elements/p-58983c97.entry.js +0 -1
  230. package/dist/zonos-elements/p-6e24b0cf.system.js +0 -17
  231. package/dist/zonos-elements/p-845ad2b8.js +0 -17
  232. package/dist/zonos-elements/p-8e25910c.entry.js +0 -1
  233. package/dist/zonos-elements/p-b6005449.system.entry.js +0 -1
  234. package/dist/zonos-elements/p-c5bff157.entry.js +0 -1
  235. package/dist/zonos-elements/p-e309e4a3.system.js +0 -1
@@ -120,8 +120,8 @@ const stringsArabic = {
120
120
  'Error updating Checkout': {
121
121
  value: 'خطأ في تحديث جلسة الخروج',
122
122
  },
123
- Estimated: {
124
- value: 'مقدر',
123
+ 'Estimated [amount]': {
124
+ value: 'مقدر [amount]',
125
125
  },
126
126
  'Expected delivery': {
127
127
  value: 'التوصيل المتوقع',
@@ -177,6 +177,9 @@ const stringsArabic = {
177
177
  'No countries found': {
178
178
  value: 'لم يتم العثور على دول',
179
179
  },
180
+ 'No shipment rating selected. Please go back to the "Shipping" step and select a shipment rating to proceed.': {
181
+ value: 'لم يتم اختيار تقييم الشحنة. يرجى العودة إلى خطوة "الشحن" واختيار تقييم الشحنة للمتابعة.',
182
+ },
180
183
  'No shipping method selected': {
181
184
  value: 'لم يتم تحديد طريقة الشحن',
182
185
  },
@@ -336,6 +339,9 @@ const stringsArabic = {
336
339
  Success: {
337
340
  value: 'نجاح',
338
341
  },
342
+ 'Taxes and fees': {
343
+ value: 'الضرائب والرسوم',
344
+ },
339
345
  'Taxes will apply to all orders.': {
340
346
  value: 'سيتم تطبيق الضرائب على جميع الطلبات.',
341
347
  },
@@ -369,6 +375,9 @@ const stringsArabic = {
369
375
  'Unable to check inventory. Please try again.': {
370
376
  value: 'تعذر التحقق من المخزون. حاول مرة أخرى.',
371
377
  },
378
+ 'Unable to retrieve the checkout session at the moment. Please try again or contact our support team.': {
379
+ value: 'غير قادر على استرداد جلسة الدفع في الوقت الحالي. يرجى المحاولة مرة أخرى أو الاتصال بفريق الدعم لدينا.',
380
+ },
372
381
  'Update address': {
373
382
  value: 'تحديث العنوان',
374
383
  },
@@ -555,8 +564,8 @@ const stringsBase = {
555
564
  'Error updating Checkout': {
556
565
  value: 'Error updating Checkout',
557
566
  },
558
- Estimated: {
559
- value: 'Estimated',
567
+ 'Estimated [amount]': {
568
+ value: 'Estimated [amount]',
560
569
  },
561
570
  'Expected delivery': {
562
571
  value: 'Expected delivery',
@@ -612,6 +621,9 @@ const stringsBase = {
612
621
  'No countries found': {
613
622
  value: 'No countries found',
614
623
  },
624
+ 'No shipment rating selected. Please go back to the "Shipping" step and select a shipment rating to proceed.': {
625
+ value: 'No shipment rating selected. Please go back to the "Shipping" step and select a shipment rating to proceed.',
626
+ },
615
627
  'No shipping method selected': {
616
628
  value: 'No shipping method selected',
617
629
  },
@@ -771,6 +783,9 @@ const stringsBase = {
771
783
  Success: {
772
784
  value: 'Success',
773
785
  },
786
+ 'Taxes and fees': {
787
+ value: 'Taxes and fees',
788
+ },
774
789
  'Taxes will apply to all orders.': {
775
790
  value: 'Taxes will apply to all orders.',
776
791
  },
@@ -804,6 +819,9 @@ const stringsBase = {
804
819
  'Unable to check inventory. Please try again.': {
805
820
  value: 'Unable to check inventory. Please try again.',
806
821
  },
822
+ 'Unable to retrieve the checkout session at the moment. Please try again or contact our support team.': {
823
+ value: 'Unable to retrieve the checkout session at the moment. Please try again or contact our support team.',
824
+ },
807
825
  'Update address': {
808
826
  value: 'Update address',
809
827
  },
@@ -990,8 +1008,8 @@ const stringsChinese = {
990
1008
  'Error updating Checkout': {
991
1009
  value: '更新结账时出错',
992
1010
  },
993
- Estimated: {
994
- value: '估计',
1011
+ 'Estimated [amount]': {
1012
+ value: '预计 [amount]',
995
1013
  },
996
1014
  'Expected delivery': {
997
1015
  value: '预计送达',
@@ -1047,6 +1065,9 @@ const stringsChinese = {
1047
1065
  'No countries found': {
1048
1066
  value: '未找到国家',
1049
1067
  },
1068
+ 'No shipment rating selected. Please go back to the "Shipping" step and select a shipment rating to proceed.': {
1069
+ value: '未选择运费评级。请返回到"运输"步骤并选择运费评级以继续。',
1070
+ },
1050
1071
  'No shipping method selected': {
1051
1072
  value: '未选择运输方式',
1052
1073
  },
@@ -1206,6 +1227,9 @@ const stringsChinese = {
1206
1227
  Success: {
1207
1228
  value: '成功',
1208
1229
  },
1230
+ 'Taxes and fees': {
1231
+ value: '税费',
1232
+ },
1209
1233
  'Taxes will apply to all orders.': {
1210
1234
  value: '所有订单将适用税款。',
1211
1235
  },
@@ -1239,6 +1263,9 @@ const stringsChinese = {
1239
1263
  'Unable to check inventory. Please try again.': {
1240
1264
  value: '无法检查库存。请再试一次。',
1241
1265
  },
1266
+ 'Unable to retrieve the checkout session at the moment. Please try again or contact our support team.': {
1267
+ value: '目前无法检索结账会话。请重试或联系我们的支持团队。',
1268
+ },
1242
1269
  'Update address': {
1243
1270
  value: '更新地址',
1244
1271
  },
@@ -1425,8 +1452,8 @@ const stringsDanish = {
1425
1452
  'Error updating Checkout': {
1426
1453
  value: 'Fejl ved opdatering af betalingssession',
1427
1454
  },
1428
- Estimated: {
1429
- value: 'Anslået',
1455
+ 'Estimated [amount]': {
1456
+ value: 'Anslået [amount]',
1430
1457
  },
1431
1458
  'Expected delivery': {
1432
1459
  value: 'Forventet levering',
@@ -1482,6 +1509,9 @@ const stringsDanish = {
1482
1509
  'No countries found': {
1483
1510
  value: 'Ingen lande fundet',
1484
1511
  },
1512
+ 'No shipment rating selected. Please go back to the "Shipping" step and select a shipment rating to proceed.': {
1513
+ value: 'Ingen forsendelsesvurdering valgt. Gå venligst tilbage til "Forsendelse"-trinnet og vælg en forsendelsesvurdering for at fortsætte.',
1514
+ },
1485
1515
  'No shipping method selected': {
1486
1516
  value: 'Ingen leveringsmetode valgt',
1487
1517
  },
@@ -1641,6 +1671,9 @@ const stringsDanish = {
1641
1671
  Success: {
1642
1672
  value: 'Succes',
1643
1673
  },
1674
+ 'Taxes and fees': {
1675
+ value: 'Skatter og gebyrer',
1676
+ },
1644
1677
  'Taxes will apply to all orders.': {
1645
1678
  value: 'Skatter vil gælde for alle ordrer.',
1646
1679
  },
@@ -1674,6 +1707,9 @@ const stringsDanish = {
1674
1707
  'Unable to check inventory. Please try again.': {
1675
1708
  value: 'Kunne ikke tjekke lagerbeholdningen. Prøv venligst igen.',
1676
1709
  },
1710
+ 'Unable to retrieve the checkout session at the moment. Please try again or contact our support team.': {
1711
+ value: 'Kan ikke hente betalingssessionen i øjeblikket. Prøv venligst igen eller kontakt vores supportteam.',
1712
+ },
1677
1713
  'Update address': {
1678
1714
  value: 'Opdater adresse',
1679
1715
  },
@@ -1860,8 +1896,8 @@ const stringsDutch = {
1860
1896
  'Error updating Checkout': {
1861
1897
  value: 'Fout bij het bijwerken van afrekening',
1862
1898
  },
1863
- Estimated: {
1864
- value: 'Geschat',
1899
+ 'Estimated [amount]': {
1900
+ value: 'Geschat [amount]',
1865
1901
  },
1866
1902
  'Expected delivery': {
1867
1903
  value: 'Verwachte levering',
@@ -1917,6 +1953,9 @@ const stringsDutch = {
1917
1953
  'No countries found': {
1918
1954
  value: 'Geen landen gevonden',
1919
1955
  },
1956
+ 'No shipment rating selected. Please go back to the "Shipping" step and select a shipment rating to proceed.': {
1957
+ value: 'Geen verzendbeoordeling geselecteerd. Ga alstublieft terug naar de stap "Verzending" en selecteer een verzendbeoordeling om door te gaan.',
1958
+ },
1920
1959
  'No shipping method selected': {
1921
1960
  value: 'Geen verzendmethode geselecteerd',
1922
1961
  },
@@ -2076,6 +2115,9 @@ const stringsDutch = {
2076
2115
  Success: {
2077
2116
  value: 'Succes',
2078
2117
  },
2118
+ 'Taxes and fees': {
2119
+ value: 'Belastingen en kosten',
2120
+ },
2079
2121
  'Taxes will apply to all orders.': {
2080
2122
  value: 'Belastingen zullen van toepassing zijn op alle bestellingen.',
2081
2123
  },
@@ -2109,6 +2151,9 @@ const stringsDutch = {
2109
2151
  'Unable to check inventory. Please try again.': {
2110
2152
  value: 'Kon de voorraad niet controleren. Probeer het opnieuw.',
2111
2153
  },
2154
+ 'Unable to retrieve the checkout session at the moment. Please try again or contact our support team.': {
2155
+ value: 'Kan de betaal sessie momenteel niet ophalen. Probeer het opnieuw of neem contact op met ons ondersteuningsteam.',
2156
+ },
2112
2157
  'Update address': {
2113
2158
  value: 'Adres bijwerken',
2114
2159
  },
@@ -2295,8 +2340,8 @@ const stringsFrench = {
2295
2340
  'Error updating Checkout': {
2296
2341
  value: 'Erreur lors de la mise à jour du paiement',
2297
2342
  },
2298
- Estimated: {
2299
- value: 'Estimé',
2343
+ 'Estimated [amount]': {
2344
+ value: 'Estimé [amount]',
2300
2345
  },
2301
2346
  'Expected delivery': {
2302
2347
  value: 'Livraison prévue',
@@ -2352,6 +2397,9 @@ const stringsFrench = {
2352
2397
  'No countries found': {
2353
2398
  value: 'Aucun pays trouvé',
2354
2399
  },
2400
+ 'No shipment rating selected. Please go back to the "Shipping" step and select a shipment rating to proceed.': {
2401
+ 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.`,
2402
+ },
2355
2403
  'No shipping method selected': {
2356
2404
  value: 'Aucune méthode de livraison sélectionnée',
2357
2405
  },
@@ -2511,6 +2559,9 @@ const stringsFrench = {
2511
2559
  Success: {
2512
2560
  value: 'Succès',
2513
2561
  },
2562
+ 'Taxes and fees': {
2563
+ value: 'Taxes et frais',
2564
+ },
2514
2565
  'Taxes will apply to all orders.': {
2515
2566
  value: "Des taxes s'appliqueront à toutes les commandes.",
2516
2567
  },
@@ -2544,6 +2595,9 @@ const stringsFrench = {
2544
2595
  'Unable to check inventory. Please try again.': {
2545
2596
  value: "Impossible de vérifier l'inventaire. Veuillez réessayer.",
2546
2597
  },
2598
+ 'Unable to retrieve the checkout session at the moment. Please try again or contact our support team.': {
2599
+ value: "Impossible de récupérer la session de paiement pour le moment. Veuillez réessayer ou contacter notre équipe d'assistance.",
2600
+ },
2547
2601
  'Update address': {
2548
2602
  value: "Mettre à jour l'adresse",
2549
2603
  },
@@ -2730,8 +2784,8 @@ const stringsGerman = {
2730
2784
  'Error updating Checkout': {
2731
2785
  value: 'Fehler bei der Aktualisierung des Checkouts',
2732
2786
  },
2733
- Estimated: {
2734
- value: 'Geschätzt',
2787
+ 'Estimated [amount]': {
2788
+ value: 'Geschätzt [amount]',
2735
2789
  },
2736
2790
  'Expected delivery': {
2737
2791
  value: 'Voraussichtliche Lieferung',
@@ -2787,6 +2841,9 @@ const stringsGerman = {
2787
2841
  'No countries found': {
2788
2842
  value: 'Keine Länder gefunden',
2789
2843
  },
2844
+ 'No shipment rating selected. Please go back to the "Shipping" step and select a shipment rating to proceed.': {
2845
+ value: 'Keine Versandbewertung ausgewählt. Bitte gehen Sie zurück zum Schritt "Versand" und wählen Sie eine Versandbewertung aus, um fortzufahren.',
2846
+ },
2790
2847
  'No shipping method selected': {
2791
2848
  value: 'Keine Versandart ausgewählt',
2792
2849
  },
@@ -2946,6 +3003,9 @@ const stringsGerman = {
2946
3003
  Success: {
2947
3004
  value: 'Erfolg',
2948
3005
  },
3006
+ 'Taxes and fees': {
3007
+ value: 'Steuern und Gebühren',
3008
+ },
2949
3009
  'Taxes will apply to all orders.': {
2950
3010
  value: 'Steuern werden auf alle Bestellungen angewendet.',
2951
3011
  },
@@ -2979,6 +3039,9 @@ const stringsGerman = {
2979
3039
  'Unable to check inventory. Please try again.': {
2980
3040
  value: 'Inventar konnte nicht überprüft werden. Bitte versuchen Sie es erneut.',
2981
3041
  },
3042
+ 'Unable to retrieve the checkout session at the moment. Please try again or contact our support team.': {
3043
+ value: 'Die Checkout-Sitzung kann momentan nicht abgerufen werden. Bitte versuchen Sie es erneut oder kontaktieren Sie unser Support-Team.',
3044
+ },
2982
3045
  'Update address': {
2983
3046
  value: 'Adresse aktualisieren',
2984
3047
  },
@@ -3165,8 +3228,8 @@ const stringsHebrew = {
3165
3228
  'Error updating Checkout': {
3166
3229
  value: 'שגיאה בעדכון ההזמנה',
3167
3230
  },
3168
- Estimated: {
3169
- value: 'משוער',
3231
+ 'Estimated [amount]': {
3232
+ value: 'משוער [amount]',
3170
3233
  },
3171
3234
  'Expected delivery': {
3172
3235
  value: 'אספקה צפויה',
@@ -3222,6 +3285,9 @@ const stringsHebrew = {
3222
3285
  'No countries found': {
3223
3286
  value: 'לא נמצאו מדינות',
3224
3287
  },
3288
+ 'No shipment rating selected. Please go back to the "Shipping" step and select a shipment rating to proceed.': {
3289
+ value: 'לא נבחר דירוג משלוח. אנא חזור לשלב "משלוח" ובחר דירוג משלוח כדי להמשיך.',
3290
+ },
3225
3291
  'No shipping method selected': {
3226
3292
  value: 'לא נבחרה שיטת משלוח',
3227
3293
  },
@@ -3381,6 +3447,9 @@ const stringsHebrew = {
3381
3447
  Success: {
3382
3448
  value: 'הצלחה',
3383
3449
  },
3450
+ 'Taxes and fees': {
3451
+ value: 'מיסים ודמי שירות',
3452
+ },
3384
3453
  'Taxes will apply to all orders.': {
3385
3454
  value: 'מסים יחולו על כל ההזמנות.',
3386
3455
  },
@@ -3414,6 +3483,9 @@ const stringsHebrew = {
3414
3483
  'Unable to check inventory. Please try again.': {
3415
3484
  value: 'לא ניתן היה לבדוק את המלאי. אנא נסה שוב.',
3416
3485
  },
3486
+ 'Unable to retrieve the checkout session at the moment. Please try again or contact our support team.': {
3487
+ value: 'לא ניתן לאחזר את מושב התשלום כרגע. אנא נסה שוב או צור קשר עם צוות התמיכה שלנו.',
3488
+ },
3417
3489
  'Update address': {
3418
3490
  value: 'עדכון כתובת',
3419
3491
  },
@@ -3600,8 +3672,8 @@ const stringsIndonesian = {
3600
3672
  'Error updating Checkout': {
3601
3673
  value: 'Kesalahan saat memperbarui Checkout',
3602
3674
  },
3603
- Estimated: {
3604
- value: 'Diperkirakan',
3675
+ 'Estimated [amount]': {
3676
+ value: 'Perkiraan [amount]',
3605
3677
  },
3606
3678
  'Expected delivery': {
3607
3679
  value: 'Perkiraan pengiriman',
@@ -3657,6 +3729,9 @@ const stringsIndonesian = {
3657
3729
  'No countries found': {
3658
3730
  value: 'Tidak ada negara yang ditemukan',
3659
3731
  },
3732
+ 'No shipment rating selected. Please go back to the "Shipping" step and select a shipment rating to proceed.': {
3733
+ value: 'Tidak ada penilaian pengiriman yang dipilih. Silakan kembali ke langkah "Pengiriman" dan pilih penilaian pengiriman untuk melanjutkan.',
3734
+ },
3660
3735
  'No shipping method selected': {
3661
3736
  value: 'Tidak ada metode pengiriman yang dipilih',
3662
3737
  },
@@ -3816,6 +3891,9 @@ const stringsIndonesian = {
3816
3891
  Success: {
3817
3892
  value: 'Sukses',
3818
3893
  },
3894
+ 'Taxes and fees': {
3895
+ value: 'Pajak dan biaya',
3896
+ },
3819
3897
  'Taxes will apply to all orders.': {
3820
3898
  value: 'Pajak akan berlaku untuk semua pesanan.',
3821
3899
  },
@@ -3849,6 +3927,9 @@ const stringsIndonesian = {
3849
3927
  'Unable to check inventory. Please try again.': {
3850
3928
  value: 'Tidak dapat memeriksa inventaris. Silakan coba lagi.',
3851
3929
  },
3930
+ 'Unable to retrieve the checkout session at the moment. Please try again or contact our support team.': {
3931
+ value: 'Tidak dapat mengambil sesi checkout saat ini. Silakan coba lagi atau hubungi tim dukungan kami.',
3932
+ },
3852
3933
  'Update address': {
3853
3934
  value: 'Perbarui alamat',
3854
3935
  },
@@ -4035,8 +4116,8 @@ const stringsItalian = {
4035
4116
  'Error updating Checkout': {
4036
4117
  value: "Errore durante l'aggiornamento del pagamento",
4037
4118
  },
4038
- Estimated: {
4039
- value: 'Stimato',
4119
+ 'Estimated [amount]': {
4120
+ value: 'Stimato [amount]',
4040
4121
  },
4041
4122
  'Expected delivery': {
4042
4123
  value: 'Consegna prevista',
@@ -4092,6 +4173,9 @@ const stringsItalian = {
4092
4173
  'No countries found': {
4093
4174
  value: 'Nessun paese trovato',
4094
4175
  },
4176
+ 'No shipment rating selected. Please go back to the "Shipping" step and select a shipment rating to proceed.': {
4177
+ value: 'Nessuna valutazione di spedizione selezionata. Si prega di tornare al passaggio "Spedizione" e selezionare una valutazione di spedizione per procedere.',
4178
+ },
4095
4179
  'No shipping method selected': {
4096
4180
  value: 'Nessun metodo di spedizione selezionato',
4097
4181
  },
@@ -4251,6 +4335,9 @@ const stringsItalian = {
4251
4335
  Success: {
4252
4336
  value: 'Successo',
4253
4337
  },
4338
+ 'Taxes and fees': {
4339
+ value: 'Tasse e commissioni',
4340
+ },
4254
4341
  'Taxes will apply to all orders.': {
4255
4342
  value: 'Le tasse si applicheranno a tutti gli ordini.',
4256
4343
  },
@@ -4284,6 +4371,9 @@ const stringsItalian = {
4284
4371
  'Unable to check inventory. Please try again.': {
4285
4372
  value: "Impossibile verificare l'inventario. Si prega di riprovare.",
4286
4373
  },
4374
+ 'Unable to retrieve the checkout session at the moment. Please try again or contact our support team.': {
4375
+ value: 'Impossibile recuperare la sessione di pagamento al momento. Si prega di riprovare o contattare il nostro team di supporto.',
4376
+ },
4287
4377
  'Update address': {
4288
4378
  value: 'Aggiorna indirizzo',
4289
4379
  },
@@ -4470,8 +4560,8 @@ const stringsJapanese = {
4470
4560
  'Error updating Checkout': {
4471
4561
  value: 'チェックアウトの更新中にエラーが発生しました',
4472
4562
  },
4473
- Estimated: {
4474
- value: '推定',
4563
+ 'Estimated [amount]': {
4564
+ value: '推定 [amount]',
4475
4565
  },
4476
4566
  'Expected delivery': {
4477
4567
  value: '配送予定日',
@@ -4527,6 +4617,9 @@ const stringsJapanese = {
4527
4617
  'No countries found': {
4528
4618
  value: '国が見つかりません',
4529
4619
  },
4620
+ 'No shipment rating selected. Please go back to the "Shipping" step and select a shipment rating to proceed.': {
4621
+ value: '配送評価が選択されていません。「配送」ステップに戻り、配送評価を選択して続行してください。',
4622
+ },
4530
4623
  'No shipping method selected': {
4531
4624
  value: '配送方法が選択されていません',
4532
4625
  },
@@ -4686,6 +4779,9 @@ const stringsJapanese = {
4686
4779
  Success: {
4687
4780
  value: '成功',
4688
4781
  },
4782
+ 'Taxes and fees': {
4783
+ value: '税金と手数料',
4784
+ },
4689
4785
  'Taxes will apply to all orders.': {
4690
4786
  value: 'すべての注文に税金が適用されます。',
4691
4787
  },
@@ -4719,6 +4815,9 @@ const stringsJapanese = {
4719
4815
  'Unable to check inventory. Please try again.': {
4720
4816
  value: '在庫を確認できません。再試行してください。',
4721
4817
  },
4818
+ 'Unable to retrieve the checkout session at the moment. Please try again or contact our support team.': {
4819
+ value: '現在、チェックアウトセッションを取得できません。もう一度お試しいただくか、サポートチームにお問い合わせください。',
4820
+ },
4722
4821
  'Update address': {
4723
4822
  value: '住所を更新',
4724
4823
  },
@@ -4905,8 +5004,8 @@ const stringsKorean = {
4905
5004
  'Error updating Checkout': {
4906
5005
  value: '결제 업데이트 중 오류 발생',
4907
5006
  },
4908
- Estimated: {
4909
- value: '추정',
5007
+ 'Estimated [amount]': {
5008
+ value: '예상 [amount]',
4910
5009
  },
4911
5010
  'Expected delivery': {
4912
5011
  value: '예상 배송일',
@@ -4962,6 +5061,9 @@ const stringsKorean = {
4962
5061
  'No countries found': {
4963
5062
  value: '국가를 찾을 수 없습니다',
4964
5063
  },
5064
+ 'No shipment rating selected. Please go back to the "Shipping" step and select a shipment rating to proceed.': {
5065
+ value: '배송 등급이 선택되지 않았습니다. "배송" 단계로 돌아가서 배송 등급을 선택하여 진행하세요.',
5066
+ },
4965
5067
  'No shipping method selected': {
4966
5068
  value: '선택된 배송 방법이 없습니다',
4967
5069
  },
@@ -5121,6 +5223,9 @@ const stringsKorean = {
5121
5223
  Success: {
5122
5224
  value: '성공',
5123
5225
  },
5226
+ 'Taxes and fees': {
5227
+ value: '세금 및 수수료',
5228
+ },
5124
5229
  'Taxes will apply to all orders.': {
5125
5230
  value: '모든 주문에 세금이 적용됩니다.',
5126
5231
  },
@@ -5154,6 +5259,9 @@ const stringsKorean = {
5154
5259
  'Unable to check inventory. Please try again.': {
5155
5260
  value: '재고를 확인할 수 없습니다. 다시 시도해 주세요.',
5156
5261
  },
5262
+ 'Unable to retrieve the checkout session at the moment. Please try again or contact our support team.': {
5263
+ value: '현재 결제 세션을 가져올 수 없습니다. 다시 시도하거나 지원 팀에 문의하십시오.',
5264
+ },
5157
5265
  'Update address': {
5158
5266
  value: '주소 업데이트',
5159
5267
  },
@@ -5340,8 +5448,8 @@ const stringsNorwegian = {
5340
5448
  'Error updating Checkout': {
5341
5449
  value: 'Feil ved oppdatering av utsjekking',
5342
5450
  },
5343
- Estimated: {
5344
- value: 'Anslått',
5451
+ 'Estimated [amount]': {
5452
+ value: 'Estimert [amount]',
5345
5453
  },
5346
5454
  'Expected delivery': {
5347
5455
  value: 'Forventet levering',
@@ -5397,6 +5505,9 @@ const stringsNorwegian = {
5397
5505
  'No countries found': {
5398
5506
  value: 'Ingen land funnet',
5399
5507
  },
5508
+ 'No shipment rating selected. Please go back to the "Shipping" step and select a shipment rating to proceed.': {
5509
+ value: 'Ingen forsendelsesvurdering valgt. Vennligst gå tilbake til "Frakt"-trinnet og velg en forsendelsesvurdering for å fortsette.',
5510
+ },
5400
5511
  'No shipping method selected': {
5401
5512
  value: 'Ingen fraktmetode valgt',
5402
5513
  },
@@ -5556,6 +5667,9 @@ const stringsNorwegian = {
5556
5667
  Success: {
5557
5668
  value: 'Suksess',
5558
5669
  },
5670
+ 'Taxes and fees': {
5671
+ value: 'Skatter og avgifter',
5672
+ },
5559
5673
  'Taxes will apply to all orders.': {
5560
5674
  value: 'Skatter vil gjelde for alle bestillinger.',
5561
5675
  },
@@ -5589,6 +5703,9 @@ const stringsNorwegian = {
5589
5703
  'Unable to check inventory. Please try again.': {
5590
5704
  value: 'Kunne ikke sjekke lagerbeholdningen. Vennligst prøv igjen.',
5591
5705
  },
5706
+ 'Unable to retrieve the checkout session at the moment. Please try again or contact our support team.': {
5707
+ value: 'Kan ikke hente utsjekkingsøkten for øyeblikket. Vennligst prøv igjen eller kontakt vårt supportteam.',
5708
+ },
5592
5709
  'Update address': {
5593
5710
  value: 'Oppdater adresse',
5594
5711
  },
@@ -5775,8 +5892,8 @@ const stringsPolish = {
5775
5892
  'Error updating Checkout': {
5776
5893
  value: 'Błąd podczas aktualizowania płatności',
5777
5894
  },
5778
- Estimated: {
5779
- value: 'Szacowany',
5895
+ 'Estimated [amount]': {
5896
+ value: 'Szacowany [amount]',
5780
5897
  },
5781
5898
  'Expected delivery': {
5782
5899
  value: 'Przewidywana dostawa',
@@ -5832,6 +5949,9 @@ const stringsPolish = {
5832
5949
  'No countries found': {
5833
5950
  value: 'Nie znaleziono krajów',
5834
5951
  },
5952
+ 'No shipment rating selected. Please go back to the "Shipping" step and select a shipment rating to proceed.': {
5953
+ value: 'Nie wybrano oceny przesyłki. Proszę wrócić do kroku "Wysyłka" i wybrać ocenę przesyłki, aby kontynuować.',
5954
+ },
5835
5955
  'No shipping method selected': {
5836
5956
  value: 'Nie wybrano metody wysyłki',
5837
5957
  },
@@ -5991,6 +6111,9 @@ const stringsPolish = {
5991
6111
  Success: {
5992
6112
  value: 'Sukces',
5993
6113
  },
6114
+ 'Taxes and fees': {
6115
+ value: 'Podatki i opłaty',
6116
+ },
5994
6117
  'Taxes will apply to all orders.': {
5995
6118
  value: 'Podatki będą miały zastosowanie do wszystkich zamówień.',
5996
6119
  },
@@ -6024,6 +6147,9 @@ const stringsPolish = {
6024
6147
  'Unable to check inventory. Please try again.': {
6025
6148
  value: 'Nie można sprawdzić stanu magazynu. Spróbuj ponownie.',
6026
6149
  },
6150
+ 'Unable to retrieve the checkout session at the moment. Please try again or contact our support team.': {
6151
+ value: 'Nie można pobrać sesji kasy w tej chwili. Proszę spróbować ponownie lub skontaktować się z naszym zespołem wsparcia.',
6152
+ },
6027
6153
  'Update address': {
6028
6154
  value: 'Zaktualizuj adres',
6029
6155
  },
@@ -6210,8 +6336,8 @@ const stringsPortuguese = {
6210
6336
  'Error updating Checkout': {
6211
6337
  value: 'Erro ao atualizar Checkout',
6212
6338
  },
6213
- Estimated: {
6214
- value: 'Estimado',
6339
+ 'Estimated [amount]': {
6340
+ value: 'Estimado [amount]',
6215
6341
  },
6216
6342
  'Expected delivery': {
6217
6343
  value: 'Entrega prevista',
@@ -6267,6 +6393,9 @@ const stringsPortuguese = {
6267
6393
  'No countries found': {
6268
6394
  value: 'Nenhum país encontrado',
6269
6395
  },
6396
+ 'No shipment rating selected. Please go back to the "Shipping" step and select a shipment rating to proceed.': {
6397
+ value: 'Nenhuma classificação de envio selecionada. Por favor, volte para a etapa de "Envio" e selecione uma classificação de envio para prosseguir.',
6398
+ },
6270
6399
  'No shipping method selected': {
6271
6400
  value: 'Nenhum método de envio selecionado',
6272
6401
  },
@@ -6426,6 +6555,9 @@ const stringsPortuguese = {
6426
6555
  Success: {
6427
6556
  value: 'Sucesso',
6428
6557
  },
6558
+ 'Taxes and fees': {
6559
+ value: 'Impostos e taxas',
6560
+ },
6429
6561
  'Taxes will apply to all orders.': {
6430
6562
  value: 'Impostos serão aplicados a todos os pedidos.',
6431
6563
  },
@@ -6459,6 +6591,9 @@ const stringsPortuguese = {
6459
6591
  'Unable to check inventory. Please try again.': {
6460
6592
  value: 'Não foi possível verificar o inventário. Por favor, tente novamente.',
6461
6593
  },
6594
+ 'Unable to retrieve the checkout session at the moment. Please try again or contact our support team.': {
6595
+ 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.',
6596
+ },
6462
6597
  'Update address': {
6463
6598
  value: 'Atualizar endereço',
6464
6599
  },
@@ -6645,8 +6780,8 @@ const stringsRussian = {
6645
6780
  'Error updating Checkout': {
6646
6781
  value: 'Ошибка при обновлении оформления',
6647
6782
  },
6648
- Estimated: {
6649
- value: 'Оценочный',
6783
+ 'Estimated [amount]': {
6784
+ value: 'Оценка [amount]',
6650
6785
  },
6651
6786
  'Expected delivery': {
6652
6787
  value: 'Ожидаемая доставка',
@@ -6702,6 +6837,9 @@ const stringsRussian = {
6702
6837
  'No countries found': {
6703
6838
  value: 'Страны не найдены',
6704
6839
  },
6840
+ 'No shipment rating selected. Please go back to the "Shipping" step and select a shipment rating to proceed.': {
6841
+ value: 'Не выбран рейтинг доставки. Пожалуйста, вернитесь к шагу "Доставка" и выберите рейтинг доставки, чтобы продолжить.',
6842
+ },
6705
6843
  'No shipping method selected': {
6706
6844
  value: 'Метод доставки не выбран',
6707
6845
  },
@@ -6861,6 +6999,9 @@ const stringsRussian = {
6861
6999
  Success: {
6862
7000
  value: 'Успех',
6863
7001
  },
7002
+ 'Taxes and fees': {
7003
+ value: 'Налоги и сборы',
7004
+ },
6864
7005
  'Taxes will apply to all orders.': {
6865
7006
  value: 'Налоги будут применяться ко всем заказам.',
6866
7007
  },
@@ -6894,6 +7035,9 @@ const stringsRussian = {
6894
7035
  'Unable to check inventory. Please try again.': {
6895
7036
  value: 'Не удалось проверить наличие на складе. Пожалуйста, попробуйте снова.',
6896
7037
  },
7038
+ 'Unable to retrieve the checkout session at the moment. Please try again or contact our support team.': {
7039
+ value: 'Не удается получить сеанс оформления заказа в данный момент. Пожалуйста, попробуйте еще раз или свяжитесь с нашей службой поддержки.',
7040
+ },
6897
7041
  'Update address': {
6898
7042
  value: 'Обновить адрес',
6899
7043
  },
@@ -7080,8 +7224,8 @@ const stringsSpanish = {
7080
7224
  'Error updating Checkout': {
7081
7225
  value: 'Error al actualizar el pago',
7082
7226
  },
7083
- Estimated: {
7084
- value: 'Estimado',
7227
+ 'Estimated [amount]': {
7228
+ value: 'Estimado [amount]',
7085
7229
  },
7086
7230
  'Expected delivery': {
7087
7231
  value: 'Entrega esperada',
@@ -7137,6 +7281,9 @@ const stringsSpanish = {
7137
7281
  'No countries found': {
7138
7282
  value: 'No se encontraron países',
7139
7283
  },
7284
+ 'No shipment rating selected. Please go back to the "Shipping" step and select a shipment rating to proceed.': {
7285
+ 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.',
7286
+ },
7140
7287
  'No shipping method selected': {
7141
7288
  value: 'No se ha seleccionado un método de envío',
7142
7289
  },
@@ -7296,6 +7443,9 @@ const stringsSpanish = {
7296
7443
  Success: {
7297
7444
  value: 'Éxito',
7298
7445
  },
7446
+ 'Taxes and fees': {
7447
+ value: 'Impuestos y tarifas',
7448
+ },
7299
7449
  'Taxes will apply to all orders.': {
7300
7450
  value: 'Se aplicarán impuestos a todos los pedidos.',
7301
7451
  },
@@ -7329,6 +7479,9 @@ const stringsSpanish = {
7329
7479
  'Unable to check inventory. Please try again.': {
7330
7480
  value: 'No se pudo verificar el inventario. Por favor, inténtelo de nuevo.',
7331
7481
  },
7482
+ 'Unable to retrieve the checkout session at the moment. Please try again or contact our support team.': {
7483
+ 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.',
7484
+ },
7332
7485
  'Update address': {
7333
7486
  value: 'Actualizar dirección',
7334
7487
  },
@@ -7515,8 +7668,8 @@ const stringsSwedish = {
7515
7668
  'Error updating Checkout': {
7516
7669
  value: 'Fel vid uppdatering av utcheckning',
7517
7670
  },
7518
- Estimated: {
7519
- value: 'Uppskattad',
7671
+ 'Estimated [amount]': {
7672
+ value: 'Uppskattad [amount]',
7520
7673
  },
7521
7674
  'Expected delivery': {
7522
7675
  value: 'Beräknad leverans',
@@ -7572,6 +7725,9 @@ const stringsSwedish = {
7572
7725
  'No countries found': {
7573
7726
  value: 'Inga länder hittades',
7574
7727
  },
7728
+ 'No shipment rating selected. Please go back to the "Shipping" step and select a shipment rating to proceed.': {
7729
+ value: 'Ingen fraktbedömning vald. Gå tillbaka till steget "Frakt" och välj en fraktbedömning för att fortsätta.',
7730
+ },
7575
7731
  'No shipping method selected': {
7576
7732
  value: 'Ingen fraktmetod vald',
7577
7733
  },
@@ -7731,6 +7887,9 @@ const stringsSwedish = {
7731
7887
  Success: {
7732
7888
  value: 'Framgång',
7733
7889
  },
7890
+ 'Taxes and fees': {
7891
+ value: 'Skatter och avgifter',
7892
+ },
7734
7893
  'Taxes will apply to all orders.': {
7735
7894
  value: 'Skatter kommer att tillämpas på alla beställningar.',
7736
7895
  },
@@ -7764,6 +7923,9 @@ const stringsSwedish = {
7764
7923
  'Unable to check inventory. Please try again.': {
7765
7924
  value: 'Det gick inte att kontrollera lagret. Försök igen.',
7766
7925
  },
7926
+ 'Unable to retrieve the checkout session at the moment. Please try again or contact our support team.': {
7927
+ value: 'Kan inte hämta betalningssessionen just nu. Försök igen eller kontakta vårt supportteam.',
7928
+ },
7767
7929
  'Update address': {
7768
7930
  value: 'Uppdatera adress',
7769
7931
  },
@@ -7950,8 +8112,8 @@ const stringsTurkish = {
7950
8112
  'Error updating Checkout': {
7951
8113
  value: 'Ödeme güncelleme hatası',
7952
8114
  },
7953
- Estimated: {
7954
- value: 'Tahmini',
8115
+ 'Estimated [amount]': {
8116
+ value: 'Tahmini [amount]',
7955
8117
  },
7956
8118
  'Expected delivery': {
7957
8119
  value: 'Beklenen teslimat',
@@ -8007,6 +8169,9 @@ const stringsTurkish = {
8007
8169
  'No countries found': {
8008
8170
  value: 'Ülke bulunamadı',
8009
8171
  },
8172
+ 'No shipment rating selected. Please go back to the "Shipping" step and select a shipment rating to proceed.': {
8173
+ 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.',
8174
+ },
8010
8175
  'No shipping method selected': {
8011
8176
  value: 'Kargo yöntemi seçilmedi',
8012
8177
  },
@@ -8166,6 +8331,9 @@ const stringsTurkish = {
8166
8331
  Success: {
8167
8332
  value: 'Başarı',
8168
8333
  },
8334
+ 'Taxes and fees': {
8335
+ value: 'Vergiler ve ücretler',
8336
+ },
8169
8337
  'Taxes will apply to all orders.': {
8170
8338
  value: 'Tüm siparişlere vergi uygulanacaktır.',
8171
8339
  },
@@ -8199,6 +8367,9 @@ const stringsTurkish = {
8199
8367
  'Unable to check inventory. Please try again.': {
8200
8368
  value: 'Envanter kontrol edilemedi. Lütfen tekrar deneyin.',
8201
8369
  },
8370
+ 'Unable to retrieve the checkout session at the moment. Please try again or contact our support team.': {
8371
+ value: 'Şu anda ödeme oturumunu alamıyoruz. Lütfen tekrar deneyin veya destek ekibimizle iletişime geçin.',
8372
+ },
8202
8373
  'Update address': {
8203
8374
  value: 'Adresi güncelle',
8204
8375
  },
@@ -8385,8 +8556,8 @@ const stringsVietnamese = {
8385
8556
  'Error updating Checkout': {
8386
8557
  value: 'Lỗi khi cập nhật phiên thanh toán',
8387
8558
  },
8388
- Estimated: {
8389
- value: 'Ước tính',
8559
+ 'Estimated [amount]': {
8560
+ value: 'Ước tính [amount]',
8390
8561
  },
8391
8562
  'Expected delivery': {
8392
8563
  value: 'Dự kiến giao hàng',
@@ -8442,6 +8613,9 @@ const stringsVietnamese = {
8442
8613
  'No countries found': {
8443
8614
  value: 'Không tìm thấy quốc gia nào',
8444
8615
  },
8616
+ 'No shipment rating selected. Please go back to the "Shipping" step and select a shipment rating to proceed.': {
8617
+ 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.',
8618
+ },
8445
8619
  'No shipping method selected': {
8446
8620
  value: 'Chưa chọn phương thức vận chuyển',
8447
8621
  },
@@ -8601,6 +8775,9 @@ const stringsVietnamese = {
8601
8775
  Success: {
8602
8776
  value: 'Thành công',
8603
8777
  },
8778
+ 'Taxes and fees': {
8779
+ value: 'Thuế và phí',
8780
+ },
8604
8781
  'Taxes will apply to all orders.': {
8605
8782
  value: 'Thuế sẽ áp dụng cho tất cả các đơn hàng.',
8606
8783
  },
@@ -8634,6 +8811,9 @@ const stringsVietnamese = {
8634
8811
  'Unable to check inventory. Please try again.': {
8635
8812
  value: 'Không thể kiểm tra hàng tồn kho. Vui lòng thử lại.',
8636
8813
  },
8814
+ 'Unable to retrieve the checkout session at the moment. Please try again or contact our support team.': {
8815
+ 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.',
8816
+ },
8637
8817
  'Update address': {
8638
8818
  value: 'Cập nhật địa chỉ',
8639
8819
  },
@@ -9271,6 +9451,7 @@ const getNewLocalization = async () => {
9271
9451
  startExchangeRateTimeout({ isGuaranteed, maxAge });
9272
9452
  };
9273
9453
  const getCustomMessages = async () => {
9454
+ handleFetch.log(`Getting custom messages for ${localizationStore.selectedCountryCode}`);
9274
9455
  if (!localizationStore.selectedCountryCode || !zonosStore.zonosStore.storeId) {
9275
9456
  return;
9276
9457
  }
@@ -9330,7 +9511,6 @@ const localizationStoreUpdateSelectedCountryCode = (newSelectedCountryCode) => {
9330
9511
  }
9331
9512
  localizationStore.targetCurrency = currencyCode;
9332
9513
  void getNewLocalization();
9333
- void getCustomMessages();
9334
9514
  // Save the country code to session storage for later use
9335
9515
  window.sessionStorage.setItem('zonos--country', selectedCountryCode);
9336
9516
  // Update the URL query param with the new country code
@@ -9391,6 +9571,7 @@ const localizationStoreUpdateSelectedLocale = (newSelectedLocale) => {
9391
9571
  localizationStore.selectedLocale = newSelectedLocale;
9392
9572
  translationStoreUpdateLanguage(newSelectedLocale);
9393
9573
  void updateCheckoutSessionLanguage();
9574
+ void getCustomMessages();
9394
9575
  };
9395
9576
  const initLocalizationStore = async () => {
9396
9577
  // all countries from countries.json, shipping zone and localization
@@ -9406,6 +9587,7 @@ const initLocalizationStore = async () => {
9406
9587
  initHelloCountryList(allCountries || {});
9407
9588
  const { country, locale } = localization;
9408
9589
  handleFetch.log(`Country code from localization: ${country}`);
9590
+ handleFetch.log(`Locale from localization: ${locale}`);
9409
9591
  // update selected country code in store
9410
9592
  localizationStoreUpdateSelectedCountryCode(country);
9411
9593
  // use locale from params if it exists, otherwise use locale from localization
@@ -9854,6 +10036,54 @@ const sortServiceLevelOptionsByAmount = (serviceLevels) => {
9854
10036
  return sortedServiceLevels;
9855
10037
  };
9856
10038
 
10039
+ const getCheckoutSession = async () => {
10040
+ if (!cartStore.checkoutSessionId) {
10041
+ return {
10042
+ errors: [{ message: 'No checkout session id found' }],
10043
+ json: null,
10044
+ };
10045
+ }
10046
+ const searchParams = new URLSearchParams(window.location.search);
10047
+ searchParams.set('checkoutSessionId', cartStore.checkoutSessionId);
10048
+ const { errors, json } = await handleFetch.handleFetch(`/api/zonos-elements/get-checkout-session?${searchParams.toString()}`);
10049
+ return { errors, json };
10050
+ };
10051
+
10052
+ /**
10053
+ * Validate checkout session before confirming payment
10054
+ */
10055
+ const validateCheckoutSession = async () => {
10056
+ var _a;
10057
+ // get checkout session info
10058
+ const { errors, json } = await getCheckoutSession();
10059
+ if (errors.length || !json) {
10060
+ handleFetch.logError('Failed to retrieve checkout session info before confirming payment ', errors);
10061
+ void handleFetch.sendErrorLog({
10062
+ endpoint: 'validateCheckoutSession',
10063
+ errors: errors.map(error => error.message),
10064
+ metadata: { allLogs: handleFetch.allLogs },
10065
+ });
10066
+ return {
10067
+ errorMessage: translate('Unable to retrieve the checkout session at the moment. Please try again or contact our support team.'),
10068
+ valid: false,
10069
+ };
10070
+ }
10071
+ // Make sure landed cost is found in the checkout session
10072
+ if (!((_a = json.checkoutSession.landedCost) === null || _a === void 0 ? void 0 : _a.id)) {
10073
+ handleFetch.logError('Landed cost is not found in the checkout session before confirming payment.');
10074
+ void handleFetch.sendErrorLog({
10075
+ endpoint: 'validateCheckoutSession',
10076
+ errors: ['No landed cost found before confirming payment'],
10077
+ metadata: { allLogs: handleFetch.allLogs },
10078
+ });
10079
+ return {
10080
+ errorMessage: translate('No shipment rating selected. Please go back to the "Shipping" step and select a shipment rating to proceed.'),
10081
+ valid: false,
10082
+ };
10083
+ }
10084
+ return { errorMessage: '', valid: true };
10085
+ };
10086
+
9857
10087
  const addressRuleStyle = ({ theme, }) => {
9858
10088
  const defaultStyle = {
9859
10089
  '.AccordionItem': {
@@ -9926,6 +10156,7 @@ const defaultVariable = ({ borderStyle, theme, }) => {
9926
10156
 
9927
10157
  const { onChange: onChange$1, reset: reset$1, state: stripeStore, } = zonosStore.createStore(() => ({
9928
10158
  clientSecret: sessionStorage.getItem('zonos--client-secret') || null,
10159
+ customErrorMessage: null,
9929
10160
  fetchingLandedCostAbortController: null,
9930
10161
  hasPaymentError: false,
9931
10162
  isFetchingLandedCost: false,
@@ -10372,9 +10603,16 @@ const stripeStoreConfirmPayment = async () => {
10372
10603
  const stripeElements = stripeStore.stripeElements;
10373
10604
  const stripe = stripeStore.stripe;
10374
10605
  const stripeClientSecret = stripeStore.clientSecret;
10606
+ stripeStore.customErrorMessage = null;
10375
10607
  if (!((_b = cartStore.selectedLandedCost) === null || _b === void 0 ? void 0 : _b.landedCost.id)) {
10376
10608
  throw new Error('Attempted to confirm the payment when no landed cost is found in store');
10377
10609
  }
10610
+ // Check if the checkout session is valid before proceeding
10611
+ const checkoutSessionStatus = await validateCheckoutSession();
10612
+ if (!checkoutSessionStatus.valid) {
10613
+ stripeStore.customErrorMessage = checkoutSessionStatus.errorMessage;
10614
+ throw new Error(checkoutSessionStatus.errorMessage);
10615
+ }
10378
10616
  if (stripe &&
10379
10617
  stripeElements &&
10380
10618
  stripePaymentReady &&
@@ -11080,3 +11318,4 @@ exports.stripeStoreSaveDomesticShippingSession = stripeStoreSaveDomesticShipping
11080
11318
  exports.stripeStoreTranslateAddressToLatin = stripeStoreTranslateAddressToLatin;
11081
11319
  exports.trackConversionEvent = trackConversionEvent;
11082
11320
  exports.translate = translate;
11321
+ exports.validateCheckoutSession = validateCheckoutSession;