rebill-web-components-sdk 1.8.24 → 1.8.25
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/index-C-VTnc0I.js.map +1 -1
- package/dist/cjs/rebill-checkout.cjs.entry.js +5 -2
- package/dist/cjs/rebill-checkout.entry.cjs.js.map +1 -1
- package/dist/collection/components/checkout/rebill-checkout.js +5 -2
- package/dist/collection/components/checkout/rebill-checkout.js.map +1 -1
- package/dist/components/p-8BpuJ_V5.js.map +1 -1
- package/dist/components/rebill-checkout.js +5 -2
- package/dist/components/rebill-checkout.js.map +1 -1
- package/dist/esm/index-D8cwEAmw.js.map +1 -1
- package/dist/esm/rebill-checkout.entry.js +5 -2
- package/dist/esm/rebill-checkout.entry.js.map +1 -1
- package/dist/rebill-web-components-sdk/p-6e24b8d9.entry.js +2 -0
- package/dist/rebill-web-components-sdk/p-6e24b8d9.entry.js.map +1 -0
- package/dist/rebill-web-components-sdk/p-D8cwEAmw.js.map +1 -1
- package/dist/rebill-web-components-sdk/rebill-checkout.entry.esm.js.map +1 -1
- package/dist/rebill-web-components-sdk/rebill-web-components-sdk.esm.js +1 -1
- package/package.json +1 -1
- package/dist/rebill-web-components-sdk/p-9afddef2.entry.js +0 -2
- package/dist/rebill-web-components-sdk/p-9afddef2.entry.js.map +0 -1
|
@@ -453,6 +453,9 @@ const RebillCheckout = class {
|
|
|
453
453
|
googleMaps_service.GoogleMapsService.loadGoogleMapsScript();
|
|
454
454
|
const response = await index.api.data.getCountries();
|
|
455
455
|
this.countries = response.data;
|
|
456
|
+
if (this.parsedCustomerInformation) {
|
|
457
|
+
i18n_service.SessionStore.setUserInformation(this.parsedCustomerInformation);
|
|
458
|
+
}
|
|
456
459
|
this.initialData = this.getInitialData();
|
|
457
460
|
this.allRequiredFields = await getAllRequiredFields();
|
|
458
461
|
if (this.filteredPaymentMethods.length > 0) {
|
|
@@ -1018,8 +1021,8 @@ const RebillCheckout = class {
|
|
|
1018
1021
|
label: country.country,
|
|
1019
1022
|
value: country.isoCountryCode,
|
|
1020
1023
|
}));
|
|
1021
|
-
const renderRebillSummary = (props = {}) => (index$1.h("rebill-summary", { key: '
|
|
1022
|
-
return (i18n_service.state.isInitialized && (index$1.h(index$1.h.Fragment, null, this.showRefreshModal && index$1.h("rebill-modal-overlay", { key: '
|
|
1024
|
+
const renderRebillSummary = (props = {}) => (index$1.h("rebill-summary", { key: '16fdd9759135895d7c3a64441715df1a53d1d44f', totalAmount: i18n_service.state.data.pricing.total, currency: i18n_service.state.data.pricing.currency, itemTitle: i18n_service.state._session?.getTitle(), itemDescription: i18n_service.state._session?.getDescription(), itemAmount: i18n_service.state.data.pricing.subtotal, subtotal: i18n_service.state.data.pricing.subtotal, allowCoupon: i18n_service.state._session?.getAllowCoupon(this.displayConfig), currentBreakpoint: this.breakpoint, planFrequency: i18n_service.state._session?.getPlanFrequency(), planFrequencyCount: i18n_service.state._session?.getPlanFrequencyCount(), discountType: i18n_service.state.data.discount.discountType, discountedPercentage: i18n_service.state.data.discount.discountedPercentage, discountDuration: i18n_service.state.data.discount.discountDuration, discountAmount: i18n_service.state.data.discount.discountAmount, ...props }));
|
|
1025
|
+
return (i18n_service.state.isInitialized && (index$1.h(index$1.h.Fragment, null, this.showRefreshModal && index$1.h("rebill-modal-overlay", { key: 'a015528effd8f661aac44f6bc692da7dc25693a0' }), this.displayConfig.processingPayment && (index$1.h("rebill-processing-payment", { key: '4213db86bc17a1e06972b8dce1b5c63da815ab30', style: { display: this.isCardSubmitting ? 'block' : 'none' } })), this.displayConfig.successPage &&
|
|
1023
1026
|
this.isPaymentApproved() &&
|
|
1024
1027
|
i18n_service.state.isInitialized ? (index$1.h("success-page", { typePaymentMethod: i18n_service.state.data.paymentMethodSelected, paymentMethodName: googleMaps_service.PaymentMethodMapper.mapToAPMPaymentMethod(i18n_service.state.data.paymentMethodSelected ||
|
|
1025
1028
|
i18n_service.state.data.payment?.paymentMethodType, i18n_service.state.data?.pricing?.country), country: i18n_service.state.data?.pricing?.country, bank: i18n_service.state.data.payment?.paymentMethodMetadata?.bank ||
|