@zonos/elements 1.3.157 → 1.3.158

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 (221) hide show
  1. package/dist/cjs/{cart-79deb872.js → cart-c6b42ee3.js} +284 -4
  2. package/dist/cjs/{getBorderRadius-d3032bda.js → getBorderRadius-c4fed939.js} +1 -1
  3. package/dist/cjs/index.cjs.js +7 -7
  4. package/dist/cjs/{isDarkColor-9f6c3601.js → isDarkColor-cd98fcb7.js} +1 -1
  5. package/dist/cjs/loader.cjs.js +1 -1
  6. package/dist/cjs/{paypal-e79ca280.js → paypal-bc98bcd3.js} +3 -3
  7. package/dist/cjs/zonos-address_8.cjs.entry.js +4 -4
  8. package/dist/cjs/zonos-badge.cjs.entry.js +1 -1
  9. package/dist/cjs/zonos-banner.cjs.entry.js +1 -1
  10. package/dist/cjs/zonos-button_3.cjs.entry.js +9 -7
  11. package/dist/cjs/zonos-card.cjs.entry.js +2 -2
  12. package/dist/cjs/zonos-cart-items_13.cjs.entry.js +33 -15
  13. package/dist/cjs/zonos-checkout.cjs.entry.js +56 -6
  14. package/dist/cjs/zonos-collapse.cjs.entry.js +1 -1
  15. package/dist/cjs/zonos-controller.cjs.entry.js +12 -7
  16. package/dist/cjs/zonos-country-flag.cjs.entry.js +4 -4
  17. package/dist/cjs/zonos-country-select_4.cjs.entry.js +4 -4
  18. package/dist/cjs/zonos-elements.cjs.js +1 -1
  19. package/dist/cjs/zonos-empty-state-payment_4.cjs.entry.js +5 -5
  20. package/dist/cjs/zonos-hello-dialog.cjs.entry.js +4 -4
  21. package/dist/cjs/zonos-hello.cjs.entry.js +4 -4
  22. package/dist/cjs/zonos-input.cjs.entry.js +2 -2
  23. package/dist/cjs/zonos-language-select_2.cjs.entry.js +4 -4
  24. package/dist/cjs/zonos-logo.cjs.entry.js +1 -1
  25. package/dist/cjs/zonos-shipping-rich-radio.cjs.entry.js +2 -2
  26. package/dist/cjs/zonos-text.cjs.entry.js +1 -1
  27. package/dist/cjs/zonos-toggle.cjs.entry.js +1 -1
  28. package/dist/cjs/zonos-v-stack.cjs.entry.js +1 -1
  29. package/dist/cjs/{zonosStore-0b1d27df.js → zonosStore-188d96be.js} +1 -0
  30. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-payment/zonos-checkout-payment.css +3 -3
  31. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-payment/zonos-checkout-payment.js +24 -5
  32. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout.js +54 -2
  33. package/dist/collection/components/checkout/zonos-checkout/zonos-customer-info/zonos-customer-info.js +1 -1
  34. package/dist/collection/components/checkout/zonos-checkout/zonos-shipping/zonos-shipping.js +1 -1
  35. package/dist/collection/components/common/zonos-button/zonos-button.css +3 -9
  36. package/dist/collection/components/common/zonos-button/zonos-button.js +25 -3
  37. package/dist/collection/components/common/zonos-confirm-dialog/zonos-confirm-dialog.js +2 -2
  38. package/dist/collection/components/main/zonos-controller.js +8 -3
  39. package/dist/collection/components/store/checkout/cart.js +10 -1
  40. package/dist/collection/components/store/checkout/stripe.js +32 -1
  41. package/dist/collection/components/store/translationStore/strings.arabic.js +12 -0
  42. package/dist/collection/components/store/translationStore/strings.base.js +12 -0
  43. package/dist/collection/components/store/translationStore/strings.chinese.js +12 -0
  44. package/dist/collection/components/store/translationStore/strings.danish.js +12 -0
  45. package/dist/collection/components/store/translationStore/strings.dutch.js +12 -0
  46. package/dist/collection/components/store/translationStore/strings.french.js +12 -0
  47. package/dist/collection/components/store/translationStore/strings.german.js +12 -0
  48. package/dist/collection/components/store/translationStore/strings.hebrew.js +12 -0
  49. package/dist/collection/components/store/translationStore/strings.indonesian.js +12 -0
  50. package/dist/collection/components/store/translationStore/strings.italian.js +12 -0
  51. package/dist/collection/components/store/translationStore/strings.japanese.js +12 -0
  52. package/dist/collection/components/store/translationStore/strings.korean.js +12 -0
  53. package/dist/collection/components/store/translationStore/strings.norwegian.js +12 -0
  54. package/dist/collection/components/store/translationStore/strings.polish.js +12 -0
  55. package/dist/collection/components/store/translationStore/strings.portuguese.js +12 -0
  56. package/dist/collection/components/store/translationStore/strings.russian.js +12 -0
  57. package/dist/collection/components/store/translationStore/strings.spanish.js +12 -0
  58. package/dist/collection/components/store/translationStore/strings.swedish.js +12 -0
  59. package/dist/collection/components/store/translationStore/strings.turkish.js +12 -0
  60. package/dist/collection/components/store/translationStore/strings.vietnamese.js +12 -0
  61. package/dist/collection/components/store/zonosStore.js +1 -0
  62. package/dist/collection/types/generated/graphql.internal.types.js +70 -4
  63. package/dist/esm/{cart-aee97bf4.js → cart-74d92be2.js} +284 -5
  64. package/dist/esm/{getBorderRadius-9e3ea1de.js → getBorderRadius-d2e68013.js} +1 -1
  65. package/dist/esm/index.js +7 -7
  66. package/dist/esm/{isDarkColor-95f3ef90.js → isDarkColor-16e586a1.js} +1 -1
  67. package/dist/esm/loader.js +1 -1
  68. package/dist/esm/{paypal-4ed46f2f.js → paypal-459383ae.js} +3 -3
  69. package/dist/esm/zonos-address_8.entry.js +4 -4
  70. package/dist/esm/zonos-badge.entry.js +1 -1
  71. package/dist/esm/zonos-banner.entry.js +1 -1
  72. package/dist/esm/zonos-button_3.entry.js +9 -7
  73. package/dist/esm/zonos-card.entry.js +2 -2
  74. package/dist/esm/zonos-cart-items_13.entry.js +33 -15
  75. package/dist/esm/zonos-checkout.entry.js +56 -6
  76. package/dist/esm/zonos-collapse.entry.js +1 -1
  77. package/dist/esm/zonos-controller.entry.js +12 -7
  78. package/dist/esm/zonos-country-flag.entry.js +4 -4
  79. package/dist/esm/zonos-country-select_4.entry.js +4 -4
  80. package/dist/esm/zonos-elements.js +1 -1
  81. package/dist/esm/zonos-empty-state-payment_4.entry.js +5 -5
  82. package/dist/esm/zonos-hello-dialog.entry.js +4 -4
  83. package/dist/esm/zonos-hello.entry.js +4 -4
  84. package/dist/esm/zonos-input.entry.js +2 -2
  85. package/dist/esm/zonos-language-select_2.entry.js +4 -4
  86. package/dist/esm/zonos-logo.entry.js +1 -1
  87. package/dist/esm/zonos-shipping-rich-radio.entry.js +2 -2
  88. package/dist/esm/zonos-text.entry.js +1 -1
  89. package/dist/esm/zonos-toggle.entry.js +1 -1
  90. package/dist/esm/zonos-v-stack.entry.js +1 -1
  91. package/dist/esm/{zonosStore-82bb17e6.js → zonosStore-4b574fcc.js} +1 -0
  92. package/dist/esm-es5/cart-74d92be2.js +1 -0
  93. package/dist/esm-es5/{getBorderRadius-9e3ea1de.js → getBorderRadius-d2e68013.js} +1 -1
  94. package/dist/esm-es5/index.js +1 -1
  95. package/dist/esm-es5/{isDarkColor-95f3ef90.js → isDarkColor-16e586a1.js} +1 -1
  96. package/dist/esm-es5/loader.js +1 -1
  97. package/dist/esm-es5/{paypal-4ed46f2f.js → paypal-459383ae.js} +1 -1
  98. package/dist/esm-es5/zonos-address_8.entry.js +1 -1
  99. package/dist/esm-es5/zonos-badge.entry.js +1 -1
  100. package/dist/esm-es5/zonos-banner.entry.js +1 -1
  101. package/dist/esm-es5/zonos-button_3.entry.js +1 -1
  102. package/dist/esm-es5/zonos-card.entry.js +1 -1
  103. package/dist/esm-es5/zonos-cart-items_13.entry.js +1 -1
  104. package/dist/esm-es5/zonos-checkout.entry.js +1 -1
  105. package/dist/esm-es5/zonos-collapse.entry.js +1 -1
  106. package/dist/esm-es5/zonos-controller.entry.js +1 -1
  107. package/dist/esm-es5/zonos-country-flag.entry.js +1 -1
  108. package/dist/esm-es5/zonos-country-select_4.entry.js +1 -1
  109. package/dist/esm-es5/zonos-elements.js +1 -1
  110. package/dist/esm-es5/zonos-empty-state-payment_4.entry.js +1 -1
  111. package/dist/esm-es5/zonos-hello-dialog.entry.js +1 -1
  112. package/dist/esm-es5/zonos-hello.entry.js +1 -1
  113. package/dist/esm-es5/zonos-input.entry.js +1 -1
  114. package/dist/esm-es5/zonos-language-select_2.entry.js +1 -1
  115. package/dist/esm-es5/zonos-logo.entry.js +1 -1
  116. package/dist/esm-es5/zonos-shipping-rich-radio.entry.js +1 -1
  117. package/dist/esm-es5/zonos-text.entry.js +1 -1
  118. package/dist/esm-es5/zonos-toggle.entry.js +1 -1
  119. package/dist/esm-es5/zonos-v-stack.entry.js +1 -1
  120. package/dist/esm-es5/{zonosStore-82bb17e6.js → zonosStore-4b574fcc.js} +1 -1
  121. package/dist/scripts/index.d.ts +21 -0
  122. package/dist/scripts/index.js +1 -1
  123. package/dist/scripts/loadZonos.js +1 -1
  124. package/dist/scripts/zonos.js +1 -1
  125. package/dist/types/components/checkout/zonos-checkout/zonos-checkout.d.ts +5 -0
  126. package/dist/types/components/common/zonos-button/zonos-button.d.ts +4 -0
  127. package/dist/types/components/store/checkout/stripe.d.ts +9 -2
  128. package/dist/types/components/store/translationStore/strings.arabic.d.ts +12 -0
  129. package/dist/types/components/store/translationStore/strings.base.d.ts +12 -0
  130. package/dist/types/components/store/translationStore/strings.chinese.d.ts +12 -0
  131. package/dist/types/components/store/translationStore/strings.danish.d.ts +12 -0
  132. package/dist/types/components/store/translationStore/strings.dutch.d.ts +12 -0
  133. package/dist/types/components/store/translationStore/strings.french.d.ts +12 -0
  134. package/dist/types/components/store/translationStore/strings.german.d.ts +12 -0
  135. package/dist/types/components/store/translationStore/strings.hebrew.d.ts +12 -0
  136. package/dist/types/components/store/translationStore/strings.indonesian.d.ts +12 -0
  137. package/dist/types/components/store/translationStore/strings.italian.d.ts +12 -0
  138. package/dist/types/components/store/translationStore/strings.japanese.d.ts +12 -0
  139. package/dist/types/components/store/translationStore/strings.korean.d.ts +12 -0
  140. package/dist/types/components/store/translationStore/strings.norwegian.d.ts +12 -0
  141. package/dist/types/components/store/translationStore/strings.polish.d.ts +12 -0
  142. package/dist/types/components/store/translationStore/strings.portuguese.d.ts +12 -0
  143. package/dist/types/components/store/translationStore/strings.russian.d.ts +12 -0
  144. package/dist/types/components/store/translationStore/strings.spanish.d.ts +12 -0
  145. package/dist/types/components/store/translationStore/strings.swedish.d.ts +12 -0
  146. package/dist/types/components/store/translationStore/strings.turkish.d.ts +12 -0
  147. package/dist/types/components/store/translationStore/strings.vietnamese.d.ts +12 -0
  148. package/dist/types/components.d.ts +8 -0
  149. package/dist/types/types/checkout/CheckoutConfig.d.ts +6 -1
  150. package/dist/types/types/checkout/api/CheckoutSession.d.ts +6 -1
  151. package/dist/types/types/generated/graphql.internal.types.d.ts +109 -16
  152. package/dist/types/types/generated/graphql.internal.types.ts +147 -21
  153. package/dist/zonos-elements/assets/RemoveIcon.svg +1 -1
  154. package/dist/zonos-elements/index.esm.js +1 -1
  155. package/dist/zonos-elements/{p-5b6c5d04.js → p-000a41ab.js} +2 -2
  156. package/dist/zonos-elements/{p-9fcf4d8c.js → p-05a4d995.js} +1 -1
  157. package/dist/zonos-elements/p-08b4bd71.entry.js +1 -0
  158. package/dist/zonos-elements/{p-673d24f9.system.entry.js → p-0d30b20e.system.entry.js} +1 -1
  159. package/dist/zonos-elements/{p-972261dc.system.js → p-0e436c9d.system.js} +1 -1
  160. package/dist/zonos-elements/{p-88fc9989.entry.js → p-107bcbf5.entry.js} +1 -1
  161. package/dist/zonos-elements/p-13070bc0.system.js +1 -0
  162. package/dist/zonos-elements/{p-9c845327.system.entry.js → p-1448b57a.system.entry.js} +1 -1
  163. package/dist/zonos-elements/{p-84b2efef.entry.js → p-25f0a3d0.entry.js} +1 -1
  164. package/dist/zonos-elements/{p-2297c165.system.js → p-28325d38.system.js} +1 -1
  165. package/dist/zonos-elements/{p-84f71520.system.entry.js → p-290845c4.system.entry.js} +1 -1
  166. package/dist/zonos-elements/{p-d3be144d.entry.js → p-2cfad1a2.entry.js} +1 -1
  167. package/dist/zonos-elements/{p-3a3a2f51.system.entry.js → p-2f17dd0a.system.entry.js} +1 -1
  168. package/dist/zonos-elements/{p-77026d4a.entry.js → p-34cd2879.entry.js} +1 -1
  169. package/dist/zonos-elements/{p-78ea3d1e.system.entry.js → p-3a4f77dd.system.entry.js} +1 -1
  170. package/dist/zonos-elements/{p-30852c16.system.entry.js → p-3a5348d9.system.entry.js} +1 -1
  171. package/dist/zonos-elements/{p-75b44616.entry.js → p-40fc4f98.entry.js} +1 -1
  172. package/dist/zonos-elements/{p-c901ef48.system.entry.js → p-423a25ee.system.entry.js} +1 -1
  173. package/dist/zonos-elements/{p-5892ce43.system.js → p-42e46be2.system.js} +1 -1
  174. package/dist/zonos-elements/p-43cb3e80.entry.js +1 -0
  175. package/dist/zonos-elements/p-46f6e5e9.system.js +1 -1
  176. package/dist/zonos-elements/{p-eefadc0d.system.entry.js → p-4fb44ae1.system.entry.js} +1 -1
  177. package/dist/zonos-elements/{p-e1e17979.entry.js → p-536c5a47.entry.js} +1 -1
  178. package/dist/zonos-elements/{p-c8fa08b8.entry.js → p-61272f94.entry.js} +1 -1
  179. package/dist/zonos-elements/{p-75311708.system.entry.js → p-62a790cb.system.entry.js} +1 -1
  180. package/dist/zonos-elements/{p-3cbac6c3.system.entry.js → p-6b67039a.system.entry.js} +1 -1
  181. package/dist/zonos-elements/{p-b4d04d26.system.entry.js → p-7534ed11.system.entry.js} +1 -1
  182. package/dist/zonos-elements/{p-2c45f733.system.entry.js → p-767527f6.system.entry.js} +1 -1
  183. package/dist/zonos-elements/{p-532afee0.system.js → p-82d5803d.system.js} +1 -1
  184. package/dist/zonos-elements/p-83c9aae7.js +1 -0
  185. package/dist/zonos-elements/{p-38967d3a.system.entry.js → p-89b50f7d.system.entry.js} +1 -1
  186. package/dist/zonos-elements/{p-c071a4ca.entry.js → p-9308d8ad.entry.js} +1 -1
  187. package/dist/zonos-elements/p-98fbd95f.js +1 -0
  188. package/dist/zonos-elements/{p-5e867a64.system.entry.js → p-a25e15a0.system.entry.js} +1 -1
  189. package/dist/zonos-elements/{p-194bb37a.system.entry.js → p-ac6816b3.system.entry.js} +1 -1
  190. package/dist/zonos-elements/p-b0b4afdb.system.entry.js +1 -0
  191. package/dist/zonos-elements/{p-bd1a2003.entry.js → p-b1424255.entry.js} +1 -1
  192. package/dist/zonos-elements/{p-e47ed595.entry.js → p-b2f71850.entry.js} +1 -1
  193. package/dist/zonos-elements/p-b4dcb658.system.js +1 -0
  194. package/dist/zonos-elements/{p-5f761f09.system.entry.js → p-c6efea31.system.entry.js} +1 -1
  195. package/dist/zonos-elements/p-c725a571.entry.js +1 -0
  196. package/dist/zonos-elements/{p-d3a452d4.system.entry.js → p-c84eb1e5.system.entry.js} +1 -1
  197. package/dist/zonos-elements/{p-822600bd.entry.js → p-ca216e7b.entry.js} +1 -1
  198. package/dist/zonos-elements/{p-c285d20c.js → p-d29e8aaa.js} +1 -1
  199. package/dist/zonos-elements/{p-28c3f736.system.entry.js → p-d68dd730.system.entry.js} +1 -1
  200. package/dist/zonos-elements/{p-683d1598.entry.js → p-d705a5fb.entry.js} +1 -1
  201. package/dist/zonos-elements/p-dd3201f2.entry.js +1 -0
  202. package/dist/zonos-elements/{p-0160281f.entry.js → p-dd7a2d62.entry.js} +1 -1
  203. package/dist/zonos-elements/p-dfc11974.system.entry.js +1 -0
  204. package/dist/zonos-elements/{p-1262ad56.entry.js → p-e295baac.entry.js} +1 -1
  205. package/dist/zonos-elements/{p-7448f4a6.system.entry.js → p-e7def9ea.system.entry.js} +1 -1
  206. package/dist/zonos-elements/{p-7fe8c97d.entry.js → p-e9d7f9e7.entry.js} +1 -1
  207. package/dist/zonos-elements/{p-baa22bb3.entry.js → p-ed553eb2.entry.js} +1 -1
  208. package/dist/zonos-elements/{p-da404f8f.entry.js → p-f674d15a.entry.js} +1 -1
  209. package/dist/zonos-elements/zonos-elements.esm.js +1 -1
  210. package/package.json +1 -1
  211. package/dist/esm-es5/cart-aee97bf4.js +0 -1
  212. package/dist/zonos-elements/p-130a047c.entry.js +0 -1
  213. package/dist/zonos-elements/p-13579dba.entry.js +0 -1
  214. package/dist/zonos-elements/p-43b922bf.js +0 -1
  215. package/dist/zonos-elements/p-4bbf8931.entry.js +0 -1
  216. package/dist/zonos-elements/p-6d7dc2a2.system.entry.js +0 -1
  217. package/dist/zonos-elements/p-86da894d.js +0 -1
  218. package/dist/zonos-elements/p-bba01622.system.js +0 -1
  219. package/dist/zonos-elements/p-d1a57d82.system.entry.js +0 -1
  220. package/dist/zonos-elements/p-e477f1b1.entry.js +0 -1
  221. package/dist/zonos-elements/p-fb2a884f.system.js +0 -1
@@ -93,6 +93,7 @@ export class ZonosButton {
93
93
  this.noPaddingRight = false;
94
94
  this.loading = false;
95
95
  this.justifyContent = 'center';
96
+ this.bold = false;
96
97
  this.theme = undefined;
97
98
  this.hasIcon = !!this.icon;
98
99
  this.hasContent = false;
@@ -121,12 +122,13 @@ export class ZonosButton {
121
122
  const borderStyle = getBorderRadius({
122
123
  overrideBorderStyle: this.borderStyle,
123
124
  });
124
- return (h(Host, { key: '434195b28ed289d47b9c5eb14b754245a8500a99', class: classes(['zonos--elements']), "data-theme": this.theme || buttonTheme, disabled: disabled, style: styles({
125
+ return (h(Host, { key: '71402d1acee8307c6ab3c3fb4b552c2df3800ced', class: classes(['zonos--elements']), "data-theme": this.theme || buttonTheme, disabled: disabled, style: styles({
125
126
  '--zonos--background-color': backgroundColor,
126
127
  '--zonos--border-radius': borderStyle,
127
128
  '--zonos--color': color,
128
129
  '--zonos--font-family': zonosStoreFontFamily(),
129
- }) }, h("button", { key: 'f3891cd7f75b7c02c5c21af6b9c38e59d8d13865', class: classes([
130
+ '--zonos--font-weight': this.bold ? 'bold' : 'normal',
131
+ }) }, h("button", { key: '7168a567c49b6ea6d77fa1fd329c478f2c7b5512', class: classes([
130
132
  this.hasIcon && 'has-icon',
131
133
  this.hasContent && 'has-content',
132
134
  this.noBackground && 'no-background',
@@ -141,7 +143,7 @@ export class ZonosButton {
141
143
  backgroundColor && variant === 'standard' && 'override-background',
142
144
  ]), disabled: disabled, style: {
143
145
  justifyContent: this.justifyContent,
144
- } }, this.loading && (h("div", { key: '66ac0c980f09f1aa0237c906517658c618efc36d', class: "zonos--spinner-wrapper" }, h("zonos-spinner", { key: '7b53b4ead46663e437c2d7d7eedcccd65f2122db', size: 16, spinnerColor: spinnerColor }))), !this.loading && !this.iconRight && this.icon, h("slot", { key: '16cda705df713167e678e3427c584450268eac72', onSlotchange: this.handleSlotChange }), !this.loading && this.iconRight && this.icon)));
146
+ } }, this.loading && (h("div", { key: 'cc1d53b41d4ae20f7bad93a73b539b7de16ea032', class: "zonos--spinner-wrapper" }, h("zonos-spinner", { key: '83043fb631ff7e246aa69b0d4ef8322439043b4a', size: 16, spinnerColor: spinnerColor }))), !this.loading && !this.iconRight && this.icon, h("slot", { key: 'b1431364d8a5034d98b6bc4e3acfd4631ec93ec7', onSlotchange: this.handleSlotChange }), !this.loading && this.iconRight && this.icon)));
145
147
  }
146
148
  static get is() { return "zonos-button"; }
147
149
  static get encapsulation() { return "shadow"; }
@@ -492,6 +494,26 @@ export class ZonosButton {
492
494
  "reflect": false,
493
495
  "defaultValue": "'center'"
494
496
  },
497
+ "bold": {
498
+ "type": "boolean",
499
+ "mutable": false,
500
+ "complexType": {
501
+ "original": "boolean",
502
+ "resolved": "boolean",
503
+ "references": {}
504
+ },
505
+ "required": false,
506
+ "optional": false,
507
+ "docs": {
508
+ "tags": [],
509
+ "text": "Whether or not the button text color is bold"
510
+ },
511
+ "getter": false,
512
+ "setter": false,
513
+ "attribute": "bold",
514
+ "reflect": false,
515
+ "defaultValue": "false"
516
+ },
495
517
  "theme": {
496
518
  "type": "string",
497
519
  "mutable": false,
@@ -87,9 +87,9 @@ export class ZonosConfirmDialog {
87
87
  '--zonos--border-radius': borderStyle,
88
88
  '--zonos--dialog-width': `${this.dialogWidth}px`,
89
89
  '--zonos--font-family': zonosStoreFontFamily(),
90
- } }, h("div", { key: 'e2b1358dedfb3e5a3dc42099330be1d3bb6845e5', class: "zonos--backdrop", tabIndex: -1 }), h("div", { key: 'e0fdc195773d12de322c3edd1487a7b096fd9e78', "aria-hidden": "true", class: classes(['zonos--confirm-layout', this.dialogIntent]), onClick: e => this.clickOutsideDialogHandler(e) }, h("div", { key: '07997854cef00b029c58734f75c428450042c15c', class: "zonos--confirm-dialog", onBlur: () => {
90
+ } }, h("div", { key: 'e2b1358dedfb3e5a3dc42099330be1d3bb6845e5', class: "zonos--backdrop", tabIndex: -1 }), h("div", { key: 'f4cf0ddf4ee1695bef503809a810710902c2e810', class: classes(['zonos--confirm-layout', this.dialogIntent]), onClick: e => this.clickOutsideDialogHandler(e) }, h("div", { key: 'a8910f985165f18399e628b05b5075d04487007b', class: "zonos--confirm-dialog", onBlur: () => {
91
91
  this.focusDialog();
92
- } }, h("div", { key: '5844b414871db63311bff5c76db62f1afba1bb92', class: "wrapper" }, h("div", { key: '7a1f69ff157d9c40bbe93c9c80759227862af136', class: "icon-wrapper" }, this.renderIcon()), h("div", { key: 'd3fc11932d0d94b798c7512dd70621fe96a5e8fd', class: "content" }, h("div", { key: 'd00c5488036fb8462ec69d4f8001c01de0b96449', class: "title" }, h("zonos-text", { key: '8966faf396a003fb8c065f6f46cd984878bc1274', type: "subheader" }, this.dialogTitle)), this.dialogSubtitle && (h("div", { key: '022ae94eb5a02e8fc41c1616294d4e6d5a647358', class: "subtitle" }, h("zonos-text", { key: 'e3dbd4b9e7d650ec7b5bca30e33f7e7864d952fb', textColor: "gray-800" }, this.dialogSubtitle)))), h("div", { key: 'dd82a80b61ca3104d336f3204fac71a8ae1d3c54', class: "footer" }, this.dialogType === 'confirm' && (h("zonos-button", { key: '9eed92ab86f1154dac6dfb0aad8a313322b753c9', backgroundColor: "gray-0", class: "cancel-button", onClick: () => this.closeDialogHandler(), size: "lg", withBoxShadow: true }, this.dialogCancelBtnText || translate('Cancel'))), h("zonos-button", { key: '6697bcca1fe4ac376c6a1b8b968d76cd17117242', class: "confirm-button", onClick: () => this.confirmDialogHandler(), size: "lg", variant: this.getButtonConfirmVariant() }, this.dialogConfirmBtnText)))))));
92
+ } }, h("div", { key: '723b4753614273bafe03488cdc5eb7a2a14cfb2c', class: "wrapper" }, h("div", { key: '53faf2cbdcec3acdff25f8471a37afdfb4298ef3', class: "icon-wrapper" }, this.renderIcon()), h("div", { key: '8e6ee33eb8ee48acb99066ce964b52e81086176f', class: "content" }, h("div", { key: '6c800bbc27a2e62756b20068b97e5777ebf5fbb2', class: "title" }, h("zonos-text", { key: '7bcad323167f954ae83c9afd7c4473efc5e32c37', type: "subheader" }, this.dialogTitle)), this.dialogSubtitle && (h("div", { key: '85ffc3c1492dd432953bc645103590bacd9a3912', class: "subtitle" }, h("zonos-text", { key: 'f7e859f0c8256ead95db3d74b78b50fe6ea84700', textColor: "gray-800" }, this.dialogSubtitle)))), h("div", { key: 'c35405667155231fb6037147ac35d0c1f5ed0dd0', class: "footer" }, this.dialogType === 'confirm' && (h("zonos-button", { key: '082731ae55230c6fe05307871ef5e6a124616e33', backgroundColor: "gray-0", class: "cancel-button", onClick: () => this.closeDialogHandler(), size: "lg", withBoxShadow: true }, this.dialogCancelBtnText || translate('Cancel'))), h("zonos-button", { key: '4873b0e88c691197104b95658fc00940d97d44b9', class: "confirm-button", onClick: () => this.confirmDialogHandler(), size: "lg", variant: this.getButtonConfirmVariant() }, this.dialogConfirmBtnText)))))));
93
93
  }
94
94
  static get is() { return "zonos-confirm-dialog"; }
95
95
  static get encapsulation() { return "shadow"; }
@@ -146,14 +146,19 @@ export class ZonosController {
146
146
  ((_c = this.config.checkoutSettings) === null || _c === void 0 ? void 0 : _c.successBehavior) === 'CLOSE_MODAL';
147
147
  // override subscription status
148
148
  const config = Object.assign(Object.assign({}, this.config), { appearance: Object.assign(Object.assign({}, this.config.appearance), { logoUrl: getLogoUrl() }), checkoutSettings: this.config.checkoutSettings
149
- ? Object.assign(Object.assign({}, this.config.checkoutSettings), { subscriptionStatus: undefined,
149
+ ? Object.assign(Object.assign({}, this.config.checkoutSettings), {
150
+ // Don't allow to override settlement currencies setting. This setting is only configured by Zonos
151
+ allowedSettlementCurrencies: undefined,
152
+ // Don't allow to override subscription status
153
+ subscriptionStatus: undefined,
150
154
  // Set success redirect url to store url if it's legacy checkout.
151
155
  // when success behavior is CLOSE_MODAL, use the default success behavior and update the keep shopping button link to their store, because just redirect user without confirmation page would confuse them
152
156
  successBehavior: shouldOverrideSuccessBehavior
153
157
  ? 'ZONOS_SUCCESS_PAGE'
154
158
  : this.config.checkoutSettings.successBehavior, successRedirectUrl: shouldOverrideSuccessBehavior
155
159
  ? (_d = window.Zonos.cartData) === null || _d === void 0 ? void 0 : _d.storeBaseUrl
156
- : this.config.checkoutSettings.successRedirectUrl }) : undefined });
160
+ : this.config.checkoutSettings.successRedirectUrl
161
+ }) : undefined });
157
162
  // load default setting if failed to load user settings
158
163
  zonosStoreInitSetting({
159
164
  overrideSettings: config,
@@ -243,7 +248,7 @@ export class ZonosController {
243
248
  zonosStore.organizationName = organizationName;
244
249
  }
245
250
  render() {
246
- return h(Host, { key: '2d961e702e5e76de7ddd4438e865ad46b538607d', class: "zonos--elements" });
251
+ return h(Host, { key: '031af3ed517512a8f937ac66672f42aa28759826', class: "zonos--elements" });
247
252
  }
248
253
  static get is() { return "zonos-controller"; }
249
254
  static get encapsulation() { return "shadow"; }
@@ -2,6 +2,7 @@ import { createStore } from "@stencil/store";
2
2
  import { stripeStore, stripeStoreInitCheckoutSession, stripeStoreReset, stripeStoreUpdateCheckoutSession, } from "./stripe";
3
3
  import { localizationStore } from "../hello/localization";
4
4
  import { translate } from "../translationStore";
5
+ import { zonosStore } from "../zonosStore";
5
6
  import { getIsStagingMode } from "../../utils/checkout/getIsStagingMode";
6
7
  import { log } from "../../utils/logging/log";
7
8
  import { logError } from "../../utils/logging/logError";
@@ -237,7 +238,7 @@ const cartStoreReCalculateTotal = async ({ adjustmentsAmount, cartId, currency,
237
238
  return true;
238
239
  };
239
240
  const cartStoreUpdateSelectedShippingOption = async (selectedShippingOption, landedCostId) => {
240
- var _a, _b, _c, _d, _e, _f;
241
+ var _a, _b, _c, _d, _e, _f, _g, _h;
241
242
  cartStore.selectedShippingOption = selectedShippingOption;
242
243
  // update shipping transit info
243
244
  const transitData = cartStoreGetShippingTransitInfo(cartStore.selectedShippingOption);
@@ -279,6 +280,14 @@ const cartStoreUpdateSelectedShippingOption = async (selectedShippingOption, lan
279
280
  dutiesTaxesFeesEstimate: dutiesTaxesFeesEstimate,
280
281
  landedCostId: (_f = selectedLandedCost.landedCost) === null || _f === void 0 ? void 0 : _f.id,
281
282
  });
283
+ // update conditionally render pay in USD button
284
+ const firstItem = (_g = cartStore.items.find(Boolean)) === null || _g === void 0 ? void 0 : _g.currencyCode;
285
+ // Only show pay in USD button if item's currency is in USD, the setting is enabled and the order presentment currency is not USD
286
+ stripeStore.shouldRenderPayInUsdButton =
287
+ firstItem === 'USD' &&
288
+ zonosStore.checkoutSettings.allowedSettlementCurrencies ===
289
+ 'LOCAL_AND_USD' &&
290
+ ((_h = cartStore.checkoutSession) === null || _h === void 0 ? void 0 : _h.subtotals.presentmentCurrencyCode) !== 'USD';
282
291
  return updateCalculateStatus;
283
292
  };
284
293
  onChange('checkoutSessionId', () => {
@@ -17,6 +17,7 @@ import { validateCheckoutSession } from "../../utils/validateCheckoutSession";
17
17
  import { addressRuleStyle } from "../../../styles/stripe/addressRuleStyle";
18
18
  import { defaultVariable } from "../../../styles/stripe/defaultVariable";
19
19
  const { onChange, reset, state: stripeStore, } = createStore(() => ({
20
+ checkoutSettlementCurrency: 'USD',
20
21
  clientSecret: sessionStorage.getItem('zonos--client-secret') || '',
21
22
  customErrorMessage: null,
22
23
  fetchingLandedCostAbortController: null,
@@ -24,6 +25,7 @@ const { onChange, reset, state: stripeStore, } = createStore(() => ({
24
25
  isFetchingLandedCost: false,
25
26
  isFetchingSession: false,
26
27
  shouldInventoryRefund: false,
28
+ shouldRenderPayInUsdButton: false,
27
29
  /**
28
30
  * Default to skip payment intent, only create payment intent when "skipPaymentIntent" in url's query params is set "0"
29
31
  * @default true
@@ -652,6 +654,35 @@ const stripeStoreInitCheckoutSession = async () => {
652
654
  log('done-init-checkout-session');
653
655
  return true;
654
656
  };
657
+ const stripeStoreUpdateCheckoutSessionBaseCurrency = async () => {
658
+ const checkoutSessionId = cartStore.checkoutSessionId;
659
+ // Checkout session id should be available at this point
660
+ if (!checkoutSessionId) {
661
+ logError('Failed to update checkout session base currency');
662
+ return false;
663
+ }
664
+ // Only update checkout session currency if setting is enabled
665
+ if (zonosStore.checkoutSettings.allowedSettlementCurrencies === 'LOCAL') {
666
+ log('allowedSettlementCurrencies: "LOCAL". Skip updating checkout session base currency');
667
+ return true;
668
+ }
669
+ const { json } = await handleFetch('/api/zonos-elements/update-checkout-session-base-currency', {
670
+ body: {
671
+ checkoutSessionId,
672
+ currencyCode: stripeStore.checkoutSettlementCurrency,
673
+ },
674
+ method: 'POST',
675
+ });
676
+ const settlementCurrencyCode = json === null || json === void 0 ? void 0 : json.checkoutSessionBaseCurrencyUpdate.subtotals.presentmentCurrencyCode;
677
+ // S
678
+ if (!json ||
679
+ settlementCurrencyCode !== stripeStore.checkoutSettlementCurrency) {
680
+ logError('Failed to update checkout session base currency');
681
+ return false;
682
+ }
683
+ log(`Updated checkout session to settlement currency "${settlementCurrencyCode}".`);
684
+ return true;
685
+ };
655
686
  /**
656
687
  * Update checkout session. Use for updating amount with landed cost id, or update session when cart items change
657
688
  */
@@ -823,4 +854,4 @@ onChange('clientSecret', clientSecret => {
823
854
  sessionStorage.removeItem('zonos--client-secret');
824
855
  }
825
856
  });
826
- export { initStripeElements, stripeCalculateLandedCost, stripeStore, stripeStoreApplyPromoCode, stripeStoreCleanupDomesticShippingSession, stripeStoreConfirmPayment, stripeStoreGetDomesticShippingSession, stripeStoreGetPaymentIntent, stripeStoreHandleInventoryCheck, stripeStoreHandleInventoryRefund, stripeStoreInitCheckoutSession, stripeStoreMessageBasedOnStatus, stripeStorePrefetchLandedCost, stripeStoreRemovePromoCode, stripeStoreReset, stripeStoreResetPromoCode, stripeStoreRetrievePayment, stripeStoreSaveDomesticShippingSession, stripeStoreTranslateAddressToLatin, stripeStoreUpdateCheckoutSession, };
857
+ export { initStripeElements, stripeCalculateLandedCost, stripeStore, stripeStoreApplyPromoCode, stripeStoreCleanupDomesticShippingSession, stripeStoreConfirmPayment, stripeStoreGetDomesticShippingSession, stripeStoreGetPaymentIntent, stripeStoreHandleInventoryCheck, stripeStoreHandleInventoryRefund, stripeStoreInitCheckoutSession, stripeStoreMessageBasedOnStatus, stripeStorePrefetchLandedCost, stripeStoreRemovePromoCode, stripeStoreReset, stripeStoreResetPromoCode, stripeStoreRetrievePayment, stripeStoreSaveDomesticShippingSession, stripeStoreTranslateAddressToLatin, stripeStoreUpdateCheckoutSession, stripeStoreUpdateCheckoutSessionBaseCurrency, };
@@ -38,6 +38,9 @@ export const stringsArabic = {
38
38
  'Billing address': {
39
39
  value: 'عنوان الفوترة',
40
40
  },
41
+ 'By paying in USD, your card will be charged directly with no currency conversion. However, using a non-USD based card may result in additional currency conversion fees at the bank level.': {
42
+ value: 'عند الدفع بالدولار الأمريكي، سيتم خصم المبلغ من بطاقتك مباشرة دون تحويل العملة. ومع ذلك، قد يؤدي استخدام بطاقة غير قائمة على الدولار الأمريكي إلى رسوم إضافية لتحويل العملة على مستوى البنك.',
43
+ },
41
44
  'CPF/CNPJ number': {
42
45
  value: 'رقم CPF/CNPJ',
43
46
  },
@@ -56,6 +59,9 @@ export const stringsArabic = {
56
59
  'Click to copy the card number. Use any future expiration date and three number CVC.': {
57
60
  value: 'انقر لنسخ رقم البطاقة. استخدم أي تاريخ انتهاء صلاحية مستقبلي ورمز CVC مكون من ثلاثة أرقام.',
58
61
  },
62
+ 'Click to pay in USD': {
63
+ value: 'انقر للدفع بالدولار الأمريكي',
64
+ },
59
65
  Close: {
60
66
  value: 'أغلق',
61
67
  },
@@ -212,6 +218,9 @@ export const stringsArabic = {
212
218
  'Pay [organizationName]': {
213
219
  value: 'ادفع [organizationName]',
214
220
  },
221
+ 'Pay in USD (United States Dollar)?': {
222
+ value: 'الدفع بالدولار الأمريكي (USD)؟',
223
+ },
215
224
  Payment: {
216
225
  value: 'الدفع',
217
226
  },
@@ -389,6 +398,9 @@ export const stringsArabic = {
389
398
  'Unable to check inventory. Please try again.': {
390
399
  value: 'تعذر التحقق من المخزون. حاول مرة أخرى.',
391
400
  },
401
+ 'Unable to complete payment in [currency]. Please try again or select a different currency. If the issue persists, contact our support team for assistance.': {
402
+ value: 'غير قادر على إتمام الدفع بعملة [currency]. يرجى المحاولة مرة أخرى أو اختيار عملة مختلفة. إذا استمرت المشكلة، اتصل بفريق الدعم لدينا للحصول على المساعدة.',
403
+ },
392
404
  'Unable to retrieve the checkout session at the moment. Please try again or contact our support team.': {
393
405
  value: 'غير قادر على استرداد جلسة الدفع في الوقت الحالي. يرجى المحاولة مرة أخرى أو الاتصال بفريق الدعم لدينا.',
394
406
  },
@@ -38,6 +38,9 @@ export const stringsBase = {
38
38
  'Billing address': {
39
39
  value: 'Billing address',
40
40
  },
41
+ 'By paying in USD, your card will be charged directly with no currency conversion. However, using a non-USD based card may result in additional currency conversion fees at the bank level.': {
42
+ value: 'By paying in USD, your card will be charged directly with no currency conversion. However, using a non-USD based card may result in additional currency conversion fees at the bank level.',
43
+ },
41
44
  'CPF/CNPJ number': {
42
45
  value: 'CPF/CNPJ number',
43
46
  },
@@ -56,6 +59,9 @@ export const stringsBase = {
56
59
  'Click to copy the card number. Use any future expiration date and three number CVC.': {
57
60
  value: 'Click to copy the card number. Use any future expiration date and three number CVC.',
58
61
  },
62
+ 'Click to pay in USD': {
63
+ value: 'Click to pay in USD',
64
+ },
59
65
  Close: {
60
66
  value: 'Close',
61
67
  },
@@ -212,6 +218,9 @@ export const stringsBase = {
212
218
  'Pay [organizationName]': {
213
219
  value: 'Pay [organizationName]',
214
220
  },
221
+ 'Pay in USD (United States Dollar)?': {
222
+ value: 'Pay in USD (United States Dollar)?',
223
+ },
215
224
  Payment: {
216
225
  value: 'Payment',
217
226
  },
@@ -389,6 +398,9 @@ export const stringsBase = {
389
398
  'Unable to check inventory. Please try again.': {
390
399
  value: 'Unable to check inventory. Please try again.',
391
400
  },
401
+ 'Unable to complete payment in [currency]. Please try again or select a different currency. If the issue persists, contact our support team for assistance.': {
402
+ value: 'Unable to complete payment in [currency]. Please try again or select a different currency. If the issue persists, contact our support team for assistance.',
403
+ },
392
404
  'Unable to retrieve the checkout session at the moment. Please try again or contact our support team.': {
393
405
  value: 'Unable to retrieve the checkout session at the moment. Please try again or contact our support team.',
394
406
  },
@@ -38,6 +38,9 @@ export const stringsChinese = {
38
38
  'Billing address': {
39
39
  value: '账单地址',
40
40
  },
41
+ 'By paying in USD, your card will be charged directly with no currency conversion. However, using a non-USD based card may result in additional currency conversion fees at the bank level.': {
42
+ value: '通过以美元支付,您的卡将直接扣款,无需货币转换。然而,使用非美元卡可能会导致银行层面的额外货币转换费用。',
43
+ },
41
44
  'CPF/CNPJ number': {
42
45
  value: 'CPF/CNPJ号码',
43
46
  },
@@ -56,6 +59,9 @@ export const stringsChinese = {
56
59
  'Click to copy the card number. Use any future expiration date and three number CVC.': {
57
60
  value: '点击复制卡号。使用任何未来的到期日期和三位数的CVC。',
58
61
  },
62
+ 'Click to pay in USD': {
63
+ value: '点击以美元支付',
64
+ },
59
65
  Close: {
60
66
  value: '关闭',
61
67
  },
@@ -212,6 +218,9 @@ export const stringsChinese = {
212
218
  'Pay [organizationName]': {
213
219
  value: '支付[organizationName]',
214
220
  },
221
+ 'Pay in USD (United States Dollar)?': {
222
+ value: '用美元(USD)支付?',
223
+ },
215
224
  Payment: {
216
225
  value: '支付',
217
226
  },
@@ -389,6 +398,9 @@ export const stringsChinese = {
389
398
  'Unable to check inventory. Please try again.': {
390
399
  value: '无法检查库存。请再试一次。',
391
400
  },
401
+ 'Unable to complete payment in [currency]. Please try again or select a different currency. If the issue persists, contact our support team for assistance.': {
402
+ value: '无法完成[currency]的付款。请重试或选择其他货币。如果问题仍然存在,请联系支持团队以获得帮助。',
403
+ },
392
404
  'Unable to retrieve the checkout session at the moment. Please try again or contact our support team.': {
393
405
  value: '目前无法检索结账会话。请重试或联系我们的支持团队。',
394
406
  },
@@ -38,6 +38,9 @@ export const stringsDanish = {
38
38
  'Billing address': {
39
39
  value: 'Fakturaadresse',
40
40
  },
41
+ 'By paying in USD, your card will be charged directly with no currency conversion. However, using a non-USD based card may result in additional currency conversion fees at the bank level.': {
42
+ value: 'Ved betaling i USD vil dit kort blive opkrævet direkte uden valutakonvertering. Dog kan brug af et kort, der ikke er baseret på USD, resultere i yderligere valutakonverteringsgebyrer på bankniveau.',
43
+ },
41
44
  'CPF/CNPJ number': {
42
45
  value: 'CPF/CNPJ-nummer',
43
46
  },
@@ -56,6 +59,9 @@ export const stringsDanish = {
56
59
  'Click to copy the card number. Use any future expiration date and three number CVC.': {
57
60
  value: 'Klik for at kopiere kortnummeret. Brug en hvilken som helst fremtidig udløbsdato og tre cifre CVC.',
58
61
  },
62
+ 'Click to pay in USD': {
63
+ value: 'Klik for at betale i USD',
64
+ },
59
65
  Close: {
60
66
  value: 'Lukke',
61
67
  },
@@ -212,6 +218,9 @@ export const stringsDanish = {
212
218
  'Pay [organizationName]': {
213
219
  value: 'Betal [organizationName]',
214
220
  },
221
+ 'Pay in USD (United States Dollar)?': {
222
+ value: 'Betal i USD (amerikanske dollar)?',
223
+ },
215
224
  Payment: {
216
225
  value: 'Betaling',
217
226
  },
@@ -389,6 +398,9 @@ export const stringsDanish = {
389
398
  'Unable to check inventory. Please try again.': {
390
399
  value: 'Kunne ikke tjekke lagerbeholdningen. Prøv venligst igen.',
391
400
  },
401
+ 'Unable to complete payment in [currency]. Please try again or select a different currency. If the issue persists, contact our support team for assistance.': {
402
+ value: 'Kan ikke gennemføre betaling i [currency]. Prøv igen eller vælg en anden valuta. Hvis problemet fortsætter, kontakt vores supportteam for hjælp.',
403
+ },
392
404
  'Unable to retrieve the checkout session at the moment. Please try again or contact our support team.': {
393
405
  value: 'Kan ikke hente betalingssessionen i øjeblikket. Prøv venligst igen eller kontakt vores supportteam.',
394
406
  },
@@ -38,6 +38,9 @@ export const stringsDutch = {
38
38
  'Billing address': {
39
39
  value: 'Factuuradres',
40
40
  },
41
+ 'By paying in USD, your card will be charged directly with no currency conversion. However, using a non-USD based card may result in additional currency conversion fees at the bank level.': {
42
+ value: 'Door in USD te betalen, wordt uw kaart direct belast zonder valutaconversie. Het gebruik van een kaart die niet op USD is gebaseerd, kan echter resulteren in extra valutaconversiekosten op bankniveau.',
43
+ },
41
44
  'CPF/CNPJ number': {
42
45
  value: 'CPF/CNPJ-nummer',
43
46
  },
@@ -56,6 +59,9 @@ export const stringsDutch = {
56
59
  'Click to copy the card number. Use any future expiration date and three number CVC.': {
57
60
  value: 'Klik om het kaartnummer te kopiëren. Gebruik een toekomstige vervaldatum en een CVC van drie cijfers.',
58
61
  },
62
+ 'Click to pay in USD': {
63
+ value: 'Klik om in USD te betalen',
64
+ },
59
65
  Close: {
60
66
  value: 'Sluiten',
61
67
  },
@@ -212,6 +218,9 @@ export const stringsDutch = {
212
218
  'Pay [organizationName]': {
213
219
  value: 'Betaal [organizationName]',
214
220
  },
221
+ 'Pay in USD (United States Dollar)?': {
222
+ value: 'Betalen in USD (Amerikaanse Dollar)?',
223
+ },
215
224
  Payment: {
216
225
  value: 'Betaling',
217
226
  },
@@ -389,6 +398,9 @@ export const stringsDutch = {
389
398
  'Unable to check inventory. Please try again.': {
390
399
  value: 'Kon de voorraad niet controleren. Probeer het opnieuw.',
391
400
  },
401
+ 'Unable to complete payment in [currency]. Please try again or select a different currency. If the issue persists, contact our support team for assistance.': {
402
+ value: 'Betaling in [currency] kan niet worden voltooid. Probeer het opnieuw of selecteer een andere valuta. Als het probleem aanhoudt, neem dan contact op met ons ondersteuningsteam voor hulp.',
403
+ },
392
404
  'Unable to retrieve the checkout session at the moment. Please try again or contact our support team.': {
393
405
  value: 'Kan de betaal sessie momenteel niet ophalen. Probeer het opnieuw of neem contact op met ons ondersteuningsteam.',
394
406
  },
@@ -38,6 +38,9 @@ export const stringsFrench = {
38
38
  'Billing address': {
39
39
  value: 'Adresse de facturation',
40
40
  },
41
+ 'By paying in USD, your card will be charged directly with no currency conversion. However, using a non-USD based card may result in additional currency conversion fees at the bank level.': {
42
+ value: "En payant en USD, votre carte sera débitée directement sans conversion de devise. Cependant, l'utilisation d'une carte non basée sur l'USD peut entraîner des frais supplémentaires de conversion de devise au niveau bancaire.",
43
+ },
41
44
  'CPF/CNPJ number': {
42
45
  value: 'Numéro CPF/CNPJ',
43
46
  },
@@ -56,6 +59,9 @@ export const stringsFrench = {
56
59
  'Click to copy the card number. Use any future expiration date and three number CVC.': {
57
60
  value: "Cliquez pour copier le numéro de la carte. Utilisez une date d'expiration future et un CVC à trois chiffres.",
58
61
  },
62
+ 'Click to pay in USD': {
63
+ value: 'Cliquez pour payer en USD',
64
+ },
59
65
  Close: {
60
66
  value: 'Fermer',
61
67
  },
@@ -212,6 +218,9 @@ export const stringsFrench = {
212
218
  'Pay [organizationName]': {
213
219
  value: 'Payer [organizationName]',
214
220
  },
221
+ 'Pay in USD (United States Dollar)?': {
222
+ value: 'Payer en USD (Dollar Américain) ?',
223
+ },
215
224
  Payment: {
216
225
  value: 'Paiement',
217
226
  },
@@ -389,6 +398,9 @@ export const stringsFrench = {
389
398
  'Unable to check inventory. Please try again.': {
390
399
  value: "Impossible de vérifier l'inventaire. Veuillez réessayer.",
391
400
  },
401
+ 'Unable to complete payment in [currency]. Please try again or select a different currency. If the issue persists, contact our support team for assistance.': {
402
+ value: "Impossible de terminer le paiement en [currency]. Veuillez réessayer ou sélectionner une autre devise. Si le problème persiste, contactez notre équipe d'assistance pour obtenir de l'aide.",
403
+ },
392
404
  'Unable to retrieve the checkout session at the moment. Please try again or contact our support team.': {
393
405
  value: "Impossible de récupérer la session de paiement pour le moment. Veuillez réessayer ou contacter notre équipe d'assistance.",
394
406
  },
@@ -38,6 +38,9 @@ export const stringsGerman = {
38
38
  'Billing address': {
39
39
  value: 'Rechnungsadresse',
40
40
  },
41
+ 'By paying in USD, your card will be charged directly with no currency conversion. However, using a non-USD based card may result in additional currency conversion fees at the bank level.': {
42
+ value: 'Bei Zahlung in USD wird Ihre Karte direkt ohne Währungsumrechnung belastet. Die Verwendung einer nicht auf USD basierenden Karte kann jedoch zu zusätzlichen Währungsumrechnungsgebühren auf Bankebene führen.',
43
+ },
41
44
  'CPF/CNPJ number': {
42
45
  value: 'CPF/CNPJ-Nummer',
43
46
  },
@@ -56,6 +59,9 @@ export const stringsGerman = {
56
59
  'Click to copy the card number. Use any future expiration date and three number CVC.': {
57
60
  value: 'Klicken Sie, um die Kartennummer zu kopieren. Verwenden Sie ein zukünftiges Ablaufdatum und einen dreistelligen CVC.',
58
61
  },
62
+ 'Click to pay in USD': {
63
+ value: 'Klicken Sie, um in USD zu bezahlen',
64
+ },
59
65
  Close: {
60
66
  value: 'Schließen',
61
67
  },
@@ -212,6 +218,9 @@ export const stringsGerman = {
212
218
  'Pay [organizationName]': {
213
219
  value: 'Zahlen [organizationName]',
214
220
  },
221
+ 'Pay in USD (United States Dollar)?': {
222
+ value: 'In USD (US-Dollar) bezahlen?',
223
+ },
215
224
  Payment: {
216
225
  value: 'Zahlung',
217
226
  },
@@ -389,6 +398,9 @@ export const stringsGerman = {
389
398
  'Unable to check inventory. Please try again.': {
390
399
  value: 'Inventar konnte nicht überprüft werden. Bitte versuchen Sie es erneut.',
391
400
  },
401
+ 'Unable to complete payment in [currency]. Please try again or select a different currency. If the issue persists, contact our support team for assistance.': {
402
+ value: 'Zahlung in [currency] kann nicht abgeschlossen werden. Bitte versuchen Sie es erneut oder wählen Sie eine andere Währung. Wenn das Problem weiterhin besteht, wenden Sie sich an unser Support-Team.',
403
+ },
392
404
  'Unable to retrieve the checkout session at the moment. Please try again or contact our support team.': {
393
405
  value: 'Die Checkout-Sitzung kann momentan nicht abgerufen werden. Bitte versuchen Sie es erneut oder kontaktieren Sie unser Support-Team.',
394
406
  },
@@ -38,6 +38,9 @@ export const stringsHebrew = {
38
38
  'Billing address': {
39
39
  value: 'כתובת לחיוב',
40
40
  },
41
+ 'By paying in USD, your card will be charged directly with no currency conversion. However, using a non-USD based card may result in additional currency conversion fees at the bank level.': {
42
+ value: 'על ידי תשלום ב-USD, הכרטיס שלך יחויב ישירות ללא המרת מטבע. עם זאת, שימוש בכרטיס שאינו מבוסס על USD עשוי לגרום לעמלות המרת מטבע נוספות ברמת הבנק.',
43
+ },
41
44
  'CPF/CNPJ number': {
42
45
  value: 'מספר CPF/CNPJ',
43
46
  },
@@ -56,6 +59,9 @@ export const stringsHebrew = {
56
59
  'Click to copy the card number. Use any future expiration date and three number CVC.': {
57
60
  value: 'לחץ להעתיק את מספר הכרטיס. השתמש בכל תאריך תפוגה עתידי ו-CVC בן שלושה מספרים.',
58
61
  },
62
+ 'Click to pay in USD': {
63
+ value: 'לחץ כדי לשלם ב-USD',
64
+ },
59
65
  Close: {
60
66
  value: 'סגור',
61
67
  },
@@ -212,6 +218,9 @@ export const stringsHebrew = {
212
218
  'Pay [organizationName]': {
213
219
  value: 'שלם [organizationName]',
214
220
  },
221
+ 'Pay in USD (United States Dollar)?': {
222
+ value: 'לשלם ב-USD (דולר אמריקאי)?',
223
+ },
215
224
  Payment: {
216
225
  value: 'תַשְׁלוּם',
217
226
  },
@@ -389,6 +398,9 @@ export const stringsHebrew = {
389
398
  'Unable to check inventory. Please try again.': {
390
399
  value: 'לא ניתן היה לבדוק את המלאי. אנא נסה שוב.',
391
400
  },
401
+ 'Unable to complete payment in [currency]. Please try again or select a different currency. If the issue persists, contact our support team for assistance.': {
402
+ value: 'לא ניתן להשלים את התשלום ב-[currency]. אנא נסה שוב או בחר מטבע אחר. אם הבעיה נמשכת, פנה לצוות התמיכה שלנו לעזרה.',
403
+ },
392
404
  'Unable to retrieve the checkout session at the moment. Please try again or contact our support team.': {
393
405
  value: 'לא ניתן לאחזר את מושב התשלום כרגע. אנא נסה שוב או צור קשר עם צוות התמיכה שלנו.',
394
406
  },
@@ -38,6 +38,9 @@ export const stringsIndonesian = {
38
38
  'Billing address': {
39
39
  value: 'Alamat Penagihan',
40
40
  },
41
+ 'By paying in USD, your card will be charged directly with no currency conversion. However, using a non-USD based card may result in additional currency conversion fees at the bank level.': {
42
+ value: 'Dengan membayar dalam USD, kartu Anda akan dikenakan biaya langsung tanpa konversi mata uang. Namun, menggunakan kartu yang tidak berbasis USD dapat mengakibatkan biaya konversi mata uang tambahan di tingkat bank.',
43
+ },
41
44
  'CPF/CNPJ number': {
42
45
  value: 'Nomor CPF/CNPJ',
43
46
  },
@@ -56,6 +59,9 @@ export const stringsIndonesian = {
56
59
  'Click to copy the card number. Use any future expiration date and three number CVC.': {
57
60
  value: 'Klik untuk menyalin nomor kartu. Gunakan tanggal kedaluwarsa di masa mendatang dan tiga angka CVC.',
58
61
  },
62
+ 'Click to pay in USD': {
63
+ value: 'Klik untuk membayar dalam USD',
64
+ },
59
65
  Close: {
60
66
  value: 'Tutup',
61
67
  },
@@ -212,6 +218,9 @@ export const stringsIndonesian = {
212
218
  'Pay [organizationName]': {
213
219
  value: 'Bayar [organizationName]',
214
220
  },
221
+ 'Pay in USD (United States Dollar)?': {
222
+ value: 'Bayar dalam USD (Dolar Amerika Serikat)?',
223
+ },
215
224
  Payment: {
216
225
  value: 'Pembayaran',
217
226
  },
@@ -389,6 +398,9 @@ export const stringsIndonesian = {
389
398
  'Unable to check inventory. Please try again.': {
390
399
  value: 'Tidak dapat memeriksa inventaris. Silakan coba lagi.',
391
400
  },
401
+ 'Unable to complete payment in [currency]. Please try again or select a different currency. If the issue persists, contact our support team for assistance.': {
402
+ value: 'Tidak dapat menyelesaikan pembayaran dalam [currency]. Silakan coba lagi atau pilih mata uang lain. Jika masalah berlanjut, hubungi tim dukungan kami untuk mendapatkan bantuan.',
403
+ },
392
404
  'Unable to retrieve the checkout session at the moment. Please try again or contact our support team.': {
393
405
  value: 'Tidak dapat mengambil sesi checkout saat ini. Silakan coba lagi atau hubungi tim dukungan kami.',
394
406
  },
@@ -38,6 +38,9 @@ export const stringsItalian = {
38
38
  'Billing address': {
39
39
  value: 'Indirizzo di fatturazione',
40
40
  },
41
+ 'By paying in USD, your card will be charged directly with no currency conversion. However, using a non-USD based card may result in additional currency conversion fees at the bank level.': {
42
+ value: "Pagando in USD, la tua carta verrà addebitata direttamente senza conversione di valuta. Tuttavia, l'uso di una carta non basata su USD può comportare costi aggiuntivi di conversione valutaria a livello bancario.",
43
+ },
41
44
  'CPF/CNPJ number': {
42
45
  value: 'Numero CPF/CNPJ',
43
46
  },
@@ -56,6 +59,9 @@ export const stringsItalian = {
56
59
  'Click to copy the card number. Use any future expiration date and three number CVC.': {
57
60
  value: 'Fare clic per copiare il numero della carta. Usa una qualsiasi data di scadenza futura e un CVC di tre cifre.',
58
61
  },
62
+ 'Click to pay in USD': {
63
+ value: 'Fai clic per pagare in USD',
64
+ },
59
65
  Close: {
60
66
  value: 'Chiudere',
61
67
  },
@@ -212,6 +218,9 @@ export const stringsItalian = {
212
218
  'Pay [organizationName]': {
213
219
  value: 'Paga [organizationName]',
214
220
  },
221
+ 'Pay in USD (United States Dollar)?': {
222
+ value: 'Pagare in USD (Dollaro Statunitense)?',
223
+ },
215
224
  Payment: {
216
225
  value: 'Pagamento',
217
226
  },
@@ -389,6 +398,9 @@ export const stringsItalian = {
389
398
  'Unable to check inventory. Please try again.': {
390
399
  value: "Impossibile verificare l'inventario. Si prega di riprovare.",
391
400
  },
401
+ 'Unable to complete payment in [currency]. Please try again or select a different currency. If the issue persists, contact our support team for assistance.': {
402
+ value: 'Impossibile completare il pagamento in [currency]. Riprova o seleziona una valuta diversa. Se il problema persiste, contatta il nostro team di supporto per assistenza.',
403
+ },
392
404
  'Unable to retrieve the checkout session at the moment. Please try again or contact our support team.': {
393
405
  value: 'Impossibile recuperare la sessione di pagamento al momento. Si prega di riprovare o contattare il nostro team di supporto.',
394
406
  },
@@ -38,6 +38,9 @@ export const stringsJapanese = {
38
38
  'Billing address': {
39
39
  value: '請求先住所',
40
40
  },
41
+ 'By paying in USD, your card will be charged directly with no currency conversion. However, using a non-USD based card may result in additional currency conversion fees at the bank level.': {
42
+ value: 'USDで支払うと、通貨換算なしでカードに直接請求されます。ただし、USD以外のカードを使用すると、銀行レベルで追加の通貨換算手数料が発生する場合があります。',
43
+ },
41
44
  'CPF/CNPJ number': {
42
45
  value: 'CPF/CNPJ番号',
43
46
  },
@@ -56,6 +59,9 @@ export const stringsJapanese = {
56
59
  'Click to copy the card number. Use any future expiration date and three number CVC.': {
57
60
  value: 'カード番号をコピーするにはクリックしてください。任意の将来の有効期限と3桁のCVCを使用してください。',
58
61
  },
62
+ 'Click to pay in USD': {
63
+ value: 'USDで支払うにはクリックしてください',
64
+ },
59
65
  Close: {
60
66
  value: '閉める',
61
67
  },
@@ -212,6 +218,9 @@ export const stringsJapanese = {
212
218
  'Pay [organizationName]': {
213
219
  value: '[organizationName]に支払う',
214
220
  },
221
+ 'Pay in USD (United States Dollar)?': {
222
+ value: 'USD(米ドル)で支払いますか?',
223
+ },
215
224
  Payment: {
216
225
  value: '支払い',
217
226
  },
@@ -389,6 +398,9 @@ export const stringsJapanese = {
389
398
  'Unable to check inventory. Please try again.': {
390
399
  value: '在庫を確認できません。再試行してください。',
391
400
  },
401
+ 'Unable to complete payment in [currency]. Please try again or select a different currency. If the issue persists, contact our support team for assistance.': {
402
+ value: '[currency]での支払いを完了できません。もう一度お試しいただくか、別の通貨を選択してください。問題が解決しない場合は、サポートチームにお問い合わせください。',
403
+ },
392
404
  'Unable to retrieve the checkout session at the moment. Please try again or contact our support team.': {
393
405
  value: '現在、チェックアウトセッションを取得できません。もう一度お試しいただくか、サポートチームにお問い合わせください。',
394
406
  },