@zonos/elements 1.3.270 → 1.3.273
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{cart-3ff48a0e.js → cart-660e115c.js} +32 -2
- package/dist/cjs/collect-286a9d04.js +3107 -0
- package/dist/cjs/{hasInclusivePrice-aec06153.js → hasInclusivePrice-b35e81aa.js} +1 -1
- package/dist/cjs/index.cjs.js +7 -7
- package/dist/cjs/{invoice-ff716652.js → invoice-f032089f.js} +2 -2
- package/dist/cjs/isCollectMobileTablet-884d4280.js +15 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{localization-5c1c9c6a.js → localization-f4a64f6f.js} +245 -1
- package/dist/cjs/{paypal-c55b6c45.js → paypal-125259ab.js} +2 -2
- package/dist/cjs/{placeTestOrder-230f534b.js → placeTestOrder-02001a99.js} +2 -2
- package/dist/cjs/{renderCheckoutCurrency-e9d8efa8.js → renderCheckoutCurrency-cad156a7.js} +2 -2
- package/dist/cjs/zonos-address-display_8.cjs.entry.js +18 -18
- package/dist/cjs/zonos-address_4.cjs.entry.js +8 -8
- package/dist/cjs/zonos-airwallex-payment.cjs.entry.js +170 -0
- package/dist/cjs/zonos-badge.cjs.entry.js +3 -3
- package/dist/cjs/zonos-button_3.cjs.entry.js +3 -3
- package/dist/cjs/zonos-card_5.cjs.entry.js +9 -9
- package/dist/cjs/zonos-cart-items_12.cjs.entry.js +130 -20
- package/dist/cjs/zonos-checkbox_2.cjs.entry.js +5 -5
- package/dist/cjs/zonos-checkout.cjs.entry.js +3 -3
- package/dist/cjs/zonos-collapse.cjs.entry.js +2 -2
- package/dist/cjs/zonos-collect-cart-items_3.cjs.entry.js +6 -6
- package/dist/cjs/zonos-collect-finish_6.cjs.entry.js +150 -36
- package/dist/cjs/zonos-collect.cjs.entry.js +176 -38
- package/dist/cjs/zonos-component.cjs.entry.js +1 -1
- package/dist/cjs/zonos-controller.cjs.entry.js +3 -3
- package/dist/cjs/zonos-country-flag.cjs.entry.js +1 -1
- package/dist/cjs/zonos-country-select_4.cjs.entry.js +10 -10
- package/dist/cjs/zonos-elements.cjs.js +1 -1
- package/dist/cjs/zonos-hello-dialog.cjs.entry.js +6 -6
- package/dist/cjs/zonos-hello.cjs.entry.js +1 -1
- package/dist/cjs/zonos-input.cjs.entry.js +4 -4
- package/dist/cjs/zonos-invoice-cart-items_2.cjs.entry.js +8 -8
- package/dist/cjs/zonos-invoice-finish_5.cjs.entry.js +14 -14
- package/dist/cjs/zonos-invoice.cjs.entry.js +4 -4
- package/dist/cjs/zonos-language-select_2.cjs.entry.js +5 -5
- package/dist/cjs/zonos-link.cjs.entry.js +1 -1
- package/dist/cjs/zonos-logo.cjs.entry.js +2 -2
- package/dist/cjs/zonos-policy-consent_2.cjs.entry.js +3 -3
- package/dist/cjs/zonos-stripe-input.cjs.entry.js +4 -4
- package/dist/cjs/zonos-tooltip.cjs.entry.js +2 -2
- package/dist/cjs/zonos-v-stack.cjs.entry.js +2 -2
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/airwallex/zonos-airwallex-payment/zonos-airwallex-payment.css +43 -0
- package/dist/collection/components/airwallex/zonos-airwallex-payment/zonos-airwallex-payment.js +215 -0
- package/dist/collection/components/checkout/zonos-checkout/zonos-address-update-dialog/zonos-address-form/zonos-address-form.js +4 -4
- package/dist/collection/components/checkout/zonos-checkout/zonos-cart-items/zonos-cart-items.js +1 -1
- package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-finish/zonos-checkout-finish.js +4 -4
- package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-footer/zonos-checkout-footer.js +2 -2
- package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-payment/zonos-checkout-payment.js +4 -1
- package/dist/collection/components/checkout/zonos-checkout/zonos-checkout.js +1 -1
- package/dist/collection/components/checkout/zonos-collect/zonos-collect-cart-items/zonos-collect-cart-items.js +1 -1
- package/dist/collection/components/checkout/zonos-collect/zonos-collect-finish/zonos-collect-finish.js +110 -2
- package/dist/collection/components/checkout/zonos-collect/zonos-collect-footer/zonos-collect-footer.js +3 -3
- package/dist/collection/components/checkout/zonos-collect/zonos-collect-order-details/zonos-collect-order-details.js +1 -1
- package/dist/collection/components/checkout/zonos-collect/zonos-collect-payment/zonos-collect-payment.css +1 -17
- package/dist/collection/components/checkout/zonos-collect/zonos-collect-payment/zonos-collect-payment.js +21 -0
- package/dist/collection/components/checkout/zonos-collect/zonos-collect-review/zonos-collect-review.js +3 -3
- package/dist/collection/components/checkout/zonos-collect/zonos-collect-subtotal/zonos-collect-subtotal.js +5 -5
- package/dist/collection/components/checkout/zonos-collect/zonos-collect.js +167 -29
- package/dist/collection/components/checkout/zonos-invoice/zonos-invoice-cart-items/zonos-invoice-cart-items.js +2 -2
- package/dist/collection/components/checkout/zonos-invoice/zonos-invoice-finish/zonos-invoice-finish.js +2 -2
- package/dist/collection/components/checkout/zonos-invoice/zonos-invoice-footer/zonos-invoice-footer.js +3 -3
- package/dist/collection/components/checkout/zonos-invoice/zonos-invoice-review/zonos-invoice-review.js +3 -3
- package/dist/collection/components/checkout/zonos-invoice/zonos-invoice-subtotal/zonos-invoice-subtotal.js +2 -2
- package/dist/collection/components/common/zonos-badge/zonos-badge.js +3 -3
- package/dist/collection/components/common/zonos-button/zonos-button.js +3 -3
- package/dist/collection/components/common/zonos-card/zonos-card.js +4 -4
- package/dist/collection/components/common/zonos-checkbox/zonos-checkbox.js +3 -3
- package/dist/collection/components/common/zonos-checkout-progress-tabs/zonos-checkout-progress-tabs.js +3 -3
- package/dist/collection/components/common/zonos-collapse/zonos-collapse.js +2 -2
- package/dist/collection/components/common/zonos-confirm-dialog/zonos-confirm-dialog.js +3 -3
- package/dist/collection/components/common/zonos-country-select/zonos-country-select.js +3 -3
- package/dist/collection/components/common/zonos-custom-message/zonos-custom-message.js +2 -2
- package/dist/collection/components/common/zonos-dialog/zonos-dialog.js +3 -3
- package/dist/collection/components/common/zonos-h-stack/zonos-h-stack.js +2 -2
- package/dist/collection/components/common/zonos-input/zonos-input.js +4 -4
- package/dist/collection/components/common/zonos-language-select/zonos-language-select.js +2 -2
- package/dist/collection/components/common/zonos-link/zonos-link.js +1 -1
- package/dist/collection/components/common/zonos-loading-overlay/zonos-loading-overlay.js +1 -1
- package/dist/collection/components/common/zonos-logo/zonos-logo.js +2 -2
- package/dist/collection/components/common/zonos-rest-state/zonos-rest-state.js +3 -3
- package/dist/collection/components/common/zonos-select-dialog-header/zonos-select-dialog-header.js +2 -2
- package/dist/collection/components/common/zonos-skeleton/zonos-skeleton.js +1 -1
- package/dist/collection/components/common/zonos-stripe-input/zonos-stripe-input.js +4 -4
- package/dist/collection/components/common/zonos-stripe-phone-input/zonos-stripe-phone-input.js +6 -6
- package/dist/collection/components/common/zonos-toggle/zonos-toggle.js +2 -2
- package/dist/collection/components/common/zonos-tooltip/zonos-tooltip.js +2 -2
- package/dist/collection/components/common/zonos-v-stack/zonos-v-stack.js +2 -2
- package/dist/collection/components/common/zonos-virtual-scroll/zonos-virtual-scroll.js +2 -2
- package/dist/collection/components/component-template/zonos-component/zonos-component.js +1 -1
- package/dist/collection/components/hello/zonos-hello-dialog/zonos-hello-dialog-footer/zonos-hello-dialog-footer.js +2 -2
- package/dist/collection/components/hello/zonos-hello-dialog/zonos-hello-dialog.js +4 -4
- package/dist/collection/components/main/zonos-controller.js +2 -2
- package/dist/collection/components/paypal/zonos-paypal-payment.js +1 -1
- package/dist/collection/components/store/checkout/airwallex.js +195 -0
- package/dist/collection/components/store/checkout/collect.js +4 -1
- package/dist/collection/components/store/checkout/euWithdrawalRate.js +40 -0
- package/dist/collection/components/store/checkout/stripe.js +26 -1
- package/dist/collection/components/store/hello/localization.js +3 -1
- package/dist/collection/components/store/translationStore/strings.arabic.js +12 -0
- package/dist/collection/components/store/translationStore/strings.base.js +12 -0
- package/dist/collection/components/store/translationStore/strings.chinese.js +12 -0
- package/dist/collection/components/store/translationStore/strings.danish.js +12 -0
- package/dist/collection/components/store/translationStore/strings.dutch.js +12 -0
- package/dist/collection/components/store/translationStore/strings.french.js +12 -0
- package/dist/collection/components/store/translationStore/strings.german.js +12 -0
- package/dist/collection/components/store/translationStore/strings.hebrew.js +12 -0
- package/dist/collection/components/store/translationStore/strings.indonesian.js +12 -0
- package/dist/collection/components/store/translationStore/strings.italian.js +12 -0
- package/dist/collection/components/store/translationStore/strings.japanese.js +12 -0
- package/dist/collection/components/store/translationStore/strings.korean.js +12 -0
- package/dist/collection/components/store/translationStore/strings.norwegian.js +12 -0
- package/dist/collection/components/store/translationStore/strings.polish.js +12 -0
- package/dist/collection/components/store/translationStore/strings.portuguese.js +12 -0
- package/dist/collection/components/store/translationStore/strings.russian.js +12 -0
- package/dist/collection/components/store/translationStore/strings.spanish.js +12 -0
- package/dist/collection/components/store/translationStore/strings.swedish.js +12 -0
- package/dist/collection/components/store/translationStore/strings.turkish.js +12 -0
- package/dist/collection/components/store/translationStore/strings.vietnamese.js +12 -0
- package/dist/collection/components/stripe/zonos-address/zonos-address.js +2 -2
- package/dist/collection/components/stripe/zonos-custom-address/zonos-address-suggestions/zonos-address-suggestions.js +2 -2
- package/dist/collection/components/stripe/zonos-custom-address/zonos-custom-address.js +2 -2
- package/dist/collection/components/stripe/zonos-payment/zonos-payment.js +1 -1
- package/dist/collection/components/utils/checkout/euWithdrawalNotice.js +74 -0
- package/dist/collection/types/generated/graphql.internal.types.js +318 -182
- package/dist/esm/{cart-44fa77ef.js → cart-23e29950.js} +32 -2
- package/dist/esm/collect-a235299d.js +3092 -0
- package/dist/esm/{hasInclusivePrice-f0440925.js → hasInclusivePrice-5e106f84.js} +1 -1
- package/dist/esm/index.js +7 -7
- package/dist/esm/{invoice-89e71796.js → invoice-78f069c7.js} +2 -2
- package/dist/esm/isCollectMobileTablet-111b0dd7.js +12 -0
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{localization-066586b6.js → localization-17546792.js} +244 -2
- package/dist/esm/{paypal-8725008c.js → paypal-5bc6b0d0.js} +2 -2
- package/dist/esm/{placeTestOrder-38be871e.js → placeTestOrder-e842854a.js} +2 -2
- package/dist/esm/{renderCheckoutCurrency-802f4481.js → renderCheckoutCurrency-e3953f67.js} +2 -2
- package/dist/esm/zonos-address-display_8.entry.js +18 -18
- package/dist/esm/zonos-address_4.entry.js +8 -8
- package/dist/esm/zonos-airwallex-payment.entry.js +166 -0
- package/dist/esm/zonos-badge.entry.js +3 -3
- package/dist/esm/zonos-button_3.entry.js +3 -3
- package/dist/esm/zonos-card_5.entry.js +9 -9
- package/dist/esm/zonos-cart-items_12.entry.js +131 -21
- package/dist/esm/zonos-checkbox_2.entry.js +5 -5
- package/dist/esm/zonos-checkout.entry.js +3 -3
- package/dist/esm/zonos-collapse.entry.js +2 -2
- package/dist/esm/zonos-collect-cart-items_3.entry.js +6 -6
- package/dist/esm/zonos-collect-finish_6.entry.js +135 -21
- package/dist/esm/zonos-collect.entry.js +171 -33
- package/dist/esm/zonos-component.entry.js +1 -1
- package/dist/esm/zonos-controller.entry.js +3 -3
- package/dist/esm/zonos-country-flag.entry.js +1 -1
- package/dist/esm/zonos-country-select_4.entry.js +10 -10
- package/dist/esm/zonos-elements.js +1 -1
- package/dist/esm/zonos-hello-dialog.entry.js +6 -6
- package/dist/esm/zonos-hello.entry.js +1 -1
- package/dist/esm/zonos-input.entry.js +4 -4
- package/dist/esm/zonos-invoice-cart-items_2.entry.js +8 -8
- package/dist/esm/zonos-invoice-finish_5.entry.js +14 -14
- package/dist/esm/zonos-invoice.entry.js +4 -4
- package/dist/esm/zonos-language-select_2.entry.js +5 -5
- package/dist/esm/zonos-link.entry.js +1 -1
- package/dist/esm/zonos-logo.entry.js +2 -2
- package/dist/esm/zonos-policy-consent_2.entry.js +3 -3
- package/dist/esm/zonos-stripe-input.entry.js +4 -4
- package/dist/esm/zonos-tooltip.entry.js +2 -2
- package/dist/esm/zonos-v-stack.entry.js +2 -2
- package/dist/esm-es5/cart-23e29950.js +1 -0
- package/dist/esm-es5/collect-a235299d.js +1 -0
- package/dist/esm-es5/{hasInclusivePrice-f0440925.js → hasInclusivePrice-5e106f84.js} +1 -1
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/{invoice-89e71796.js → invoice-78f069c7.js} +1 -1
- package/dist/esm-es5/isCollectMobileTablet-111b0dd7.js +1 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/localization-17546792.js +1 -0
- package/dist/esm-es5/{paypal-8725008c.js → paypal-5bc6b0d0.js} +1 -1
- package/dist/esm-es5/{placeTestOrder-38be871e.js → placeTestOrder-e842854a.js} +1 -1
- package/dist/esm-es5/{renderCheckoutCurrency-802f4481.js → renderCheckoutCurrency-e3953f67.js} +1 -1
- package/dist/esm-es5/zonos-address-display_8.entry.js +1 -1
- package/dist/esm-es5/zonos-address_4.entry.js +1 -1
- package/dist/esm-es5/zonos-airwallex-payment.entry.js +1 -0
- package/dist/esm-es5/zonos-badge.entry.js +1 -1
- package/dist/esm-es5/zonos-button_3.entry.js +1 -1
- package/dist/esm-es5/zonos-card_5.entry.js +1 -1
- package/dist/esm-es5/zonos-cart-items_12.entry.js +1 -1
- package/dist/esm-es5/zonos-checkbox_2.entry.js +1 -1
- package/dist/esm-es5/zonos-checkout.entry.js +1 -1
- package/dist/esm-es5/zonos-collapse.entry.js +1 -1
- package/dist/esm-es5/zonos-collect-cart-items_3.entry.js +1 -1
- package/dist/esm-es5/zonos-collect-finish_6.entry.js +1 -1
- package/dist/esm-es5/zonos-collect.entry.js +1 -1
- package/dist/esm-es5/zonos-component.entry.js +1 -1
- package/dist/esm-es5/zonos-controller.entry.js +1 -1
- package/dist/esm-es5/zonos-country-flag.entry.js +1 -1
- package/dist/esm-es5/zonos-country-select_4.entry.js +1 -1
- package/dist/esm-es5/zonos-elements.js +1 -1
- package/dist/esm-es5/zonos-hello-dialog.entry.js +1 -1
- package/dist/esm-es5/zonos-hello.entry.js +1 -1
- package/dist/esm-es5/zonos-input.entry.js +1 -1
- package/dist/esm-es5/zonos-invoice-cart-items_2.entry.js +1 -1
- package/dist/esm-es5/zonos-invoice-finish_5.entry.js +1 -1
- package/dist/esm-es5/zonos-invoice.entry.js +1 -1
- package/dist/esm-es5/zonos-language-select_2.entry.js +1 -1
- package/dist/esm-es5/zonos-link.entry.js +1 -1
- package/dist/esm-es5/zonos-logo.entry.js +1 -1
- package/dist/esm-es5/zonos-policy-consent_2.entry.js +1 -1
- package/dist/esm-es5/zonos-stripe-input.entry.js +1 -1
- package/dist/esm-es5/zonos-tooltip.entry.js +1 -1
- package/dist/esm-es5/zonos-v-stack.entry.js +1 -1
- package/dist/scripts/index.d.ts +99 -3
- package/dist/scripts/index.js +1 -1
- package/dist/scripts/loadZonos.js +1 -1
- package/dist/scripts/zonos.js +1 -1
- package/dist/types/components/airwallex/zonos-airwallex-payment/zonos-airwallex-payment.d.ts +46 -0
- package/dist/types/components/checkout/zonos-collect/zonos-collect-finish/zonos-collect-finish.d.ts +7 -0
- package/dist/types/components/checkout/zonos-collect/zonos-collect-payment/zonos-collect-payment.d.ts +4 -0
- package/dist/types/components/checkout/zonos-collect/zonos-collect.d.ts +29 -0
- package/dist/types/components/store/checkout/airwallex.d.ts +83 -0
- package/dist/types/components/store/checkout/collect.d.ts +12 -1
- package/dist/types/components/store/checkout/euWithdrawalRate.d.ts +19 -0
- package/dist/types/components/store/checkout/stripe.d.ts +1 -1
- package/dist/types/components/store/translationStore/strings.arabic.d.ts +12 -0
- package/dist/types/components/store/translationStore/strings.base.d.ts +12 -0
- package/dist/types/components/store/translationStore/strings.chinese.d.ts +12 -0
- package/dist/types/components/store/translationStore/strings.danish.d.ts +12 -0
- package/dist/types/components/store/translationStore/strings.dutch.d.ts +12 -0
- package/dist/types/components/store/translationStore/strings.french.d.ts +12 -0
- package/dist/types/components/store/translationStore/strings.german.d.ts +12 -0
- package/dist/types/components/store/translationStore/strings.hebrew.d.ts +12 -0
- package/dist/types/components/store/translationStore/strings.indonesian.d.ts +12 -0
- package/dist/types/components/store/translationStore/strings.italian.d.ts +12 -0
- package/dist/types/components/store/translationStore/strings.japanese.d.ts +12 -0
- package/dist/types/components/store/translationStore/strings.korean.d.ts +12 -0
- package/dist/types/components/store/translationStore/strings.norwegian.d.ts +12 -0
- package/dist/types/components/store/translationStore/strings.polish.d.ts +12 -0
- package/dist/types/components/store/translationStore/strings.portuguese.d.ts +12 -0
- package/dist/types/components/store/translationStore/strings.russian.d.ts +12 -0
- package/dist/types/components/store/translationStore/strings.spanish.d.ts +12 -0
- package/dist/types/components/store/translationStore/strings.swedish.d.ts +12 -0
- package/dist/types/components/store/translationStore/strings.turkish.d.ts +12 -0
- package/dist/types/components/store/translationStore/strings.vietnamese.d.ts +12 -0
- package/dist/types/components/utils/checkout/euWithdrawalNotice.d.ts +9 -0
- package/dist/types/components.d.ts +42 -0
- package/dist/types/scripts/cart/_setupCartDataWithSettings.d.ts +8 -3
- package/dist/types/types/checkout/CheckoutConfig.d.ts +10 -0
- package/dist/types/types/checkout/api/CheckoutSession.d.ts +11 -1
- package/dist/types/types/checkout/api/PartyInfo.d.ts +6 -0
- package/dist/types/types/generated/graphql.internal.types.d.ts +416 -218
- package/dist/types/types/generated/graphql.internal.types.ts +537 -258
- package/dist/types/types/utils/ZonosSettings.d.ts +15 -0
- package/dist/zonos-elements/index.esm.js +1 -1
- package/dist/zonos-elements/p-013575f2.entry.js +1 -0
- package/dist/zonos-elements/{p-344a1fee.entry.js → p-055ef910.entry.js} +1 -1
- package/dist/zonos-elements/{p-d29dbeb3.entry.js → p-08b48608.entry.js} +1 -1
- package/dist/zonos-elements/{p-26ae4ee7.system.entry.js → p-0a54dae6.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-6ac77d9f.system.entry.js → p-0b59076d.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-c92a5ae5.system.entry.js → p-10571f94.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-658ab5e2.entry.js → p-12a05647.entry.js} +1 -1
- package/dist/zonos-elements/{p-703f2737.system.js → p-14018649.system.js} +2 -2
- package/dist/zonos-elements/{p-acd7009a.system.entry.js → p-1678d8b4.system.entry.js} +1 -1
- package/dist/zonos-elements/p-171d0f9f.system.js +1 -0
- package/dist/zonos-elements/{p-7e03bd33.system.entry.js → p-1a105d6e.system.entry.js} +1 -1
- package/dist/zonos-elements/p-1a4083be.system.js +1 -0
- package/dist/zonos-elements/{p-72666536.system.entry.js → p-1f31f5a0.system.entry.js} +1 -1
- package/dist/zonos-elements/p-2197d6ab.js +1 -0
- package/dist/zonos-elements/{p-536cbab5.system.entry.js → p-27e50593.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-0b4ba025.entry.js → p-2825431d.entry.js} +1 -1
- package/dist/zonos-elements/p-29b60bf3.system.js +1 -1
- package/dist/zonos-elements/{p-ccd0fa8f.system.entry.js → p-2a1247f4.system.entry.js} +1 -1
- package/dist/zonos-elements/p-2adbbce7.system.js +1 -0
- package/dist/zonos-elements/{p-553ca694.system.entry.js → p-306e5499.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-b15ceaff.entry.js → p-31577ebd.entry.js} +1 -1
- package/dist/zonos-elements/{p-889a44fc.entry.js → p-328fd90e.entry.js} +1 -1
- package/dist/zonos-elements/p-33910e8b.js +1 -0
- package/dist/zonos-elements/{p-fb684748.system.entry.js → p-36b311f9.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-5b4e5608.system.entry.js → p-3eba657b.system.entry.js} +1 -1
- package/dist/zonos-elements/p-41619f29.js +1 -0
- package/dist/zonos-elements/{p-7792f4c2.js → p-42948a52.js} +1 -1
- package/dist/zonos-elements/p-46e72a90.entry.js +1 -0
- package/dist/zonos-elements/p-49d8a10f.entry.js +1 -0
- package/dist/zonos-elements/{p-fc651784.system.entry.js → p-4a960329.system.entry.js} +1 -1
- package/dist/zonos-elements/p-4b371b65.entry.js +1 -0
- package/dist/zonos-elements/p-539bc46c.js +1 -0
- package/dist/zonos-elements/p-579932a7.js +1 -0
- package/dist/zonos-elements/{p-2afecda7.entry.js → p-59b10526.entry.js} +1 -1
- package/dist/zonos-elements/{p-98bea13e.system.entry.js → p-5aa35d1c.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-238370ad.system.js → p-62c68aee.system.js} +1 -1
- package/dist/zonos-elements/{p-5df77315.system.entry.js → p-6c19310e.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-16948eea.system.entry.js → p-732e7373.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-0e8c4a29.entry.js → p-734d646b.entry.js} +1 -1
- package/dist/zonos-elements/{p-2f61dc3c.entry.js → p-7eb47eb0.entry.js} +1 -1
- package/dist/zonos-elements/{p-a2885536.system.entry.js → p-86a9f048.system.entry.js} +1 -1
- package/dist/zonos-elements/p-8af57c2a.js +1 -0
- package/dist/zonos-elements/{p-fb83134b.system.entry.js → p-8c4761d1.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-5812b323.system.entry.js → p-8e77a3cd.system.entry.js} +1 -1
- package/dist/zonos-elements/p-919c5500.entry.js +1 -0
- package/dist/zonos-elements/{p-c76ec587.system.js → p-91b921a4.system.js} +1 -1
- package/dist/zonos-elements/p-9574695a.system.js +1 -0
- package/dist/zonos-elements/p-97917371.system.entry.js +1 -0
- package/dist/zonos-elements/p-9b003a15.system.entry.js +1 -0
- package/dist/zonos-elements/{p-e11c3410.entry.js → p-9c3276c8.entry.js} +1 -1
- package/dist/zonos-elements/p-9cd41234.system.entry.js +1 -0
- package/dist/zonos-elements/{p-5f92db80.system.entry.js → p-a1a05de4.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-6704b83e.entry.js → p-a968ccba.entry.js} +1 -1
- package/dist/zonos-elements/{p-91702715.entry.js → p-abd485df.entry.js} +1 -1
- package/dist/zonos-elements/{p-69ad7325.entry.js → p-ad961f5d.entry.js} +1 -1
- package/dist/zonos-elements/{p-ad4c8167.system.entry.js → p-b5c01288.system.entry.js} +1 -1
- package/dist/zonos-elements/p-bf8c98ab.system.js +1 -0
- package/dist/zonos-elements/{p-eb96d62f.entry.js → p-c13d2e3f.entry.js} +1 -1
- package/dist/zonos-elements/{p-0b46f3bd.system.entry.js → p-c15476a1.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-0e36a7cf.system.entry.js → p-c6823974.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-dae881f2.entry.js → p-c83bc4b3.entry.js} +1 -1
- package/dist/zonos-elements/{p-134c5010.system.entry.js → p-c846a5f3.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-7aca66cd.entry.js → p-cc508de8.entry.js} +1 -1
- package/dist/zonos-elements/{p-d4c966cb.entry.js → p-ccd14aa5.entry.js} +1 -1
- package/dist/zonos-elements/{p-801dd8d8.system.js → p-d25759fb.system.js} +1 -1
- package/dist/zonos-elements/{p-fcf3ed5c.entry.js → p-d5e66ea6.entry.js} +1 -1
- package/dist/zonos-elements/{p-2df84888.system.entry.js → p-daf57db3.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-b35a0b1e.entry.js → p-dcef2202.entry.js} +1 -1
- package/dist/zonos-elements/{p-283ffaad.entry.js → p-dd6da3de.entry.js} +1 -1
- package/dist/zonos-elements/{p-30e819ed.entry.js → p-df6fbf3f.entry.js} +1 -1
- package/dist/zonos-elements/{p-0d251428.entry.js → p-e643346a.entry.js} +1 -1
- package/dist/zonos-elements/{p-a977cddd.entry.js → p-e8cb382e.entry.js} +1 -1
- package/dist/zonos-elements/{p-2651ca93.system.entry.js → p-e8ec88a9.system.entry.js} +1 -1
- package/dist/zonos-elements/p-e9afd736.system.entry.js +1 -0
- package/dist/zonos-elements/{p-208b270a.js → p-e9c8a235.js} +1 -1
- package/dist/zonos-elements/{p-b1a4f385.system.entry.js → p-f0eb6317.system.entry.js} +1 -1
- package/dist/zonos-elements/p-f1cc659c.js +1 -0
- package/dist/zonos-elements/{p-9abfb6b0.entry.js → p-f53c8a9f.entry.js} +1 -1
- package/dist/zonos-elements/{p-777d396e.entry.js → p-f72642de.entry.js} +1 -1
- package/dist/zonos-elements/{p-0d2d7fc4.system.js → p-fcaec700.system.js} +1 -1
- package/dist/zonos-elements/zonos-elements.esm.js +1 -1
- package/package.json +2 -1
- package/dist/cjs/isCollectMobileTablet-3ac53cab.js +0 -176
- package/dist/esm/isCollectMobileTablet-323d2ba1.js +0 -169
- package/dist/esm-es5/cart-44fa77ef.js +0 -1
- package/dist/esm-es5/isCollectMobileTablet-323d2ba1.js +0 -1
- package/dist/esm-es5/localization-066586b6.js +0 -1
- package/dist/zonos-elements/p-08c7dc07.system.entry.js +0 -1
- package/dist/zonos-elements/p-0e9c0eff.entry.js +0 -1
- package/dist/zonos-elements/p-0fb8b711.system.entry.js +0 -1
- package/dist/zonos-elements/p-225f19b6.entry.js +0 -1
- package/dist/zonos-elements/p-260a5b57.js +0 -1
- package/dist/zonos-elements/p-27beefda.system.js +0 -1
- package/dist/zonos-elements/p-31a3b070.system.js +0 -1
- package/dist/zonos-elements/p-5ab4bc26.system.entry.js +0 -1
- package/dist/zonos-elements/p-9e414000.js +0 -1
- package/dist/zonos-elements/p-b1125711.system.js +0 -1
- package/dist/zonos-elements/p-bea9d128.js +0 -1
- package/dist/zonos-elements/p-bfcc1432.js +0 -1
- package/dist/zonos-elements/p-c049c527.js +0 -1
- package/dist/zonos-elements/p-d659153c.entry.js +0 -1
- package/dist/zonos-elements/p-debd2e30.js +0 -1
- package/dist/zonos-elements/p-ebc966d8.entry.js +0 -1
- package/dist/zonos-elements/p-f5d4775a.system.js +0 -1
|
@@ -0,0 +1,195 @@
|
|
|
1
|
+
import { init } from "@airwallex/components-sdk";
|
|
2
|
+
import { createStore } from "@stencil/store";
|
|
3
|
+
import { localizationStore } from "../hello/localization";
|
|
4
|
+
import { translate } from "../translationStore";
|
|
5
|
+
import { zonosStore } from "../zonosStore";
|
|
6
|
+
import { handleFetch } from "../../utils/handleFetch";
|
|
7
|
+
import { log } from "../../utils/logging/log";
|
|
8
|
+
import { logError } from "../../utils/logging/logError";
|
|
9
|
+
const { onChange: airwallexStoreOnChange, reset: airwallexStoreReset, state: airwallexStore, } = createStore(() => ({
|
|
10
|
+
clientSecret: null,
|
|
11
|
+
currency: null,
|
|
12
|
+
hasPaymentError: false,
|
|
13
|
+
isReady: false,
|
|
14
|
+
paymentConfirmed: false,
|
|
15
|
+
paymentIntentId: null,
|
|
16
|
+
}));
|
|
17
|
+
/**
|
|
18
|
+
* Populate the store from a collect checkout session response.
|
|
19
|
+
*
|
|
20
|
+
* @returns `true` when the session uses Airwallex and has the data required to
|
|
21
|
+
* render the payment element.
|
|
22
|
+
*/
|
|
23
|
+
const airwallexStoreSetFromSession = (checkoutSession) => {
|
|
24
|
+
if (checkoutSession.paymentProcessor !== 'AIRWALLEX') {
|
|
25
|
+
return false;
|
|
26
|
+
}
|
|
27
|
+
// Only overwrite when the session provides a value — the client secret /
|
|
28
|
+
// payment intent id may already have been seeded from the payment-intent
|
|
29
|
+
// create response, which is more reliable than a follow-up session fetch.
|
|
30
|
+
if (checkoutSession.clientSecret) {
|
|
31
|
+
airwallexStore.clientSecret = checkoutSession.clientSecret;
|
|
32
|
+
}
|
|
33
|
+
if (checkoutSession.paymentIntentId) {
|
|
34
|
+
airwallexStore.paymentIntentId = checkoutSession.paymentIntentId;
|
|
35
|
+
}
|
|
36
|
+
if (!airwallexStore.clientSecret) {
|
|
37
|
+
logError('Airwallex checkout session is missing the client secret');
|
|
38
|
+
return false;
|
|
39
|
+
}
|
|
40
|
+
return true;
|
|
41
|
+
};
|
|
42
|
+
/**
|
|
43
|
+
* Map a Zonos locale to an Airwallex-supported locale. Locales without an
|
|
44
|
+
* Airwallex equivalent (e.g. Norwegian, Vietnamese, Turkish, Hebrew) fall back
|
|
45
|
+
* to English.
|
|
46
|
+
*/
|
|
47
|
+
const airwallexLocaleByCode = {
|
|
48
|
+
ar: 'ar',
|
|
49
|
+
da: 'da',
|
|
50
|
+
de: 'de',
|
|
51
|
+
en: 'en',
|
|
52
|
+
es: 'es',
|
|
53
|
+
fr: 'fr',
|
|
54
|
+
id: 'id',
|
|
55
|
+
it: 'it',
|
|
56
|
+
ja: 'ja',
|
|
57
|
+
ko: 'ko',
|
|
58
|
+
nl: 'nl',
|
|
59
|
+
pl: 'pl',
|
|
60
|
+
pt: 'pt',
|
|
61
|
+
ru: 'ru',
|
|
62
|
+
sv: 'sv',
|
|
63
|
+
zh: 'zh',
|
|
64
|
+
};
|
|
65
|
+
const airwallexStoreGetLocale = (locale) => airwallexLocaleByCode[locale] || 'en';
|
|
66
|
+
// Ensure the SDK is only initialized once, even across re-renders/components.
|
|
67
|
+
let initPromise = null;
|
|
68
|
+
/**
|
|
69
|
+
* Load and initialize the Airwallex components SDK (idempotent). Uses the `prod`
|
|
70
|
+
* environment only when the API is in production and the checkout mode is `LIVE`
|
|
71
|
+
* (mirrors how PayPal decides production vs. sandbox), otherwise `demo`, so the
|
|
72
|
+
* SDK environment matches the payment intents created by the checkout backend.
|
|
73
|
+
* Also uses the shopper's selected locale from localization.
|
|
74
|
+
*
|
|
75
|
+
* @returns `true` once the SDK is ready to create elements.
|
|
76
|
+
*/
|
|
77
|
+
const airwallexStoreInitSdk = async () => {
|
|
78
|
+
if (airwallexStore.isReady) {
|
|
79
|
+
return true;
|
|
80
|
+
}
|
|
81
|
+
if (!initPromise) {
|
|
82
|
+
// Production only when the API is in production environment and the checkout
|
|
83
|
+
// mode is `LIVE` (not sandbox) — same rule as the PayPal integration.
|
|
84
|
+
const isProduction = (!zonosStore.zonosMode || zonosStore.zonosMode === 'production') &&
|
|
85
|
+
zonosStore.checkoutSettings.mode === 'LIVE';
|
|
86
|
+
initPromise = init({
|
|
87
|
+
enabledElements: ['payments'],
|
|
88
|
+
env: isProduction ? 'prod' : 'demo',
|
|
89
|
+
locale: airwallexStoreGetLocale(localizationStore.selectedLocale),
|
|
90
|
+
})
|
|
91
|
+
.then(() => {
|
|
92
|
+
airwallexStore.isReady = true;
|
|
93
|
+
log('Airwallex SDK initialized');
|
|
94
|
+
return true;
|
|
95
|
+
})
|
|
96
|
+
.catch((err) => {
|
|
97
|
+
logError(err);
|
|
98
|
+
// Allow a later retry by clearing the cached promise.
|
|
99
|
+
initPromise = null;
|
|
100
|
+
return false;
|
|
101
|
+
});
|
|
102
|
+
}
|
|
103
|
+
return initPromise;
|
|
104
|
+
};
|
|
105
|
+
/**
|
|
106
|
+
* Statuses that mean the payment has gone through (or is on its way with no
|
|
107
|
+
* further action required from the customer) — i.e. the order should move to the
|
|
108
|
+
* finish step rather than render the payment form.
|
|
109
|
+
*/
|
|
110
|
+
const airwallexPaidStatuses = [
|
|
111
|
+
'SUCCEEDED',
|
|
112
|
+
'REQUIRES_CAPTURE',
|
|
113
|
+
'PENDING_REVIEW',
|
|
114
|
+
'PENDING',
|
|
115
|
+
];
|
|
116
|
+
/**
|
|
117
|
+
* Whether the given status means the payment is settled or in progress (no
|
|
118
|
+
* further customer action required).
|
|
119
|
+
*/
|
|
120
|
+
const airwallexStoreIsPaidStatus = (status) => !!status && airwallexPaidStatuses.includes(status);
|
|
121
|
+
/**
|
|
122
|
+
* Map an Airwallex payment intent status to a customer-facing message and an
|
|
123
|
+
* error flag — the Airwallex equivalent of `stripeStoreMessageBasedOnStatus`.
|
|
124
|
+
* @see https://www.airwallex.com/docs/payments/reference/payment-statuses
|
|
125
|
+
*/
|
|
126
|
+
const airwallexStoreMessageBasedOnStatus = (status) => {
|
|
127
|
+
switch (status) {
|
|
128
|
+
// The payment is complete.
|
|
129
|
+
case 'SUCCEEDED': {
|
|
130
|
+
return {
|
|
131
|
+
isError: false,
|
|
132
|
+
messages: [
|
|
133
|
+
translate('Thank you for submitting your payment. We appreciate your prompt attention.'),
|
|
134
|
+
'',
|
|
135
|
+
translate('A confirmation email with your payment details has been sent for your records. If you have any questions or need support, our team is here to help.'),
|
|
136
|
+
],
|
|
137
|
+
};
|
|
138
|
+
}
|
|
139
|
+
// Authorized / pending the final result — no further action required.
|
|
140
|
+
case 'PENDING':
|
|
141
|
+
case 'PENDING_REVIEW':
|
|
142
|
+
case 'REQUIRES_CAPTURE': {
|
|
143
|
+
return {
|
|
144
|
+
isError: false,
|
|
145
|
+
messages: [
|
|
146
|
+
translate("Payment processing. We'll update you when payment is received."),
|
|
147
|
+
],
|
|
148
|
+
};
|
|
149
|
+
}
|
|
150
|
+
// Waiting for further customer action (e.g. 3DS verification).
|
|
151
|
+
case 'REQUIRES_CUSTOMER_ACTION': {
|
|
152
|
+
return {
|
|
153
|
+
isError: false,
|
|
154
|
+
messages: [
|
|
155
|
+
translate('Your selected payment method requires additional verification. Please follow the instructions provided by your payment provider to complete the transaction.'),
|
|
156
|
+
],
|
|
157
|
+
};
|
|
158
|
+
}
|
|
159
|
+
// Not paid (awaiting a payment method) or canceled.
|
|
160
|
+
case 'CANCELLED':
|
|
161
|
+
case 'REQUIRES_PAYMENT_METHOD': {
|
|
162
|
+
return {
|
|
163
|
+
isError: true,
|
|
164
|
+
messages: [
|
|
165
|
+
translate('Payment failed. Please reload the page and try another payment method.'),
|
|
166
|
+
],
|
|
167
|
+
};
|
|
168
|
+
}
|
|
169
|
+
default: {
|
|
170
|
+
return {
|
|
171
|
+
isError: true,
|
|
172
|
+
messages: [translate('Something went wrong.')],
|
|
173
|
+
};
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
};
|
|
177
|
+
/**
|
|
178
|
+
* Retrieve the latest Airwallex payment intent status by id.
|
|
179
|
+
*
|
|
180
|
+
* @returns the status, or `null` when the lookup failed.
|
|
181
|
+
*/
|
|
182
|
+
const airwallexStoreRetrievePaymentIntent = async (paymentIntentId) => {
|
|
183
|
+
const { errors, json } = await handleFetch('/api/zonos-elements/collect/airwallex-payment-intent', {
|
|
184
|
+
body: {
|
|
185
|
+
paymentIntentId,
|
|
186
|
+
},
|
|
187
|
+
method: 'POST',
|
|
188
|
+
});
|
|
189
|
+
if (errors.length || !json) {
|
|
190
|
+
logError('Failed to retrieve Airwallex payment intent', errors);
|
|
191
|
+
return { status: null };
|
|
192
|
+
}
|
|
193
|
+
return { status: json.airwallexPaymentIntent.status };
|
|
194
|
+
};
|
|
195
|
+
export { airwallexStore, airwallexStoreGetLocale, airwallexStoreInitSdk, airwallexStoreIsPaidStatus, airwallexStoreMessageBasedOnStatus, airwallexStoreOnChange, airwallexStoreReset, airwallexStoreRetrievePaymentIntent, airwallexStoreSetFromSession, };
|
|
@@ -10,14 +10,16 @@ import { sendErrorLog } from "../../utils/logging/sendErrorLog";
|
|
|
10
10
|
const { reset: collectStoreReset, state: collectStore } = createStore(() => ({
|
|
11
11
|
amountDutyTaxFeeTotal: null,
|
|
12
12
|
amountTotalPaid: null,
|
|
13
|
+
collectLogoUrl: null,
|
|
13
14
|
isFetchingShippingInfo: true,
|
|
14
15
|
landedCostShortId: null,
|
|
15
16
|
originCompanyName: null,
|
|
16
17
|
partyBillingId: null,
|
|
18
|
+
paymentProcessor: null,
|
|
17
19
|
shippingAddress: null,
|
|
18
20
|
}));
|
|
19
21
|
const collectStoreInitShippingInfo = async ({ landedCostId, retries = 5, }) => {
|
|
20
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
22
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
21
23
|
collectStore.isFetchingShippingInfo = true;
|
|
22
24
|
const response = await handleFetch('/api/zonos-elements/collect/get-shipping-info-by-lc-id', {
|
|
23
25
|
body: {
|
|
@@ -52,6 +54,7 @@ const collectStoreInitShippingInfo = async ({ landedCostId, retries = 5, }) => {
|
|
|
52
54
|
((checkoutSessionSubtotals === null || checkoutSessionSubtotals === void 0 ? void 0 : checkoutSessionSubtotals.taxes) || 0) +
|
|
53
55
|
((checkoutSessionSubtotals === null || checkoutSessionSubtotals === void 0 ? void 0 : checkoutSessionSubtotals.fees) || 0);
|
|
54
56
|
collectStore.originCompanyName = ((_j = (_h = response.json) === null || _h === void 0 ? void 0 : _h.origin) === null || _j === void 0 ? void 0 : _j.companyName) || null;
|
|
57
|
+
collectStore.collectLogoUrl = ((_k = response.json) === null || _k === void 0 ? void 0 : _k.collectLogoUrl) || null;
|
|
55
58
|
if (collectStore.amountTotalPaid === 0) {
|
|
56
59
|
void sendErrorLog({
|
|
57
60
|
endpoint: 'COLLECT_NO_TOTAL_PAID',
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { createStore } from "@stencil/store";
|
|
2
|
+
import { getExchangeRate } from "../../utils/api/getExchangeRate";
|
|
3
|
+
/**
|
|
4
|
+
* Caches live "configured currency → presentment currency" rates used to convert
|
|
5
|
+
* the EU withdrawal return-shipping cap into the currency the buyer actually pays
|
|
6
|
+
* in. A @stencil/store so that, when a lazily-fetched rate resolves, components
|
|
7
|
+
* rendering the notice re-render and pick up the converted amount. Keyed by
|
|
8
|
+
* `${sourceCurrency}_${targetCurrency}`; a null value means the lookup failed.
|
|
9
|
+
*/
|
|
10
|
+
const { state: euWithdrawalRateStore } = createStore({ crossRates: {} });
|
|
11
|
+
export { euWithdrawalRateStore };
|
|
12
|
+
// Tracks in-flight rate lookups so the same pair isn't fetched on every render.
|
|
13
|
+
const inFlightRateKeys = new Set();
|
|
14
|
+
export const euWithdrawalCrossRateKey = (sourceCurrency, targetCurrency) => `${sourceCurrency}_${targetCurrency}`;
|
|
15
|
+
/**
|
|
16
|
+
* Lazily fetch the current configured→presentment rate (fire-and-forget). Guarded
|
|
17
|
+
* so each pair is fetched at most once; the result lands in the reactive store,
|
|
18
|
+
* which triggers a re-render that then shows the presentment estimate.
|
|
19
|
+
*/
|
|
20
|
+
export const ensureEuWithdrawalCrossRate = (sourceCurrency, targetCurrency, shipToCountry) => {
|
|
21
|
+
const key = euWithdrawalCrossRateKey(sourceCurrency, targetCurrency);
|
|
22
|
+
if (inFlightRateKeys.has(key) ||
|
|
23
|
+
euWithdrawalRateStore.crossRates[key] !== undefined) {
|
|
24
|
+
return;
|
|
25
|
+
}
|
|
26
|
+
inFlightRateKeys.add(key);
|
|
27
|
+
void getExchangeRate({
|
|
28
|
+
country: shipToCountry,
|
|
29
|
+
isGuaranteed: false,
|
|
30
|
+
sourceCurrency,
|
|
31
|
+
targetCurrency,
|
|
32
|
+
})
|
|
33
|
+
.then(({ exchangeRate }) => {
|
|
34
|
+
var _a;
|
|
35
|
+
euWithdrawalRateStore.crossRates = Object.assign(Object.assign({}, euWithdrawalRateStore.crossRates), { [key]: (_a = exchangeRate === null || exchangeRate === void 0 ? void 0 : exchangeRate.rate) !== null && _a !== void 0 ? _a : null });
|
|
36
|
+
})
|
|
37
|
+
.finally(() => {
|
|
38
|
+
inFlightRateKeys.delete(key);
|
|
39
|
+
});
|
|
40
|
+
};
|
|
@@ -20,6 +20,7 @@ import { sendErrorLog } from "../../utils/logging/sendErrorLog";
|
|
|
20
20
|
import { validateCheckoutSession } from "../../utils/validateCheckoutSession";
|
|
21
21
|
import { addressRuleStyle } from "../../../styles/stripe/addressRuleStyle";
|
|
22
22
|
import { defaultVariable } from "../../../styles/stripe/defaultVariable";
|
|
23
|
+
import { checkoutPaymentProcessorType, } from "../../../types/generated/graphql.internal.types";
|
|
23
24
|
const { onChange: stripeStoreOnChange, reset, state: stripeStore, } = createStore(() => ({
|
|
24
25
|
checkoutSettlementCurrency: 'USD',
|
|
25
26
|
clientSecret: sessionStorage.getItem('zonos--client-secret') || '',
|
|
@@ -104,6 +105,10 @@ const getStripeOptions = ({ clientSecret, overrideBorderRadius, overridePrimaryC
|
|
|
104
105
|
// if overrideTheme is provided, use it. Otherwise, use theme based on primary color
|
|
105
106
|
const theme = overrideTheme === 'DARK' ? 'night' : 'flat';
|
|
106
107
|
const paypalPaymentType = paypalEnabled ? ['external_paypal'] : [];
|
|
108
|
+
// If client secret is Stripe format, use it
|
|
109
|
+
const stripeClientSecret = (clientSecret === null || clientSecret === void 0 ? void 0 : clientSecret.includes('_secret_'))
|
|
110
|
+
? clientSecret
|
|
111
|
+
: undefined;
|
|
107
112
|
return {
|
|
108
113
|
appearance: {
|
|
109
114
|
labels: 'floating',
|
|
@@ -119,7 +124,7 @@ const getStripeOptions = ({ clientSecret, overrideBorderRadius, overridePrimaryC
|
|
|
119
124
|
}),
|
|
120
125
|
},
|
|
121
126
|
// Client secret can be undefined since we will load other elements that doesn't require client secret first, then load client secret and render one that requires it later
|
|
122
|
-
clientSecret:
|
|
127
|
+
clientSecret: stripeClientSecret,
|
|
123
128
|
customerSessionClientSecret: stripeStore.stripeCustomerSessionClientSecret || undefined,
|
|
124
129
|
externalPaymentMethodTypes: [...paypalPaymentType],
|
|
125
130
|
locale: localizationStore.selectedLocale,
|
|
@@ -807,6 +812,13 @@ const stripeStoreRetrievePayment = async ({ clientSecret: _clientSecret, storybo
|
|
|
807
812
|
logError('Failed to retrieve payment intent. Stripe is not initialized');
|
|
808
813
|
return { error: true, message: [translate('Something went wrong.')] };
|
|
809
814
|
}
|
|
815
|
+
// A client secret that isn't a Stripe payment intent secret (e.g. an Airwallex
|
|
816
|
+
// secret) can't be evaluated by Stripe. Do not treat it as a successful Stripe
|
|
817
|
+
// payment — return an error so callers don't run success analytics / order
|
|
818
|
+
// polling off a secret Stripe never confirmed.
|
|
819
|
+
if (!clientSecret.includes('_secret_')) {
|
|
820
|
+
return { error: true, messages: [translate('Something went wrong.')] };
|
|
821
|
+
}
|
|
810
822
|
const { paymentIntent } = await stripeStore.stripe.retrievePaymentIntent(clientSecret);
|
|
811
823
|
const status = paymentIntent === null || paymentIntent === void 0 ? void 0 : paymentIntent.status;
|
|
812
824
|
const { isError, messages } = stripeStoreMessageBasedOnStatus(status);
|
|
@@ -912,6 +924,18 @@ const buildPolicyConsentMetadataEntry = () => {
|
|
|
912
924
|
}),
|
|
913
925
|
};
|
|
914
926
|
};
|
|
927
|
+
/**
|
|
928
|
+
* Allow overriding the checkout session payment processor via a `paymentProcessor`
|
|
929
|
+
* URL query param (e.g. `?paymentProcessor=AIRWALLEX`). The processor is normally
|
|
930
|
+
* determined server-side by the billing company; this override is primarily used
|
|
931
|
+
* for testing. Returns `undefined` when the param is missing or not a valid
|
|
932
|
+
* processor.
|
|
933
|
+
*/
|
|
934
|
+
const getPaymentProcessorFromUrl = () => {
|
|
935
|
+
const param = new URLSearchParams(window.location.search).get('paymentProcessor');
|
|
936
|
+
const isPaymentProcessor = (value) => Object.values(checkoutPaymentProcessorType).some(processor => processor === value);
|
|
937
|
+
return param && isPaymentProcessor(param) ? param : undefined;
|
|
938
|
+
};
|
|
915
939
|
export const getCheckoutSessionBody = () => {
|
|
916
940
|
var _a;
|
|
917
941
|
const total = cartStore.items.reduce((amount, item) => amount + item.amount * item.quantity, 0);
|
|
@@ -930,6 +954,7 @@ export const getCheckoutSessionBody = () => {
|
|
|
930
954
|
value: localizationStore.selectedLocale,
|
|
931
955
|
},
|
|
932
956
|
],
|
|
957
|
+
paymentProcessor: getPaymentProcessorFromUrl(),
|
|
933
958
|
presentmentCountryCode: localizationStore.selectedCountryCode,
|
|
934
959
|
skipPaymentIntent: stripeStore.skipPaymentIntent,
|
|
935
960
|
varianceTestInput,
|
|
@@ -357,9 +357,11 @@ const initLocalizationStore = async () => {
|
|
|
357
357
|
'dev.demo.elements',
|
|
358
358
|
'dev.dashboard',
|
|
359
359
|
];
|
|
360
|
+
const searchParams = new URLSearchParams(window.location.search);
|
|
360
361
|
// If the country code is not set, set it to the US for development (vercel can't get geo country in dev)
|
|
361
362
|
if (!localizationStore.selectedCountryCode &&
|
|
362
|
-
devSites.some(site => window.location.origin.includes(site))
|
|
363
|
+
(devSites.some(site => window.location.origin.includes(site)) ||
|
|
364
|
+
searchParams.get('zonosQaUrl') === 'dev-elements')) {
|
|
363
365
|
// update selected country code in store
|
|
364
366
|
localizationStoreUpdateSelectedCountryCode({
|
|
365
367
|
isInitializing: true,
|
|
@@ -287,6 +287,12 @@ export const stringsArabic = {
|
|
|
287
287
|
'I agree to the [policies]': {
|
|
288
288
|
value: 'أوافق على [policies]',
|
|
289
289
|
},
|
|
290
|
+
'If you later choose to exercise your right to withdrawal, you will be responsible for any associated return shipping costs, up to a maximum [amount].': {
|
|
291
|
+
value: 'إذا اخترت لاحقًا ممارسة حقك في الانسحاب، فستكون مسؤولاً عن أي تكاليف شحن إرجاع مرتبطة بذلك، بحد أقصى [amount].',
|
|
292
|
+
},
|
|
293
|
+
'If you later choose to exercise your right to withdrawal, you will be responsible for any associated return shipping costs.': {
|
|
294
|
+
value: 'إذا اخترت لاحقًا ممارسة حقك في الانسحاب، فستكون مسؤولاً عن أي تكاليف شحن إرجاع مرتبطة بذلك.',
|
|
295
|
+
},
|
|
290
296
|
"If you select FedEx Ground as your shipping option, you'll need to complete a General Agency Agreement (GAA) after placing your order. This form allows FedEx to clear your package through Canadian customs on your behalf. FedEx will contact you directly—usually by email or phone—with instructions on how to complete the GAA. To avoid delays or the return of your package, please respond promptly to their request.": {
|
|
291
297
|
value: 'إذا اخترت FedEx Ground كخيار الشحن الخاص بك، ستحتاج إلى إكمال اتفاقية الوكالة العامة (GAA) بعد تقديم طلبك. يتيح لك هذا النموذج السماح لـ FedEx بتخليص الطرد الخاص بك من الجمارك الكندية نيابة عنك. ستتصل بك FedEx مباشرةً - عادةً عبر البريد الإلكتروني أو الهاتف - مع تعليمات حول كيفية إكمال GAA. لتجنب التأخير أو إعادة الطرد الخاص بك، يرجى الرد بسرعة على طلبهم.',
|
|
292
298
|
},
|
|
@@ -410,6 +416,9 @@ export const stringsArabic = {
|
|
|
410
416
|
'Pay [organizationName]': {
|
|
411
417
|
value: 'ادفع [organizationName]',
|
|
412
418
|
},
|
|
419
|
+
'Pay [organizationName] duties, taxes and fees for your shipment': {
|
|
420
|
+
value: 'ادفع الرسوم الجمركية والضرائب والرسوم لـ [organizationName] لشحنتك',
|
|
421
|
+
},
|
|
413
422
|
'Pay in USD (United States Dollar)?': {
|
|
414
423
|
value: 'الدفع بالدولار الأمريكي (USD)؟',
|
|
415
424
|
},
|
|
@@ -548,6 +557,9 @@ export const stringsArabic = {
|
|
|
548
557
|
'Session timed out': {
|
|
549
558
|
value: 'انتهت الجلسة',
|
|
550
559
|
},
|
|
560
|
+
'Shipment details': {
|
|
561
|
+
value: 'تفاصيل الشحنة',
|
|
562
|
+
},
|
|
551
563
|
Shipping: {
|
|
552
564
|
value: 'الشحن',
|
|
553
565
|
},
|
|
@@ -288,6 +288,12 @@ export const stringsBase = {
|
|
|
288
288
|
'I agree to the [policies]': {
|
|
289
289
|
value: 'I agree to the [policies]',
|
|
290
290
|
},
|
|
291
|
+
'If you later choose to exercise your right to withdrawal, you will be responsible for any associated return shipping costs, up to a maximum [amount].': {
|
|
292
|
+
value: 'If you later choose to exercise your right to withdrawal, you will be responsible for any associated return shipping costs, up to a maximum [amount].',
|
|
293
|
+
},
|
|
294
|
+
'If you later choose to exercise your right to withdrawal, you will be responsible for any associated return shipping costs.': {
|
|
295
|
+
value: 'If you later choose to exercise your right to withdrawal, you will be responsible for any associated return shipping costs.',
|
|
296
|
+
},
|
|
291
297
|
"If you select FedEx Ground as your shipping option, you'll need to complete a General Agency Agreement (GAA) after placing your order. This form allows FedEx to clear your package through Canadian customs on your behalf. FedEx will contact you directly—usually by email or phone—with instructions on how to complete the GAA. To avoid delays or the return of your package, please respond promptly to their request.": {
|
|
292
298
|
value: "If you select FedEx Ground as your shipping option, you'll need to complete a General Agency Agreement (GAA) after placing your order. This form allows FedEx to clear your package through Canadian customs on your behalf. FedEx will contact you directly—usually by email or phone—with instructions on how to complete the GAA. To avoid delays or the return of your package, please respond promptly to their request.",
|
|
293
299
|
},
|
|
@@ -411,6 +417,9 @@ export const stringsBase = {
|
|
|
411
417
|
'Pay [organizationName]': {
|
|
412
418
|
value: 'Pay [organizationName]',
|
|
413
419
|
},
|
|
420
|
+
'Pay [organizationName] duties, taxes and fees for your shipment': {
|
|
421
|
+
value: 'Pay [organizationName] duties, taxes and fees for your shipment',
|
|
422
|
+
},
|
|
414
423
|
'Pay in USD (United States Dollar)?': {
|
|
415
424
|
value: 'Pay in USD (United States Dollar)?',
|
|
416
425
|
},
|
|
@@ -549,6 +558,9 @@ export const stringsBase = {
|
|
|
549
558
|
'Session timed out': {
|
|
550
559
|
value: 'Session timed out',
|
|
551
560
|
},
|
|
561
|
+
'Shipment details': {
|
|
562
|
+
value: 'Shipment details',
|
|
563
|
+
},
|
|
552
564
|
Shipping: {
|
|
553
565
|
value: 'Shipping',
|
|
554
566
|
},
|
|
@@ -287,6 +287,12 @@ export const stringsChinese = {
|
|
|
287
287
|
'I agree to the [policies]': {
|
|
288
288
|
value: '我同意[policies]',
|
|
289
289
|
},
|
|
290
|
+
'If you later choose to exercise your right to withdrawal, you will be responsible for any associated return shipping costs, up to a maximum [amount].': {
|
|
291
|
+
value: '如果您之后选择行使撤回权,您将负责相关的退货运费,最高不超过 [amount]。',
|
|
292
|
+
},
|
|
293
|
+
'If you later choose to exercise your right to withdrawal, you will be responsible for any associated return shipping costs.': {
|
|
294
|
+
value: '如果您之后选择行使撤回权,您将负责相关的退货运费。',
|
|
295
|
+
},
|
|
290
296
|
"If you select FedEx Ground as your shipping option, you'll need to complete a General Agency Agreement (GAA) after placing your order. This form allows FedEx to clear your package through Canadian customs on your behalf. FedEx will contact you directly—usually by email or phone—with instructions on how to complete the GAA. To avoid delays or the return of your package, please respond promptly to their request.": {
|
|
291
297
|
value: '如果您选择FedEx Ground作为您的运输选项,您需要在下订单后完成一般代理协议(GAA)。此表格允许FedEx代表您通过加拿大海关清关您的包裹。FedEx会直接与您联系,通常通过电子邮件或电话,提供有关如何完成GAA的说明。为避免延误或包裹退回,请及时回应他们的请求。',
|
|
292
298
|
},
|
|
@@ -410,6 +416,9 @@ export const stringsChinese = {
|
|
|
410
416
|
'Pay [organizationName]': {
|
|
411
417
|
value: '支付[organizationName]',
|
|
412
418
|
},
|
|
419
|
+
'Pay [organizationName] duties, taxes and fees for your shipment': {
|
|
420
|
+
value: '支付[organizationName]您货件的关税、税费和费用',
|
|
421
|
+
},
|
|
413
422
|
'Pay in USD (United States Dollar)?': {
|
|
414
423
|
value: '用美元(USD)支付?',
|
|
415
424
|
},
|
|
@@ -548,6 +557,9 @@ export const stringsChinese = {
|
|
|
548
557
|
'Session timed out': {
|
|
549
558
|
value: '会话超时',
|
|
550
559
|
},
|
|
560
|
+
'Shipment details': {
|
|
561
|
+
value: '货件详情',
|
|
562
|
+
},
|
|
551
563
|
Shipping: {
|
|
552
564
|
value: '运输',
|
|
553
565
|
},
|
|
@@ -287,6 +287,12 @@ export const stringsDanish = {
|
|
|
287
287
|
'I agree to the [policies]': {
|
|
288
288
|
value: 'Jeg accepterer [policies]',
|
|
289
289
|
},
|
|
290
|
+
'If you later choose to exercise your right to withdrawal, you will be responsible for any associated return shipping costs, up to a maximum [amount].': {
|
|
291
|
+
value: 'Hvis du senere vælger at gøre brug af din fortrydelsesret, er du ansvarlig for eventuelle tilknyttede returforsendelsesomkostninger, op til maksimalt [amount].',
|
|
292
|
+
},
|
|
293
|
+
'If you later choose to exercise your right to withdrawal, you will be responsible for any associated return shipping costs.': {
|
|
294
|
+
value: 'Hvis du senere vælger at gøre brug af din fortrydelsesret, er du ansvarlig for eventuelle tilknyttede returforsendelsesomkostninger.',
|
|
295
|
+
},
|
|
290
296
|
"If you select FedEx Ground as your shipping option, you'll need to complete a General Agency Agreement (GAA) after placing your order. This form allows FedEx to clear your package through Canadian customs on your behalf. FedEx will contact you directly—usually by email or phone—with instructions on how to complete the GAA. To avoid delays or the return of your package, please respond promptly to their request.": {
|
|
291
297
|
value: 'Hvis du vælger FedEx Ground som din forsendelsesmulighed, skal du udfylde en General Agency Agreement (GAA) efter at have afgivet din ordre. Denne formular giver FedEx mulighed for at fortolde din pakke gennem canadisk told på dine vegne. FedEx vil kontakte dig direkte - normalt via e-mail eller telefon - med instruktioner om, hvordan du fuldfører GAA. For at undgå forsinkelser eller returnering af din pakke, bedes du svare hurtigt på deres anmodning.',
|
|
292
298
|
},
|
|
@@ -410,6 +416,9 @@ export const stringsDanish = {
|
|
|
410
416
|
'Pay [organizationName]': {
|
|
411
417
|
value: 'Betal [organizationName]',
|
|
412
418
|
},
|
|
419
|
+
'Pay [organizationName] duties, taxes and fees for your shipment': {
|
|
420
|
+
value: 'Betal [organizationName] told, skatter og gebyrer for din forsendelse',
|
|
421
|
+
},
|
|
413
422
|
'Pay in USD (United States Dollar)?': {
|
|
414
423
|
value: 'Betal i USD (amerikanske dollar)?',
|
|
415
424
|
},
|
|
@@ -548,6 +557,9 @@ export const stringsDanish = {
|
|
|
548
557
|
'Session timed out': {
|
|
549
558
|
value: 'Sessionen udløb',
|
|
550
559
|
},
|
|
560
|
+
'Shipment details': {
|
|
561
|
+
value: 'Forsendelsesdetaljer',
|
|
562
|
+
},
|
|
551
563
|
Shipping: {
|
|
552
564
|
value: 'Levering',
|
|
553
565
|
},
|
|
@@ -287,6 +287,12 @@ export const stringsDutch = {
|
|
|
287
287
|
'I agree to the [policies]': {
|
|
288
288
|
value: 'Ik ga akkoord met [policies]',
|
|
289
289
|
},
|
|
290
|
+
'If you later choose to exercise your right to withdrawal, you will be responsible for any associated return shipping costs, up to a maximum [amount].': {
|
|
291
|
+
value: 'Als u er later voor kiest om uw herroepingsrecht uit te oefenen, bent u verantwoordelijk voor eventuele bijbehorende retourverzendkosten, tot een maximum van [amount].',
|
|
292
|
+
},
|
|
293
|
+
'If you later choose to exercise your right to withdrawal, you will be responsible for any associated return shipping costs.': {
|
|
294
|
+
value: 'Als u er later voor kiest om uw herroepingsrecht uit te oefenen, bent u verantwoordelijk voor eventuele bijbehorende retourverzendkosten.',
|
|
295
|
+
},
|
|
290
296
|
"If you select FedEx Ground as your shipping option, you'll need to complete a General Agency Agreement (GAA) after placing your order. This form allows FedEx to clear your package through Canadian customs on your behalf. FedEx will contact you directly—usually by email or phone—with instructions on how to complete the GAA. To avoid delays or the return of your package, please respond promptly to their request.": {
|
|
291
297
|
value: 'Als je FedEx Ground als verzendoptie selecteert, moet je na het plaatsen van je bestelling een General Agency Agreement (GAA) invullen. Dit formulier stelt FedEx in staat om je pakket namens jou door de Canadese douane te laten gaan. FedEx neemt rechtstreeks contact met je op - meestal via e-mail of telefoon - met instructies over hoe je de GAA kunt voltooien. Om vertragingen of de terugzending van je pakket te voorkomen, reageer snel op hun verzoek.',
|
|
292
298
|
},
|
|
@@ -410,6 +416,9 @@ export const stringsDutch = {
|
|
|
410
416
|
'Pay [organizationName]': {
|
|
411
417
|
value: 'Betaal [organizationName]',
|
|
412
418
|
},
|
|
419
|
+
'Pay [organizationName] duties, taxes and fees for your shipment': {
|
|
420
|
+
value: 'Betaal [organizationName] rechten, belastingen en kosten voor uw zending',
|
|
421
|
+
},
|
|
413
422
|
'Pay in USD (United States Dollar)?': {
|
|
414
423
|
value: 'Betalen in USD (Amerikaanse Dollar)?',
|
|
415
424
|
},
|
|
@@ -548,6 +557,9 @@ export const stringsDutch = {
|
|
|
548
557
|
'Session timed out': {
|
|
549
558
|
value: 'Sessie verlopen',
|
|
550
559
|
},
|
|
560
|
+
'Shipment details': {
|
|
561
|
+
value: 'Zendingsgegevens',
|
|
562
|
+
},
|
|
551
563
|
Shipping: {
|
|
552
564
|
value: 'Verzending',
|
|
553
565
|
},
|
|
@@ -287,6 +287,12 @@ export const stringsFrench = {
|
|
|
287
287
|
'I agree to the [policies]': {
|
|
288
288
|
value: "J'accepte [policies]",
|
|
289
289
|
},
|
|
290
|
+
'If you later choose to exercise your right to withdrawal, you will be responsible for any associated return shipping costs, up to a maximum [amount].': {
|
|
291
|
+
value: "Si vous décidez ultérieurement d'exercer votre droit de rétractation, vous serez responsable des frais de retour associés, jusqu'à un maximum de [amount].",
|
|
292
|
+
},
|
|
293
|
+
'If you later choose to exercise your right to withdrawal, you will be responsible for any associated return shipping costs.': {
|
|
294
|
+
value: "Si vous décidez ultérieurement d'exercer votre droit de rétractation, vous serez responsable des frais de retour associés.",
|
|
295
|
+
},
|
|
290
296
|
"If you select FedEx Ground as your shipping option, you'll need to complete a General Agency Agreement (GAA) after placing your order. This form allows FedEx to clear your package through Canadian customs on your behalf. FedEx will contact you directly—usually by email or phone—with instructions on how to complete the GAA. To avoid delays or the return of your package, please respond promptly to their request.": {
|
|
291
297
|
value: "Si vous choisissez FedEx Ground comme option d'expédition, vous devrez remplir un Accord d'Agence Générale (GAA) après avoir passé votre commande. Ce formulaire permet à FedEx de dédouaner votre colis à travers la douane canadienne en votre nom. FedEx vous contactera directement - généralement par e-mail ou téléphone - avec des instructions sur la façon de compléter le GAA. Pour éviter les retards ou le retour de votre colis, veuillez répondre rapidement à leur demande.",
|
|
292
298
|
},
|
|
@@ -410,6 +416,9 @@ export const stringsFrench = {
|
|
|
410
416
|
'Pay [organizationName]': {
|
|
411
417
|
value: 'Payer [organizationName]',
|
|
412
418
|
},
|
|
419
|
+
'Pay [organizationName] duties, taxes and fees for your shipment': {
|
|
420
|
+
value: 'Payer les droits, taxes et frais de [organizationName] pour votre envoi',
|
|
421
|
+
},
|
|
413
422
|
'Pay in USD (United States Dollar)?': {
|
|
414
423
|
value: 'Payer en USD (Dollar Américain) ?',
|
|
415
424
|
},
|
|
@@ -548,6 +557,9 @@ export const stringsFrench = {
|
|
|
548
557
|
'Session timed out': {
|
|
549
558
|
value: 'Session expirée',
|
|
550
559
|
},
|
|
560
|
+
'Shipment details': {
|
|
561
|
+
value: "Détails de l'envoi",
|
|
562
|
+
},
|
|
551
563
|
Shipping: {
|
|
552
564
|
value: 'Livraison',
|
|
553
565
|
},
|
|
@@ -287,6 +287,12 @@ export const stringsGerman = {
|
|
|
287
287
|
'I agree to the [policies]': {
|
|
288
288
|
value: 'Ich stimme [policies] zu',
|
|
289
289
|
},
|
|
290
|
+
'If you later choose to exercise your right to withdrawal, you will be responsible for any associated return shipping costs, up to a maximum [amount].': {
|
|
291
|
+
value: 'Wenn Sie sich später dazu entscheiden, Ihr Widerrufsrecht auszuüben, tragen Sie die damit verbundenen Rücksendekosten bis zu einem Höchstbetrag von [amount].',
|
|
292
|
+
},
|
|
293
|
+
'If you later choose to exercise your right to withdrawal, you will be responsible for any associated return shipping costs.': {
|
|
294
|
+
value: 'Wenn Sie sich später dazu entscheiden, Ihr Widerrufsrecht auszuüben, tragen Sie die damit verbundenen Rücksendekosten.',
|
|
295
|
+
},
|
|
290
296
|
"If you select FedEx Ground as your shipping option, you'll need to complete a General Agency Agreement (GAA) after placing your order. This form allows FedEx to clear your package through Canadian customs on your behalf. FedEx will contact you directly—usually by email or phone—with instructions on how to complete the GAA. To avoid delays or the return of your package, please respond promptly to their request.": {
|
|
291
297
|
value: 'Wenn Sie FedEx Ground als Ihre Versandoption auswählen, müssen Sie nach der Bestellung eine General Agency Agreement (GAA) ausfüllen. Dieses Formular ermöglicht es FedEx, Ihr Paket in Ihrem Namen durch den kanadischen Zoll zu bringen. FedEx wird Sie direkt kontaktieren – normalerweise per E-Mail oder Telefon – mit Anweisungen, wie Sie das GAA ausfüllen können. Um Verzögerungen oder die Rücksendung Ihres Pakets zu vermeiden, antworten Sie bitte umgehend auf deren Anfrage.',
|
|
292
298
|
},
|
|
@@ -410,6 +416,9 @@ export const stringsGerman = {
|
|
|
410
416
|
'Pay [organizationName]': {
|
|
411
417
|
value: 'Zahlen [organizationName]',
|
|
412
418
|
},
|
|
419
|
+
'Pay [organizationName] duties, taxes and fees for your shipment': {
|
|
420
|
+
value: 'Zahlen Sie [organizationName] Zölle, Steuern und Gebühren für Ihre Sendung',
|
|
421
|
+
},
|
|
413
422
|
'Pay in USD (United States Dollar)?': {
|
|
414
423
|
value: 'In USD (US-Dollar) bezahlen?',
|
|
415
424
|
},
|
|
@@ -548,6 +557,9 @@ export const stringsGerman = {
|
|
|
548
557
|
'Session timed out': {
|
|
549
558
|
value: 'Sitzung abgelaufen',
|
|
550
559
|
},
|
|
560
|
+
'Shipment details': {
|
|
561
|
+
value: 'Sendungsdetails',
|
|
562
|
+
},
|
|
551
563
|
Shipping: {
|
|
552
564
|
value: 'Versand',
|
|
553
565
|
},
|
|
@@ -287,6 +287,12 @@ export const stringsHebrew = {
|
|
|
287
287
|
'I agree to the [policies]': {
|
|
288
288
|
value: 'אני מסכים ל[policies]',
|
|
289
289
|
},
|
|
290
|
+
'If you later choose to exercise your right to withdrawal, you will be responsible for any associated return shipping costs, up to a maximum [amount].': {
|
|
291
|
+
value: 'אם תבחר בהמשך לממש את זכות הביטול שלך, תישא בכל עלויות משלוח ההחזרה הנלוות, עד למקסימום של [amount].',
|
|
292
|
+
},
|
|
293
|
+
'If you later choose to exercise your right to withdrawal, you will be responsible for any associated return shipping costs.': {
|
|
294
|
+
value: 'אם תבחר בהמשך לממש את זכות הביטול שלך, תישא בכל עלויות משלוח ההחזרה הנלוות.',
|
|
295
|
+
},
|
|
290
296
|
"If you select FedEx Ground as your shipping option, you'll need to complete a General Agency Agreement (GAA) after placing your order. This form allows FedEx to clear your package through Canadian customs on your behalf. FedEx will contact you directly—usually by email or phone—with instructions on how to complete the GAA. To avoid delays or the return of your package, please respond promptly to their request.": {
|
|
291
297
|
value: 'אם תבחר ב-FedEx Ground כאפשרות המשלוח שלך, תצטרך להשלים הסכם סוכנות כללית (GAA) לאחר ביצוע ההזמנה שלך. טופס זה מאפשר ל-FedEx לשחרר את החבילה שלך דרך המכס הקנדי בשמך. FedEx תיצור איתך קשר ישיר - בדרך כלל באמצעות דואר אלקטרוני או טלפון - עם הוראות כיצד להשלים את ה-GAA. כדי למנוע עיכובים או החזרת החבילה שלך, אנא השב במהירות לבקשתם.',
|
|
292
298
|
},
|
|
@@ -410,6 +416,9 @@ export const stringsHebrew = {
|
|
|
410
416
|
'Pay [organizationName]': {
|
|
411
417
|
value: 'שלם [organizationName]',
|
|
412
418
|
},
|
|
419
|
+
'Pay [organizationName] duties, taxes and fees for your shipment': {
|
|
420
|
+
value: 'שלם ל-[organizationName] מכסים, מסים ואגרות עבור המשלוח שלך',
|
|
421
|
+
},
|
|
413
422
|
'Pay in USD (United States Dollar)?': {
|
|
414
423
|
value: 'לשלם ב-USD (דולר אמריקאי)?',
|
|
415
424
|
},
|
|
@@ -548,6 +557,9 @@ export const stringsHebrew = {
|
|
|
548
557
|
'Session timed out': {
|
|
549
558
|
value: 'הזמן של המושב פג',
|
|
550
559
|
},
|
|
560
|
+
'Shipment details': {
|
|
561
|
+
value: 'פרטי המשלוח',
|
|
562
|
+
},
|
|
551
563
|
Shipping: {
|
|
552
564
|
value: 'משלוח',
|
|
553
565
|
},
|
|
@@ -287,6 +287,12 @@ export const stringsIndonesian = {
|
|
|
287
287
|
'I agree to the [policies]': {
|
|
288
288
|
value: 'Saya menyetujui [policies]',
|
|
289
289
|
},
|
|
290
|
+
'If you later choose to exercise your right to withdrawal, you will be responsible for any associated return shipping costs, up to a maximum [amount].': {
|
|
291
|
+
value: 'Jika nanti Anda memilih untuk menggunakan hak pembatalan, Anda akan bertanggung jawab atas biaya pengiriman pengembalian terkait, hingga maksimum [amount].',
|
|
292
|
+
},
|
|
293
|
+
'If you later choose to exercise your right to withdrawal, you will be responsible for any associated return shipping costs.': {
|
|
294
|
+
value: 'Jika nanti Anda memilih untuk menggunakan hak pembatalan, Anda akan bertanggung jawab atas biaya pengiriman pengembalian terkait.',
|
|
295
|
+
},
|
|
290
296
|
"If you select FedEx Ground as your shipping option, you'll need to complete a General Agency Agreement (GAA) after placing your order. This form allows FedEx to clear your package through Canadian customs on your behalf. FedEx will contact you directly—usually by email or phone—with instructions on how to complete the GAA. To avoid delays or the return of your package, please respond promptly to their request.": {
|
|
291
297
|
value: 'Jika Anda memilih FedEx Ground sebagai opsi pengiriman Anda, Anda perlu menyelesaikan Perjanjian Agen Umum (GAA) setelah melakukan pemesanan. Formulir ini memungkinkan FedEx untuk mengurus bea cukai paket Anda melalui bea cukai Kanada atas nama Anda. FedEx akan menghubungi Anda secara langsung - biasanya melalui email atau telepon - dengan instruksi tentang cara menyelesaikan GAA. Untuk menghindari penundaan atau pengembalian paket Anda, harap segera menanggapi permintaan mereka.',
|
|
292
298
|
},
|
|
@@ -410,6 +416,9 @@ export const stringsIndonesian = {
|
|
|
410
416
|
'Pay [organizationName]': {
|
|
411
417
|
value: 'Bayar [organizationName]',
|
|
412
418
|
},
|
|
419
|
+
'Pay [organizationName] duties, taxes and fees for your shipment': {
|
|
420
|
+
value: 'Bayar bea, pajak, dan biaya [organizationName] untuk kiriman Anda',
|
|
421
|
+
},
|
|
413
422
|
'Pay in USD (United States Dollar)?': {
|
|
414
423
|
value: 'Bayar dalam USD (Dolar Amerika Serikat)?',
|
|
415
424
|
},
|
|
@@ -548,6 +557,9 @@ export const stringsIndonesian = {
|
|
|
548
557
|
'Session timed out': {
|
|
549
558
|
value: 'Sesi telah habis waktu',
|
|
550
559
|
},
|
|
560
|
+
'Shipment details': {
|
|
561
|
+
value: 'Detail pengiriman',
|
|
562
|
+
},
|
|
551
563
|
Shipping: {
|
|
552
564
|
value: 'Pengiriman',
|
|
553
565
|
},
|