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.
@@ -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: '889ee4307f38fbed3dd973d68d4e71979519b971', 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 }));
1022
- return (i18n_service.state.isInitialized && (index$1.h(index$1.h.Fragment, null, this.showRefreshModal && index$1.h("rebill-modal-overlay", { key: 'ab3333710743b424ad676702aba95f4c2ea83f92' }), this.displayConfig.processingPayment && (index$1.h("rebill-processing-payment", { key: '30e84979156a983056fe59ed1d684dafc0adc1d9', style: { display: this.isCardSubmitting ? 'block' : 'none' } })), this.displayConfig.successPage &&
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 ||