@solvimon/solvimon-web 0.1.0-alpha.23 → 0.1.0-alpha.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/README.md +41 -0
- package/dist/{AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-jXClPW91.js → AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-BM1_31Tl.js} +1 -1
- package/dist/{AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-B70SyWOB.mjs → AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-Dh_a0NRB.mjs} +6 -6
- package/dist/{Avatar.vue.es-2E3laNRb.mjs → Avatar.vue.es-C9Jkfuvp.mjs} +1 -1
- package/dist/{Avatar.vue.es-DdJreyr_.js → Avatar.vue.es-CvxRdCes.js} +1 -1
- package/dist/{BillingInformation.vue_vue_type_script_setup_true_lang-ConpyC8n.js → BillingInformation.vue_vue_type_script_setup_true_lang-7wQAw6Lv.js} +1 -1
- package/dist/{BillingInformation.vue_vue_type_script_setup_true_lang-D5EoBLhj.mjs → BillingInformation.vue_vue_type_script_setup_true_lang-BRSUpMPU.mjs} +4 -4
- package/dist/{Button.vue.es-BJEy-e9C.mjs → Button.vue.es-BbSN0uOk.mjs} +1 -1
- package/dist/{Button.vue.es-CJNxYacb.js → Button.vue.es-CeUTAc2n.js} +1 -1
- package/dist/Checkout.entry.ce-BMzK8nQg.mjs +3900 -0
- package/dist/Checkout.entry.ce-DgA0ckyl.js +2 -0
- package/dist/{Chip.vue.es-DLQ4QEPo.js → Chip.vue.es-BN83K3Tk.js} +1 -1
- package/dist/{Chip.vue.es-DGbc4L_D.mjs → Chip.vue.es-T22Q7AF9.mjs} +2 -2
- package/dist/ContentWithAsideLayout-BCM8tmZN.mjs +38 -0
- package/dist/ContentWithAsideLayout-RSdKXqAf.js +1 -0
- package/dist/{ContextMenu.vue.es-DL1M7pcr.mjs → ContextMenu.vue.es-0PRmCAzL.mjs} +4 -4
- package/dist/{ContextMenu.vue.es-Bd2kmeVq.js → ContextMenu.vue.es-DXKR7WFg.js} +1 -1
- package/dist/{CustomerBillingInformation.vue.es-CE94ASC3.mjs → CustomerBillingInformation.vue.es-C2j40TYP.mjs} +2 -2
- package/dist/{CustomerBillingInformation.vue.es-hiFzB43w.js → CustomerBillingInformation.vue.es-yrLGc7oL.js} +1 -1
- package/dist/{CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-Bhih7rPR.mjs → CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-BZwGWhaL.mjs} +5 -5
- package/dist/{CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-BE21tqgW.js → CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-C8diNL5x.js} +1 -1
- package/dist/{CustomerWalletBalances.vue_vue_type_script_setup_true_lang-D018AmFA.js → CustomerWalletBalances.vue_vue_type_script_setup_true_lang-DzbPUvHN.js} +1 -1
- package/dist/{CustomerWalletBalances.vue_vue_type_script_setup_true_lang-C5zc9n64.mjs → CustomerWalletBalances.vue_vue_type_script_setup_true_lang-xqMsbuU6.mjs} +14 -14
- package/dist/{DividerText.vue.es-CFZUQ62L.mjs → DividerText.vue.es-CV1XK_Vz.mjs} +1 -1
- package/dist/{DividerText.vue.es-CvCgHHXN.js → DividerText.vue.es-DsYRZzuE.js} +1 -1
- package/dist/{EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-YcaBJDzx.mjs → EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-kpjrC-4q.mjs} +4 -4
- package/dist/{EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-jTJGN4jb.js → EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-srXOpUb0.js} +1 -1
- package/dist/{ErrorNotification.vue.es-B3mvv79S.mjs → ErrorNotification.vue.es-CiUJva6S.mjs} +1 -1
- package/dist/{ErrorNotification.vue.es-DI2B7WiR.js → ErrorNotification.vue.es-QfRoDhkn.js} +1 -1
- package/dist/{IconButton.vue.es-GLcGhoHC.mjs → IconButton.vue.es-ChvsCZQG.mjs} +2 -2
- package/dist/{IconButton.vue.es-Dp8h4YOx.js → IconButton.vue.es-CytBZUkZ.js} +1 -1
- package/dist/{IconTitle.vue.es-CzuPQtOX.mjs → IconTitle.vue.es-DPruIJ6l.mjs} +3 -3
- package/dist/{IconTitle.vue.es-DN9r6nfK.js → IconTitle.vue.es-DtnpBObk.js} +1 -1
- package/dist/{Input.vue.es-DM81HeVv.js → Input.vue.es-BkzQDkrz.js} +1 -1
- package/dist/{Input.vue.es-5Cq8a7oH.mjs → Input.vue.es-DJQqJrsb.mjs} +2 -2
- package/dist/{InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-D75LSIL8.mjs → InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-BC-zyUqe.mjs} +2 -2
- package/dist/{InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-w8w52LcV.js → InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-Do0dDtkA.js} +1 -1
- package/dist/{InvoiceEntryView.vue_vue_type_script_setup_true_lang-dRLsZPNh.mjs → InvoiceEntryView.vue_vue_type_script_setup_true_lang-CFhhhwId.mjs} +2 -2
- package/dist/{InvoiceEntryView.vue_vue_type_script_setup_true_lang-DB5h39LA.js → InvoiceEntryView.vue_vue_type_script_setup_true_lang-DQFS7SfE.js} +1 -1
- package/dist/{InvoiceSummary.vue.es-DbtqsTuP.mjs → InvoiceSummary.vue.es-6qpbyymg.mjs} +7 -7
- package/dist/{InvoiceSummary.vue.es-Qy99kLZs.js → InvoiceSummary.vue.es-v1TkOUhA.js} +1 -1
- package/dist/{Modal.vue.es-Z2DWAN2u.mjs → Modal.vue.es-BuRlbyZw.mjs} +5 -5
- package/dist/{Modal.vue.es-DgLl6XBV.js → Modal.vue.es-JpE0eh_Q.js} +1 -1
- package/dist/{PaymentErrorCard.vue_vue_type_script_setup_true_lang-DYuFPIqs.mjs → PaymentErrorCard.vue_vue_type_script_setup_true_lang-UmKgVvdj.mjs} +4 -4
- package/dist/{PaymentErrorCard.vue_vue_type_script_setup_true_lang-DBm51C7c.js → PaymentErrorCard.vue_vue_type_script_setup_true_lang-nAuhIopc.js} +1 -1
- package/dist/{PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-CcdhYTB1.mjs → PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-DggCusgC.mjs} +3 -3
- package/dist/{PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-BNZ9-GW1.js → PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-YpcWHm24.js} +1 -1
- package/dist/{PaymentHistoryBlock-CjP_514k.mjs → PaymentHistoryBlock-DnmParhQ.mjs} +1 -1
- package/dist/{PaymentHistoryBlock-DS1j-8m-.js → PaymentHistoryBlock-uWuWjr8I.js} +1 -1
- package/dist/{PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-CSTfMB8U.js → PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-BS8N4yt9.js} +1 -1
- package/dist/{PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-Dr2jtJhK.mjs → PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-BziIf86i.mjs} +4 -4
- package/dist/{PaymentIntegrationForm-CpOZUf-W.mjs → PaymentIntegrationForm-DL55i0HD.mjs} +1 -1
- package/dist/{PaymentIntegrationForm-80b19Lkq.js → PaymentIntegrationForm-DTXm56QQ.js} +1 -1
- package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-4RmdLbzY.js +1 -0
- package/dist/{PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-BgztoQH5.mjs → PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-CvpFnl9V.mjs} +43 -40
- package/dist/PaymentIntegrationFormAdyen-C9KoiqMh.js +98 -0
- package/dist/{PaymentIntegrationFormAdyen-BQcgDcik.mjs → PaymentIntegrationFormAdyen-Cqsy82To.mjs} +313 -207
- package/dist/{PaymentIntegrationFormStripe-Dx1H3fZ2.mjs → PaymentIntegrationFormStripe-DIU1rnwH.mjs} +22 -21
- package/dist/{PaymentIntegrationFormStripe-CMwLqOe6.js → PaymentIntegrationFormStripe-DTLgGutU.js} +2 -2
- package/dist/{PaymentMethod.vue.es-pLCCzVxN.js → PaymentMethod.vue.es-ZWda5GqF.js} +1 -1
- package/dist/{PaymentMethod.vue.es-EhRCfeax.mjs → PaymentMethod.vue.es-m1NasGqw.mjs} +3 -3
- package/dist/{PaymentMethodForm-Bw2e1tXo.js → PaymentMethodForm-BEVdWCrH.js} +1 -1
- package/dist/{PaymentMethodForm-D3OY8zK5.mjs → PaymentMethodForm-BYzt1PVP.mjs} +1 -1
- package/dist/{PaymentMethodForm.vue_vue_type_script_setup_true_lang-DHXw6qD0.js → PaymentMethodForm.vue_vue_type_script_setup_true_lang-CzUwtVEI.js} +1 -1
- package/dist/{PaymentMethodForm.vue_vue_type_script_setup_true_lang-vGprVPpn.mjs → PaymentMethodForm.vue_vue_type_script_setup_true_lang-fdRTp7sc.mjs} +6 -6
- package/dist/{PaymentMethodsList.vue_vue_type_script_setup_true_lang-D7b0HhDc.mjs → PaymentMethodsList.vue_vue_type_script_setup_true_lang-FChyZp2v.mjs} +6 -6
- package/dist/{PaymentMethodsList.vue_vue_type_script_setup_true_lang-CdT1YyeU.js → PaymentMethodsList.vue_vue_type_script_setup_true_lang-FhMBZqtI.js} +1 -1
- package/dist/{PlanCustomizationEditor-RC8kj2rC.js → PlanCustomizationEditor-CunwwXTw.js} +1 -1
- package/dist/{PlanCustomizationEditor-BQqkgmzL.mjs → PlanCustomizationEditor-NLVkEYFF.mjs} +9 -9
- package/dist/{PricingGroupRangeInput.vue.es-DNsiUZyT.mjs → PricingGroupRangeInput.vue.es-B4ZbKxUw.mjs} +4 -4
- package/dist/{PricingGroupRangeInput.vue.es-ClkE98ML.js → PricingGroupRangeInput.vue.es-Ba3v0J_R.js} +1 -1
- package/dist/{PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-CURXAgMT.mjs → PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-Dvuj-fos.mjs} +5 -5
- package/dist/{PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-BJfQLRcS.js → PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-iE4dLawA.js} +1 -1
- package/dist/{RadioGroupExtended.vue.es-Dk9xdj76.js → RadioGroupExtended.vue.es-CHrcqSRq.js} +1 -1
- package/dist/{RadioGroupExtended.vue.es-vUqn2ZUP.mjs → RadioGroupExtended.vue.es-CkhBp9kI.mjs} +2 -2
- package/dist/{Section.vue.es-Cybk1Nb8.js → Section.vue.es-CSrVPlUK.js} +1 -1
- package/dist/{Section.vue.es-C2_topx4.mjs → Section.vue.es-D5svcVS_.mjs} +1 -1
- package/dist/{SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-C9q_qwjt.mjs → SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-BM9Y4Cy3.mjs} +6 -6
- package/dist/{SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-DIgVzXLg.js → SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-BqOSBdFQ.js} +1 -1
- package/dist/{SubscriptionSchedules-CNTg_oRy.js → SubscriptionSchedules-CMVoB2bw.js} +1 -1
- package/dist/{SubscriptionSchedules-BlCU_xc5.mjs → SubscriptionSchedules-yDcsD1hd.mjs} +1 -1
- package/dist/{SubscriptionSchedules.vue_vue_type_script_setup_true_lang-6LbR_Vni.js → SubscriptionSchedules.vue_vue_type_script_setup_true_lang-DH7IZrNT.js} +1 -1
- package/dist/{SubscriptionSchedules.vue_vue_type_script_setup_true_lang-Cf3Dy8Yn.mjs → SubscriptionSchedules.vue_vue_type_script_setup_true_lang-DZHsQImd.mjs} +11 -11
- package/dist/{SubscriptionSummary.vue_vue_type_script_setup_true_lang-BijBAdqp.js → SubscriptionSummary.vue_vue_type_script_setup_true_lang-BgXZMihr.js} +1 -1
- package/dist/{SubscriptionSummary.vue_vue_type_script_setup_true_lang-CjzjchsS.mjs → SubscriptionSummary.vue_vue_type_script_setup_true_lang-BmNl5u8R.mjs} +2 -2
- package/dist/{SubscriptionsList.vue_vue_type_script_setup_true_lang-CxdrAanb.mjs → SubscriptionsList.vue_vue_type_script_setup_true_lang-BUzdZHah.mjs} +6 -6
- package/dist/{SubscriptionsList.vue_vue_type_script_setup_true_lang-Dz4s3CH_.js → SubscriptionsList.vue_vue_type_script_setup_true_lang-DOJ0t_fo.js} +1 -1
- package/dist/{TooltipParagraph.vue.es-Fu9Od3Vr.mjs → TooltipParagraph.vue.es-CxdL8-B7.mjs} +1 -1
- package/dist/{TooltipParagraph.vue.es-OX6bAWP9.js → TooltipParagraph.vue.es-DS_69pl1.js} +1 -1
- package/dist/{TrialChip.vue.es-CbjdkR4i.js → TrialChip.vue.es-BCc8q5j0.js} +1 -1
- package/dist/{TrialChip.vue.es-c7tZOIW3.mjs → TrialChip.vue.es-BK7m7e7q.mjs} +2 -2
- package/dist/{cn.es-lC4_Xd0R.js → cn.es-71nFUose.js} +1 -1
- package/dist/{cn.es-C8Ogac5T.mjs → cn.es-ZXNzpauQ.mjs} +2 -2
- package/dist/components/BillingInformation/BillingInformation.cjs +1 -1
- package/dist/components/BillingInformation/BillingInformation.mjs +4 -4
- package/dist/components/BillingInformationForm/BillingInformationForm.cjs +1 -1
- package/dist/components/BillingInformationForm/BillingInformationForm.mjs +6 -6
- package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.cjs +1 -1
- package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.mjs +4 -4
- package/dist/components/Invoice/Invoice.cjs +1 -1
- package/dist/components/Invoice/Invoice.mjs +9 -9
- package/dist/components/InvoiceDetails/InvoiceDetails.cjs +1 -1
- package/dist/components/InvoiceDetails/InvoiceDetails.mjs +3 -3
- package/dist/components/InvoiceHeader/InvoiceHeader.cjs +1 -1
- package/dist/components/InvoiceHeader/InvoiceHeader.mjs +2 -2
- package/dist/components/InvoicesList/InvoicesList.cjs +1 -1
- package/dist/components/InvoicesList/InvoicesList.mjs +3 -3
- package/dist/components/PaymentHistory/PaymentHistory.cjs +1 -1
- package/dist/components/PaymentHistory/PaymentHistory.mjs +3 -3
- package/dist/components/PaymentMethodForm/PaymentMethodForm.cjs +1 -1
- package/dist/components/PaymentMethodForm/PaymentMethodForm.mjs +5 -5
- package/dist/components/SubscriptionSchedules/SubscriptionSchedules.cjs +1 -1
- package/dist/components/SubscriptionSchedules/SubscriptionSchedules.mjs +4 -4
- package/dist/components/SubscriptionsList/SubscriptionsList.cjs +1 -1
- package/dist/components/SubscriptionsList/SubscriptionsList.mjs +5 -5
- package/dist/components/WalletBalances/WalletBalances.cjs +1 -1
- package/dist/components/WalletBalances/WalletBalances.mjs +3 -3
- package/dist/{customElements-BYIdPSzQ.js → customElements-hH6pju3X.js} +14 -14
- package/dist/{customElements-Df6dGrN-.mjs → customElements-q_i9y0Ph.mjs} +637 -601
- package/dist/{customer-DmsKYpVi.mjs → customer-BDoOIAFr.mjs} +1 -1
- package/dist/{customer-DoLHZuMG.js → customer-C9q6ti8s.js} +1 -1
- package/dist/{de-DE-Bgm9bnmp.mjs → de-DE-B_ik9VNt.mjs} +8 -2
- package/dist/{de-DE-CAL9Mji2.js → de-DE-npBTLtKL.js} +1 -1
- package/dist/{en-US-E86eRIxh.mjs → en-US-DkCltadt.mjs} +6 -0
- package/dist/{en-US-_xe5H4TQ.js → en-US-kGduGoka.js} +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.mjs +1 -1
- package/dist/{invoices-mw87cNTS.js → invoices-CHp75zZI.js} +1 -1
- package/dist/{invoices-CrO6p4Ms.mjs → invoices-DIzkXntV.mjs} +1 -1
- package/dist/{it-IT-QFQ1Ajbb.js → it-IT-BayNIAy7.js} +1 -1
- package/dist/{it-IT-co1BfV5s.mjs → it-IT-CHj2McbF.mjs} +6 -0
- package/dist/{nl-NL-CJXJC1bx.js → nl-NL-0rV4nFLw.js} +1 -1
- package/dist/{nl-NL-Drv2E66B.mjs → nl-NL-Cdvd_XMN.mjs} +6 -0
- package/dist/{paymentMethods-CQdhZwq4.js → paymentMethods-CZGP6_4W.js} +1 -1
- package/dist/{paymentMethods-BNQbW_f1.mjs → paymentMethods-DEKp_4QM.mjs} +1 -1
- package/dist/{payments-VS_N2xpJ.mjs → payments-C0-Hq2a4.mjs} +1 -1
- package/dist/{payments-KTjVHqOa.js → payments-DBvregE8.js} +1 -1
- package/dist/screens/Checkout/Checkout.cjs +1 -1
- package/dist/screens/Checkout/Checkout.mjs +2 -2
- package/dist/screens/CustomerOverview/CustomerOverview.cjs +1 -1
- package/dist/screens/CustomerOverview/CustomerOverview.mjs +11 -11
- package/dist/screens/PayInvoice/PayInvoice.cjs +1 -1
- package/dist/screens/PayInvoice/PayInvoice.mjs +131 -127
- package/dist/screens/PaymentMethodsManagement/PaymentMethodsManagement.cjs +1 -1
- package/dist/screens/PaymentMethodsManagement/PaymentMethodsManagement.mjs +10 -10
- package/dist/screens/SubscriptionDetails/SubscriptionDetails.cjs +1 -1
- package/dist/screens/SubscriptionDetails/SubscriptionDetails.mjs +19 -19
- package/dist/screens/SubscriptionManagement/SubscriptionManagement.cjs +1 -1
- package/dist/screens/SubscriptionManagement/SubscriptionManagement.mjs +19 -19
- package/dist/{subscriptions-U4xg2CO1.mjs → subscriptions--9MaTXMb.mjs} +1 -1
- package/dist/{subscriptions-Dugd-oZ1.js → subscriptions-BArXBCFr.js} +1 -1
- package/dist/types/components/payments/PaymentIntegrationForm/PaymentIntegrationForm.types.d.ts +8 -0
- package/dist/types/components/providers/LoggerProvider/LoggerProvider.types.d.ts +4 -2
- package/dist/types/services/portals.types.d.ts +2 -0
- package/dist/types/services/requests.types.d.ts +2 -0
- package/dist/{url-DwiuKYpu.mjs → url-TNRgVI8A.mjs} +3 -2
- package/dist/url-vloPOiXd.js +1 -0
- package/dist/{useActionDispatchProvider-DyQbRCxR.mjs → useActionDispatchProvider-BdciAX8T.mjs} +1 -1
- package/dist/{useActionDispatchProvider-CTyDGRX8.js → useActionDispatchProvider-CKzeqXzY.js} +1 -1
- package/dist/{useCustomer-dcmU1539.mjs → useCustomer-D8ixhuuj.mjs} +1 -1
- package/dist/{useCustomer-BXI5Vmit.js → useCustomer-DSYr0F58.js} +1 -1
- package/dist/{useCustomerFormLabels-Ct6vD_b8.js → useCustomerFormLabels-CRumh405.js} +1 -1
- package/dist/{useCustomerFormLabels-BC1WfqWo.mjs → useCustomerFormLabels-htMZ0xqB.mjs} +5 -5
- package/dist/{useExperimentalFeature-9-p9_nP6.js → useExperimentalFeature-D29-TO3R.js} +1 -1
- package/dist/{useExperimentalFeature-4Y-ppDr7.mjs → useExperimentalFeature-JK_kAUQQ.mjs} +1 -1
- package/dist/{useInvoiceData-B2Z9aD2w.mjs → useInvoiceData-Bpbog3zW.mjs} +2 -2
- package/dist/{useInvoiceData-CGvtl7Ai.js → useInvoiceData-DhrItfv7.js} +1 -1
- package/dist/{useInvoicesList-DJPznhig.mjs → useInvoicesList-BGwcJn4I.mjs} +7 -7
- package/dist/{useInvoicesList-Ba0GO8p-.js → useInvoicesList-duu_b5GW.js} +1 -1
- package/dist/{useLoadInitialData-CWyI3_RR.mjs → useLoadInitialData-BDmmpcfb.mjs} +1 -1
- package/dist/{useLoadInitialData-BO9ZsSsF.js → useLoadInitialData-U2WvBmXT.js} +1 -1
- package/dist/{usePaymentMethodAvailability-bkmDrPXY.js → usePaymentMethodAvailability-DwtT5Czz.js} +1 -1
- package/dist/{usePaymentMethodAvailability-DqIvkjLF.mjs → usePaymentMethodAvailability-adqRujTA.mjs} +4 -4
- package/dist/{usePaymentMethodOptions-BPBVGNDg.js → usePaymentMethodOptions-CXdFKFqZ.js} +1 -1
- package/dist/{usePaymentMethodOptions-MSEp39xQ.mjs → usePaymentMethodOptions-DlZtTQNQ.mjs} +1 -1
- package/dist/{usePaymentMethods-U7gnZ0F5.mjs → usePaymentMethods-BnmSo_rr.mjs} +1 -1
- package/dist/{usePaymentMethods-BAOtOJZD.js → usePaymentMethods-DZ1a0mnr.js} +1 -1
- package/dist/{usePayments-G-HpKpK8.js → usePayments-DL4agK2i.js} +1 -1
- package/dist/{usePayments-Dq2V6bTV.mjs → usePayments-s-Z1di8d.mjs} +6 -6
- package/dist/{usePortal-CMHV-ShD.mjs → usePortal-C4rR5Rhu.mjs} +1 -1
- package/dist/{usePortal-BplmMkBG.js → usePortal-Hm7wvtgQ.js} +1 -1
- package/dist/{useSubscription-CvB8ROBt.js → useSubscription-DMAEJves.js} +1 -1
- package/dist/{useSubscription-V53WsZwQ.mjs → useSubscription-DSsXVO0h.mjs} +1 -1
- package/dist/{useTimePeriod.es-D31Zl1MJ.mjs → useTimePeriod.es-CW8ycmpT.mjs} +1 -1
- package/dist/{useTimePeriod.es-CtCTu9cz.js → useTimePeriod.es-anHB63am.js} +1 -1
- package/package.json +1 -1
- package/dist/Checkout.entry.ce-BfLlnQyb.js +0 -1
- package/dist/Checkout.entry.ce-CQkrWscC.mjs +0 -3769
- package/dist/ContentWithAsideLayout-Bnbsq8_5.mjs +0 -32
- package/dist/ContentWithAsideLayout-C6yMIVJF.js +0 -1
- package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-DKXhthkA.js +0 -1
- package/dist/PaymentIntegrationFormAdyen-DElXsJ96.js +0 -98
- package/dist/url-BNKStNY9.js +0 -1
package/dist/{PaymentIntegrationFormAdyen-BQcgDcik.mjs → PaymentIntegrationFormAdyen-Cqsy82To.mjs}
RENAMED
|
@@ -1,17 +1,24 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { a as
|
|
3
|
-
import {
|
|
4
|
-
import { _ as
|
|
5
|
-
import { c as
|
|
6
|
-
import { g as
|
|
7
|
-
import { c as
|
|
8
|
-
import { g as
|
|
9
|
-
import { l as
|
|
10
|
-
import { u as
|
|
11
|
-
import { c as
|
|
12
|
-
const
|
|
13
|
-
|
|
14
|
-
return
|
|
1
|
+
import { defineComponent as W, computed as A, openBlock as g, createElementBlock as C, createVNode as L, unref as G, withCtx as K, createTextVNode as H, toDisplayString as v, ref as T, onMounted as Ee, onBeforeUnmount as fe, watch as ge, Fragment as Ae, createBlock as M, createCommentVNode as D, Teleport as Ie, createElementVNode as Te, nextTick as V } from "vue";
|
|
2
|
+
import { a as Ne } from "./useService-Bh47bllz.mjs";
|
|
3
|
+
import { u as q, _ as $, b as be } from "./customElements-q_i9y0Ph.mjs";
|
|
4
|
+
import { _ as Pe, a as ve } from "./PaymentErrorCard.vue_vue_type_script_setup_true_lang-UmKgVvdj.mjs";
|
|
5
|
+
import { c as Re } from "./payments-C0-Hq2a4.mjs";
|
|
6
|
+
import { g as J } from "./url-TNRgVI8A.mjs";
|
|
7
|
+
import { c as Oe } from "./paymentMethods-DEKp_4QM.mjs";
|
|
8
|
+
import { g as ke, t as Me, a as De, b as Se, R as Ce, P as Le, c as S, d as Q } from "./adyen-CvsH5fok.mjs";
|
|
9
|
+
import { l as we } from "./adyenSdk-B01MB9Ia.mjs";
|
|
10
|
+
import { u as xe } from "./useExperimentalFeature-JK_kAUQQ.mjs";
|
|
11
|
+
import { c as Be, a as Fe } from "./paymentFailure-Bh60UhxA.mjs";
|
|
12
|
+
const Ue = ".adyen-checkout__payment-method--sepadirectdebit .adyen-checkout__payment-method__details__content";
|
|
13
|
+
function Ye(d) {
|
|
14
|
+
return (d == null ? void 0 : d.querySelector(Ue)) ?? null;
|
|
15
|
+
}
|
|
16
|
+
function je(d, u) {
|
|
17
|
+
return !!d && !!u && !d.contains(u);
|
|
18
|
+
}
|
|
19
|
+
const Ze = (d) => {
|
|
20
|
+
let u = {};
|
|
21
|
+
return d === "TOKENIZE" && (u = {
|
|
15
22
|
"en-US": {
|
|
16
23
|
payButton: "Add payment method",
|
|
17
24
|
confirmPurchase: "Add payment method"
|
|
@@ -136,8 +143,79 @@ const Re = (y) => {
|
|
|
136
143
|
payButton: "Pridėti mokėjimo metodą",
|
|
137
144
|
confirmPurchase: "Pridėti mokėjimo metodą"
|
|
138
145
|
}
|
|
139
|
-
}),
|
|
140
|
-
},
|
|
146
|
+
}), u;
|
|
147
|
+
}, ze = {
|
|
148
|
+
class: "sv-sepa-mandate mt-3",
|
|
149
|
+
"data-testid": "sepa-mandate-notice"
|
|
150
|
+
}, Ge = /* @__PURE__ */ W({
|
|
151
|
+
__name: "SepaMandateNotice",
|
|
152
|
+
props: {
|
|
153
|
+
billingEntityName: { type: String }
|
|
154
|
+
},
|
|
155
|
+
setup(d) {
|
|
156
|
+
const u = d, { $t: h } = q(), m = A(
|
|
157
|
+
() => h({
|
|
158
|
+
defaultMessage: "SEPA Direct Debit mandate — recurring payments",
|
|
159
|
+
description: "Title of the SEPA direct debit mandate shown inside the SEPA payment form",
|
|
160
|
+
id: "payments.sepa_mandate.title"
|
|
161
|
+
})
|
|
162
|
+
), b = A(
|
|
163
|
+
() => u.billingEntityName ? h(
|
|
164
|
+
{
|
|
165
|
+
defaultMessage: "By confirming this mandate, you authorise {billingEntityName} to instruct your bank to collect payments from your account, and you authorise your bank to carry out those instructions.",
|
|
166
|
+
description: "SEPA direct debit mandate authorisation, naming the billing entity",
|
|
167
|
+
id: "payments.sepa_mandate.authorisation"
|
|
168
|
+
},
|
|
169
|
+
{ billingEntityName: u.billingEntityName }
|
|
170
|
+
) : h({
|
|
171
|
+
defaultMessage: "By confirming this mandate, you authorise us to instruct your bank to collect payments from your account, and you authorise your bank to carry out those instructions.",
|
|
172
|
+
description: "SEPA direct debit mandate authorisation, where the billing entity is not known",
|
|
173
|
+
id: "payments.sepa_mandate.authorisation_unnamed"
|
|
174
|
+
})
|
|
175
|
+
), n = A(
|
|
176
|
+
() => u.billingEntityName ? h(
|
|
177
|
+
{
|
|
178
|
+
defaultMessage: "This bank account will be used automatically to pay subsequent invoices from {billingEntityName} until you cancel this mandate.",
|
|
179
|
+
description: "Explains that the SEPA mandate covers later invoices, naming the billing entity",
|
|
180
|
+
id: "payments.sepa_mandate.recurrence"
|
|
181
|
+
},
|
|
182
|
+
{ billingEntityName: u.billingEntityName }
|
|
183
|
+
) : h({
|
|
184
|
+
defaultMessage: "This bank account will be used automatically to pay subsequent invoices until you cancel this mandate.",
|
|
185
|
+
description: "Explains that the SEPA mandate covers later invoices, where the billing entity is not known",
|
|
186
|
+
id: "payments.sepa_mandate.recurrence_unnamed"
|
|
187
|
+
})
|
|
188
|
+
), E = A(
|
|
189
|
+
() => h({
|
|
190
|
+
defaultMessage: "As part of your rights, you're entitled to a refund from your bank under the terms and conditions of your agreement with your bank. You must claim a refund within 8 weeks from the date your account was debited. You can request a statement from your bank explaining your rights.",
|
|
191
|
+
description: "SEPA direct debit mandate refund rights, held against the payer's own bank",
|
|
192
|
+
id: "payments.sepa_mandate.refund_rights"
|
|
193
|
+
})
|
|
194
|
+
);
|
|
195
|
+
return (p, R) => (g(), C("div", ze, [
|
|
196
|
+
L(G($), {
|
|
197
|
+
tag: "p",
|
|
198
|
+
variant: "body-xs",
|
|
199
|
+
class: "font-semibold"
|
|
200
|
+
}, {
|
|
201
|
+
default: K(() => [
|
|
202
|
+
H(v(m.value), 1)
|
|
203
|
+
]),
|
|
204
|
+
_: 1
|
|
205
|
+
}),
|
|
206
|
+
L(G($), {
|
|
207
|
+
tag: "p",
|
|
208
|
+
variant: "body-xs",
|
|
209
|
+
color: "subtle"
|
|
210
|
+
}, {
|
|
211
|
+
default: K(() => [
|
|
212
|
+
H(v(b.value) + " " + v(n.value) + " " + v(E.value), 1)
|
|
213
|
+
]),
|
|
214
|
+
_: 1
|
|
215
|
+
})
|
|
216
|
+
]));
|
|
217
|
+
}
|
|
218
|
+
}), N = "ADYEN", nt = /* @__PURE__ */ W({
|
|
141
219
|
__name: "PaymentIntegrationFormAdyen",
|
|
142
220
|
props: {
|
|
143
221
|
context: { type: Object },
|
|
@@ -151,69 +229,72 @@ const Re = (y) => {
|
|
|
151
229
|
validateOnSubmit: { type: Function, default: () => Promise.resolve(!0) },
|
|
152
230
|
forceStorePaymentMethod: { type: Boolean },
|
|
153
231
|
storePaymentMethod: { type: Boolean, default: void 0 },
|
|
154
|
-
redirectsOnSuccess: { type: Boolean }
|
|
232
|
+
redirectsOnSuccess: { type: Boolean },
|
|
233
|
+
billingEntityName: { type: String }
|
|
155
234
|
},
|
|
156
235
|
emits: ["select", "payment-failed", "payment-success", "ready"],
|
|
157
|
-
setup(
|
|
158
|
-
let m = null,
|
|
159
|
-
const
|
|
160
|
-
|
|
161
|
-
const
|
|
236
|
+
setup(d, { expose: u, emit: h }) {
|
|
237
|
+
let m = null, b = null;
|
|
238
|
+
const n = d, E = h;
|
|
239
|
+
u({ submit: ae });
|
|
240
|
+
const p = T(), R = T(null), f = T(null);
|
|
241
|
+
let y;
|
|
242
|
+
const w = T(!1), P = T(), r = be(), { locale: X } = q(), { authorizePayment: ee, getPaymentDetails: te } = Re(), { tokenizePaymentMethod: ne } = Oe(), O = xe(), x = A(
|
|
162
243
|
() => {
|
|
163
244
|
var e;
|
|
164
|
-
return
|
|
165
|
-
excludeExpressPaymentMethods: !!((e =
|
|
245
|
+
return ke(n.paymentMethodOptionResponseEntry, {
|
|
246
|
+
excludeExpressPaymentMethods: !!((e = O == null ? void 0 : O.value) != null && e["express-checkout"])
|
|
166
247
|
});
|
|
167
248
|
}
|
|
168
|
-
),
|
|
169
|
-
function
|
|
170
|
-
return
|
|
171
|
-
gateway:
|
|
172
|
-
paymentAcceptorId:
|
|
173
|
-
variant:
|
|
174
|
-
invoiceId:
|
|
175
|
-
customerId:
|
|
249
|
+
), B = A(() => x.value.length > 0);
|
|
250
|
+
function c(e) {
|
|
251
|
+
return Be({
|
|
252
|
+
gateway: N,
|
|
253
|
+
paymentAcceptorId: n.paymentMethodOptionResponseEntry.payment_acceptor.id,
|
|
254
|
+
variant: n.variant,
|
|
255
|
+
invoiceId: n.invoiceId,
|
|
256
|
+
customerId: n.customerId,
|
|
176
257
|
...e
|
|
177
258
|
});
|
|
178
259
|
}
|
|
179
|
-
function
|
|
180
|
-
const t =
|
|
181
|
-
|
|
260
|
+
function _(e) {
|
|
261
|
+
const t = Fe(e);
|
|
262
|
+
P.value = t, E("payment-failed", t);
|
|
182
263
|
}
|
|
183
|
-
function
|
|
264
|
+
function ae() {
|
|
184
265
|
try {
|
|
185
266
|
m == null || m.submit();
|
|
186
267
|
} catch (e) {
|
|
187
268
|
r.error(
|
|
188
269
|
"ADYEN_SUBMIT_FAILED",
|
|
189
270
|
"Failed to submit Adyen drop-in",
|
|
190
|
-
|
|
271
|
+
c({ reason: "ADYEN_SUBMIT_FAILED", cause: e }),
|
|
191
272
|
e
|
|
192
273
|
);
|
|
193
274
|
}
|
|
194
275
|
}
|
|
195
|
-
async function
|
|
196
|
-
const e =
|
|
276
|
+
async function oe() {
|
|
277
|
+
const e = Me(n.amount), t = x.value;
|
|
197
278
|
return {
|
|
198
279
|
checkoutConfig: {
|
|
199
280
|
amount: e,
|
|
200
|
-
clientKey:
|
|
201
|
-
|
|
281
|
+
clientKey: Se(
|
|
282
|
+
n.paymentMethodOptionResponseEntry
|
|
202
283
|
),
|
|
203
|
-
environment:
|
|
204
|
-
|
|
284
|
+
environment: De(
|
|
285
|
+
n.paymentMethodOptionResponseEntry,
|
|
205
286
|
r
|
|
206
287
|
),
|
|
207
|
-
locale:
|
|
208
|
-
translations:
|
|
209
|
-
countryCode:
|
|
288
|
+
locale: X,
|
|
289
|
+
translations: Ze(n.variant),
|
|
290
|
+
countryCode: n.countryCode,
|
|
210
291
|
analytics: { enabled: !1 },
|
|
211
292
|
paymentMethodsResponse: { paymentMethods: t },
|
|
212
|
-
onSubmit:
|
|
213
|
-
onAdditionalDetails:
|
|
214
|
-
onPaymentCompleted:
|
|
215
|
-
onPaymentFailed:
|
|
216
|
-
onError:
|
|
293
|
+
onSubmit: ce,
|
|
294
|
+
onAdditionalDetails: me,
|
|
295
|
+
onPaymentCompleted: le,
|
|
296
|
+
onPaymentFailed: ye,
|
|
297
|
+
onError: he,
|
|
217
298
|
showPayButton: !1
|
|
218
299
|
},
|
|
219
300
|
dropInConfig: {
|
|
@@ -222,67 +303,81 @@ const Re = (y) => {
|
|
|
222
303
|
card: {
|
|
223
304
|
hasHolderName: !0,
|
|
224
305
|
holderNameRequired: !0,
|
|
225
|
-
enableStoreDetails: !
|
|
306
|
+
enableStoreDetails: !n.forceStorePaymentMethod && n.storePaymentMethod === void 0 && n.variant === "AUTHORIZE"
|
|
226
307
|
},
|
|
227
308
|
paypal: {
|
|
228
309
|
intent: e.value > 0 ? "authorize" : "tokenize",
|
|
229
310
|
showPayButton: !0
|
|
230
311
|
}
|
|
231
312
|
},
|
|
232
|
-
openFirstPaymentMethod:
|
|
313
|
+
openFirstPaymentMethod: n.selected,
|
|
233
314
|
onSelect: ({ props: { type: o } }) => {
|
|
234
|
-
o &&
|
|
315
|
+
o && E("select", { paymentMethodType: o, paymentGatewayVariant: "ADYEN" });
|
|
235
316
|
},
|
|
236
|
-
onReady: () =>
|
|
317
|
+
onReady: () => E("ready")
|
|
237
318
|
}
|
|
238
319
|
};
|
|
239
320
|
}
|
|
240
|
-
function
|
|
321
|
+
function re() {
|
|
241
322
|
return Promise.all([
|
|
242
|
-
|
|
323
|
+
we(),
|
|
243
324
|
import("./adyen-Bugab0JE.mjs").then((e) => e.default)
|
|
244
325
|
]);
|
|
245
326
|
}
|
|
246
|
-
async function
|
|
247
|
-
if (await
|
|
248
|
-
const { payment_acceptor: e, integration: t } =
|
|
327
|
+
async function F() {
|
|
328
|
+
if (await Y(), P.value = void 0, !B.value) {
|
|
329
|
+
const { payment_acceptor: e, integration: t } = n.paymentMethodOptionResponseEntry;
|
|
249
330
|
r.warn("PAYMENT_INTEGRATION_NOT_RENDERABLE", "No Adyen payment methods to offer", {
|
|
250
331
|
fingerprint: ["PAYMENT_INTEGRATION_NOT_RENDERABLE", e.id],
|
|
251
332
|
paymentAcceptorId: e.id,
|
|
252
333
|
integrationId: t.id,
|
|
253
|
-
...
|
|
334
|
+
...n.invoiceId ? { invoiceId: n.invoiceId } : {}
|
|
254
335
|
});
|
|
255
336
|
return;
|
|
256
337
|
}
|
|
257
|
-
if (await
|
|
338
|
+
if (await V(), !!p.value)
|
|
258
339
|
try {
|
|
259
|
-
const [e, t] = await
|
|
260
|
-
|
|
261
|
-
...
|
|
340
|
+
const [e, t] = await re(), { checkoutConfig: o, dropInConfig: a } = await oe();
|
|
341
|
+
b = await e.AdyenCheckout(o), m = new e.Dropin(b, {
|
|
342
|
+
...a,
|
|
262
343
|
paymentMethodComponents: e.dropInPaymentMethodComponents
|
|
263
|
-
}).mount(
|
|
344
|
+
}).mount(p.value), de(t), ie();
|
|
264
345
|
} catch (e) {
|
|
265
346
|
r.error(
|
|
266
347
|
"PAYMENT_INTEGRATION_INITIALIZATION_FAILED",
|
|
267
348
|
"Failed to mount Adyen web drop-in",
|
|
268
|
-
|
|
349
|
+
c({ reason: "ADYEN_DROP_IN_MOUNT_FAILED", cause: e }),
|
|
269
350
|
e
|
|
270
|
-
),
|
|
351
|
+
), _({
|
|
271
352
|
code: "PAYMENT_INTEGRATION_INITIALIZATION_FAILED",
|
|
272
353
|
message: "Failed to mount Adyen web drop-in",
|
|
273
354
|
error: e
|
|
274
355
|
});
|
|
275
356
|
}
|
|
276
357
|
}
|
|
277
|
-
|
|
278
|
-
|
|
358
|
+
function U() {
|
|
359
|
+
const e = Ye(p.value);
|
|
360
|
+
if (je(e, R.value)) {
|
|
361
|
+
f.value = null, V(() => f.value = e);
|
|
362
|
+
return;
|
|
363
|
+
}
|
|
364
|
+
f.value = e;
|
|
365
|
+
}
|
|
366
|
+
function ie() {
|
|
367
|
+
y == null || y.disconnect(), p.value && (y = new MutationObserver(() => U()), y.observe(p.value, { childList: !0, subtree: !0 }), U());
|
|
368
|
+
}
|
|
369
|
+
function se() {
|
|
370
|
+
y == null || y.disconnect(), y = void 0, f.value = null;
|
|
371
|
+
}
|
|
372
|
+
async function Y() {
|
|
373
|
+
se(), m && (m.unmount(), m = null), p.value && (p.value.innerHTML = "");
|
|
279
374
|
}
|
|
280
|
-
function
|
|
375
|
+
function de(e) {
|
|
281
376
|
var o;
|
|
282
|
-
const t = (o =
|
|
377
|
+
const t = (o = p.value) == null ? void 0 : o.getRootNode();
|
|
283
378
|
if (t instanceof ShadowRoot) {
|
|
284
|
-
const
|
|
285
|
-
|
|
379
|
+
const a = document.createElement("style");
|
|
380
|
+
a.textContent = e, t.appendChild(a);
|
|
286
381
|
const i = document.createElement("style");
|
|
287
382
|
i.textContent = `
|
|
288
383
|
:host {
|
|
@@ -377,22 +472,22 @@ const Re = (y) => {
|
|
|
377
472
|
.adyen-checkout__checkbox__input + .adyen-checkout__checkbox__label:after {
|
|
378
473
|
border-color: rgb(229, 231, 235);
|
|
379
474
|
}
|
|
380
|
-
`,
|
|
475
|
+
`, n.variant === "AUTHORIZE" && (i.textContent += `
|
|
381
476
|
.adyen-checkout__payment-method--cashapp .adyen-checkout-pm-details-wrapper {
|
|
382
477
|
display: none;
|
|
383
478
|
}
|
|
384
479
|
`), t.appendChild(i);
|
|
385
480
|
}
|
|
386
481
|
}
|
|
387
|
-
function
|
|
482
|
+
function j(e, {
|
|
388
483
|
paymentMethodType: t,
|
|
389
484
|
actions: o,
|
|
390
|
-
logFailure:
|
|
485
|
+
logFailure: a
|
|
391
486
|
}) {
|
|
392
|
-
if (e.status === "ACTION_REQUIRED" && e.action.payment_gateway_variant ===
|
|
393
|
-
const i =
|
|
487
|
+
if (e.status === "ACTION_REQUIRED" && e.action.payment_gateway_variant === N) {
|
|
488
|
+
const i = ue(e, t);
|
|
394
489
|
if (!i) {
|
|
395
|
-
|
|
490
|
+
a(e);
|
|
396
491
|
return;
|
|
397
492
|
}
|
|
398
493
|
m.handleAction(i), o.resolve({
|
|
@@ -402,263 +497,263 @@ const Re = (y) => {
|
|
|
402
497
|
return;
|
|
403
498
|
}
|
|
404
499
|
if (e.payment.result === "AUTHORIZED") {
|
|
405
|
-
|
|
500
|
+
w.value = !0, o.resolve({ resultCode: "Authorised" });
|
|
406
501
|
return;
|
|
407
502
|
}
|
|
408
|
-
|
|
503
|
+
a(e), o.resolve({ resultCode: "Error" });
|
|
409
504
|
}
|
|
410
|
-
function
|
|
411
|
-
const [t, o,
|
|
412
|
-
|
|
505
|
+
function ce(...e) {
|
|
506
|
+
const [t, o, a] = e;
|
|
507
|
+
n.validateOnSubmit().then((i) => {
|
|
413
508
|
if (!i)
|
|
414
509
|
return;
|
|
415
|
-
const
|
|
416
|
-
risk_data:
|
|
417
|
-
payment_method:
|
|
418
|
-
browser_info:
|
|
510
|
+
const s = n.paymentMethodOptionResponseEntry.payment_acceptor.id, z = {
|
|
511
|
+
risk_data: S(t.data.riskData),
|
|
512
|
+
payment_method: S(t.data.paymentMethod),
|
|
513
|
+
browser_info: S(t.data.browserInfo)
|
|
419
514
|
};
|
|
420
|
-
if (
|
|
421
|
-
const
|
|
422
|
-
paymentAcceptorId:
|
|
515
|
+
if (n.variant === "AUTHORIZE") {
|
|
516
|
+
const k = Q({
|
|
517
|
+
paymentAcceptorId: n.paymentMethodOptionResponseEntry.payment_acceptor.id,
|
|
423
518
|
redirectUrl: window.location.href
|
|
424
519
|
});
|
|
425
|
-
|
|
426
|
-
payment_acceptor_id:
|
|
427
|
-
...
|
|
428
|
-
payment_gateway_variant:
|
|
520
|
+
ee({
|
|
521
|
+
payment_acceptor_id: s,
|
|
522
|
+
...n.customerId ? { customer_id: n.customerId } : {},
|
|
523
|
+
payment_gateway_variant: N,
|
|
429
524
|
adyen: {
|
|
430
|
-
...
|
|
431
|
-
store_payment_method:
|
|
525
|
+
...z,
|
|
526
|
+
store_payment_method: n.storePaymentMethod ?? (n.forceStorePaymentMethod || t.data.storePaymentMethod)
|
|
432
527
|
},
|
|
433
|
-
amount:
|
|
434
|
-
...
|
|
435
|
-
return_url:
|
|
528
|
+
amount: n.amount,
|
|
529
|
+
...n.context ? { context: n.context } : {},
|
|
530
|
+
return_url: k
|
|
436
531
|
}).then(
|
|
437
|
-
(
|
|
532
|
+
(l) => j(l, {
|
|
438
533
|
paymentMethodType: t.data.paymentMethod.type,
|
|
439
|
-
actions:
|
|
440
|
-
logFailure: (
|
|
534
|
+
actions: a,
|
|
535
|
+
logFailure: (I) => r.error(
|
|
441
536
|
"PAYMENT_AUTHORIZATION_FAILED",
|
|
442
|
-
`Failed payment authorization for payment acceptor with id ${
|
|
443
|
-
|
|
537
|
+
`Failed payment authorization for payment acceptor with id ${s}`,
|
|
538
|
+
c({
|
|
444
539
|
reason: "PAYMENT_AUTHORIZATION_REJECTED",
|
|
445
540
|
paymentMethodType: t.data.paymentMethod.type,
|
|
446
|
-
cause:
|
|
541
|
+
cause: I
|
|
447
542
|
}),
|
|
448
|
-
|
|
543
|
+
I
|
|
449
544
|
)
|
|
450
545
|
})
|
|
451
|
-
).catch((
|
|
546
|
+
).catch((l) => {
|
|
452
547
|
r.error(
|
|
453
548
|
"PAYMENT_AUTHORIZATION_FAILED",
|
|
454
|
-
`Failed payment authorization for payment acceptor with id ${
|
|
455
|
-
|
|
549
|
+
`Failed payment authorization for payment acceptor with id ${s}`,
|
|
550
|
+
c({
|
|
456
551
|
reason: "PAYMENT_AUTHORIZATION_FAILED",
|
|
457
552
|
paymentMethodType: t.data.paymentMethod.type,
|
|
458
|
-
cause:
|
|
553
|
+
cause: l
|
|
459
554
|
}),
|
|
460
|
-
|
|
461
|
-
),
|
|
555
|
+
l
|
|
556
|
+
), a.resolve({ resultCode: "Error" });
|
|
462
557
|
});
|
|
463
558
|
return;
|
|
464
559
|
}
|
|
465
|
-
if (
|
|
466
|
-
const
|
|
467
|
-
paymentAcceptorId:
|
|
560
|
+
if (n.variant === "TOKENIZE") {
|
|
561
|
+
const k = Q({
|
|
562
|
+
paymentAcceptorId: n.paymentMethodOptionResponseEntry.payment_acceptor.id,
|
|
468
563
|
redirectUrl: window.location.href
|
|
469
564
|
});
|
|
470
|
-
if (!
|
|
565
|
+
if (!n.customerId) {
|
|
471
566
|
r.error(
|
|
472
567
|
"TOKENIZATION_FAILED",
|
|
473
|
-
`Missing customer id for payment acceptor with id ${
|
|
474
|
-
|
|
475
|
-
),
|
|
568
|
+
`Missing customer id for payment acceptor with id ${s}`,
|
|
569
|
+
c({ reason: "TOKENIZATION_FAILED_NO_CUSTOMER" })
|
|
570
|
+
), _({ code: "TOKENIZE_FAILED", message: "Missing customer id" });
|
|
476
571
|
return;
|
|
477
572
|
}
|
|
478
|
-
|
|
479
|
-
customer_id:
|
|
480
|
-
payment_acceptor_id:
|
|
481
|
-
payment_gateway_variant:
|
|
482
|
-
adyen:
|
|
483
|
-
return_url:
|
|
573
|
+
ne({
|
|
574
|
+
customer_id: n.customerId,
|
|
575
|
+
payment_acceptor_id: s,
|
|
576
|
+
payment_gateway_variant: N,
|
|
577
|
+
adyen: z,
|
|
578
|
+
return_url: k
|
|
484
579
|
}).then(
|
|
485
|
-
(
|
|
580
|
+
(l) => j(l, {
|
|
486
581
|
paymentMethodType: t.data.paymentMethod.type,
|
|
487
|
-
actions:
|
|
488
|
-
logFailure: (
|
|
582
|
+
actions: a,
|
|
583
|
+
logFailure: (I) => r.error(
|
|
489
584
|
"TOKENIZATION_FAILED",
|
|
490
|
-
`Tokenization failed for payment acceptor with id ${
|
|
491
|
-
|
|
585
|
+
`Tokenization failed for payment acceptor with id ${s}`,
|
|
586
|
+
c({
|
|
492
587
|
reason: "TOKENIZATION_REJECTED",
|
|
493
588
|
paymentMethodType: t.data.paymentMethod.type,
|
|
494
|
-
cause:
|
|
589
|
+
cause: I
|
|
495
590
|
}),
|
|
496
|
-
|
|
591
|
+
I
|
|
497
592
|
)
|
|
498
593
|
})
|
|
499
|
-
).catch((
|
|
594
|
+
).catch((l) => {
|
|
500
595
|
r.error(
|
|
501
596
|
"TOKENIZATION_FAILED",
|
|
502
|
-
`Tokenization failed for payment acceptor with id ${
|
|
503
|
-
|
|
597
|
+
`Tokenization failed for payment acceptor with id ${s}`,
|
|
598
|
+
c({
|
|
504
599
|
reason: "TOKENIZATION_FAILED",
|
|
505
600
|
paymentMethodType: t.data.paymentMethod.type,
|
|
506
|
-
cause:
|
|
601
|
+
cause: l
|
|
507
602
|
}),
|
|
508
|
-
|
|
509
|
-
),
|
|
603
|
+
l
|
|
604
|
+
), a.resolve({ resultCode: "Error" });
|
|
510
605
|
});
|
|
511
606
|
}
|
|
512
607
|
}).catch((i) => {
|
|
513
608
|
r.error(
|
|
514
609
|
"INTEGRATION_ERROR",
|
|
515
610
|
"Unhandled error in payment submission flow",
|
|
516
|
-
|
|
611
|
+
c({ reason: "ADYEN_SUBMISSION_FLOW_FAILED", cause: i }),
|
|
517
612
|
i
|
|
518
613
|
);
|
|
519
614
|
});
|
|
520
615
|
}
|
|
521
|
-
function
|
|
616
|
+
function ue(e, t) {
|
|
522
617
|
if (e.status !== "ACTION_REQUIRED")
|
|
523
618
|
return;
|
|
524
619
|
const o = e.action;
|
|
525
620
|
if (o.payment_gateway_variant != "ADYEN")
|
|
526
621
|
return;
|
|
527
|
-
const
|
|
622
|
+
const a = o.adyen;
|
|
528
623
|
return {
|
|
529
|
-
paymentMethodType: (
|
|
624
|
+
paymentMethodType: (a == null ? void 0 : a.payment_method_type) ?? t,
|
|
530
625
|
method: o.method,
|
|
531
626
|
url: o.url,
|
|
532
627
|
data: o.data,
|
|
533
|
-
type:
|
|
534
|
-
paymentData:
|
|
535
|
-
sdkData:
|
|
628
|
+
type: a == null ? void 0 : a.action_type,
|
|
629
|
+
paymentData: a == null ? void 0 : a.payment_data,
|
|
630
|
+
sdkData: a == null ? void 0 : a.sdk_data
|
|
536
631
|
};
|
|
537
632
|
}
|
|
538
|
-
function
|
|
539
|
-
const [t] = e, o = t.data.details,
|
|
540
|
-
if (
|
|
541
|
-
|
|
633
|
+
function me(...e) {
|
|
634
|
+
const [t] = e, o = t.data.details, a = t.data.paymentData;
|
|
635
|
+
if (n.paymentMethodOptionResponseEntry.payment_acceptor.id) {
|
|
636
|
+
Z({
|
|
542
637
|
// For the moment: Adyen gives a null value back which is not accepted by Solvimon API, so filter that out
|
|
543
|
-
detailsResult: o ?
|
|
544
|
-
paymentDataResult:
|
|
545
|
-
paymentAcceptorId:
|
|
638
|
+
detailsResult: o ? pe(o) : void 0,
|
|
639
|
+
paymentDataResult: a,
|
|
640
|
+
paymentAcceptorId: n.paymentMethodOptionResponseEntry.payment_acceptor.id
|
|
546
641
|
});
|
|
547
642
|
return;
|
|
548
643
|
}
|
|
549
644
|
r.error(
|
|
550
645
|
"PAYMENT_ACCEPTOR_MISSING",
|
|
551
646
|
"Additional details arrived without a payment acceptor id",
|
|
552
|
-
|
|
553
|
-
),
|
|
647
|
+
c({ reason: "PAYMENT_ACCEPTOR_MISSING" })
|
|
648
|
+
), _({
|
|
554
649
|
code: "REDIRECT_RESULT_PAYMENT_ACCEPTOR_MISSING",
|
|
555
650
|
message: "Payment failed",
|
|
556
651
|
error: e
|
|
557
652
|
});
|
|
558
653
|
}
|
|
559
|
-
function
|
|
654
|
+
function pe(e) {
|
|
560
655
|
return Object.fromEntries(
|
|
561
656
|
Object.entries(e).filter(([, t]) => t != null)
|
|
562
657
|
);
|
|
563
658
|
}
|
|
564
|
-
function
|
|
659
|
+
function ye(...e) {
|
|
565
660
|
const [t] = e;
|
|
566
661
|
r.error(
|
|
567
662
|
"ADYEN_PAYMENT_FAILED",
|
|
568
663
|
"Adyen reported the payment as failed",
|
|
569
|
-
|
|
664
|
+
c({
|
|
570
665
|
reason: "ADYEN_PAYMENT_FAILED",
|
|
571
666
|
extra: { resultCode: t == null ? void 0 : t.resultCode }
|
|
572
667
|
}),
|
|
573
668
|
t
|
|
574
|
-
),
|
|
669
|
+
), _({ code: "AUTHORIZATION_FAILED", message: "Payment failed", error: t });
|
|
575
670
|
}
|
|
576
|
-
function
|
|
671
|
+
function le(...e) {
|
|
577
672
|
const [, t] = e;
|
|
578
|
-
t == null || t.unmount(),
|
|
673
|
+
t == null || t.unmount(), E("payment-success");
|
|
579
674
|
}
|
|
580
|
-
function
|
|
675
|
+
function he(...e) {
|
|
581
676
|
const [t, o] = e;
|
|
582
677
|
t.name !== "CANCEL" && (r.error(
|
|
583
678
|
"INTEGRATION_ERROR",
|
|
584
679
|
"The Adyen drop-in reported an error",
|
|
585
|
-
|
|
680
|
+
c({
|
|
586
681
|
reason: "ADYEN_INTEGRATION_ERROR",
|
|
587
682
|
cause: t,
|
|
588
683
|
extra: { adyenErrorName: t.name }
|
|
589
684
|
}),
|
|
590
685
|
t
|
|
591
|
-
),
|
|
686
|
+
), _({ code: "UNKNOWN_ERROR", message: "Something went wrong", error: t }), o == null || o.unmount());
|
|
592
687
|
}
|
|
593
|
-
function
|
|
688
|
+
function Z({
|
|
594
689
|
detailsResult: e,
|
|
595
690
|
threeDSResult: t,
|
|
596
691
|
redirectResult: o,
|
|
597
|
-
paymentDataResult:
|
|
692
|
+
paymentDataResult: a,
|
|
598
693
|
paymentAcceptorId: i
|
|
599
694
|
}) {
|
|
600
|
-
|
|
695
|
+
te({
|
|
601
696
|
paymentAcceptorId: i,
|
|
602
|
-
paymentGatewayVariant:
|
|
697
|
+
paymentGatewayVariant: N,
|
|
603
698
|
adyen: {
|
|
604
699
|
...e ? { details: e } : {},
|
|
605
700
|
...o ? { redirect_result: o } : {},
|
|
606
701
|
...t ? { threeds_result: t } : {},
|
|
607
|
-
...
|
|
702
|
+
...a ? { payment_data: a } : {}
|
|
608
703
|
}
|
|
609
|
-
}).then((
|
|
610
|
-
if (
|
|
704
|
+
}).then((s) => {
|
|
705
|
+
if (s.payment_status === "FAILURE") {
|
|
611
706
|
r.error(
|
|
612
707
|
"PAYMENT_DETAILS_REJECTED",
|
|
613
708
|
"Payment details returned a failed payment",
|
|
614
|
-
|
|
709
|
+
c({
|
|
615
710
|
reason: "PAYMENT_DETAILS_REJECTED",
|
|
616
711
|
paymentAcceptorId: i,
|
|
617
|
-
extra: { paymentStatus:
|
|
712
|
+
extra: { paymentStatus: s.payment_status }
|
|
618
713
|
})
|
|
619
|
-
),
|
|
714
|
+
), _({
|
|
620
715
|
code: "AUTHORIZATION_FAILED",
|
|
621
716
|
message: "Failed getting payment details",
|
|
622
|
-
error:
|
|
717
|
+
error: s
|
|
623
718
|
});
|
|
624
719
|
return;
|
|
625
720
|
}
|
|
626
|
-
if (
|
|
627
|
-
|
|
721
|
+
if (s.payment_status === "SUCCESS") {
|
|
722
|
+
E("payment-success");
|
|
628
723
|
return;
|
|
629
724
|
}
|
|
630
|
-
}).catch((
|
|
725
|
+
}).catch((s) => {
|
|
631
726
|
r.error(
|
|
632
727
|
"PAYMENT_DETAILS_CALL_FAILED",
|
|
633
728
|
"Failed fetching payment details",
|
|
634
|
-
|
|
729
|
+
c({
|
|
635
730
|
reason: "PAYMENT_DETAILS_CALL_FAILED",
|
|
636
731
|
paymentAcceptorId: i,
|
|
637
|
-
cause:
|
|
732
|
+
cause: s
|
|
638
733
|
}),
|
|
639
|
-
|
|
640
|
-
),
|
|
734
|
+
s
|
|
735
|
+
), _({
|
|
641
736
|
code: "PAYMENT_DETAILS_CALL_FAILED",
|
|
642
737
|
message: "Failed fetching payment details",
|
|
643
|
-
error:
|
|
738
|
+
error: s
|
|
644
739
|
});
|
|
645
740
|
});
|
|
646
741
|
}
|
|
647
|
-
function
|
|
648
|
-
const e =
|
|
742
|
+
function _e() {
|
|
743
|
+
const e = J(Ce), t = J(Le);
|
|
649
744
|
if (e) {
|
|
650
745
|
if (!t) {
|
|
651
746
|
r.error(
|
|
652
747
|
"INVALID_REDIRECT_RESULT",
|
|
653
748
|
"Redirect result is set but payment acceptor id is missing",
|
|
654
|
-
|
|
655
|
-
),
|
|
749
|
+
c({ reason: "INVALID_REDIRECT_RESULT" })
|
|
750
|
+
), _({
|
|
656
751
|
code: "REDIRECT_RESULT_PAYMENT_ACCEPTOR_MISSING",
|
|
657
752
|
message: "Redirect result is set but payment acceptor id is missing"
|
|
658
753
|
});
|
|
659
754
|
return;
|
|
660
755
|
}
|
|
661
|
-
|
|
756
|
+
Z({
|
|
662
757
|
paymentAcceptorId: t,
|
|
663
758
|
detailsResult: {
|
|
664
759
|
redirectResult: decodeURI(e)
|
|
@@ -666,33 +761,44 @@ const Re = (y) => {
|
|
|
666
761
|
});
|
|
667
762
|
}
|
|
668
763
|
}
|
|
669
|
-
return
|
|
670
|
-
|
|
671
|
-
}),
|
|
672
|
-
|
|
673
|
-
}),
|
|
674
|
-
() =>
|
|
764
|
+
return Ee(() => {
|
|
765
|
+
F(), _e();
|
|
766
|
+
}), fe(() => {
|
|
767
|
+
Y();
|
|
768
|
+
}), ge(
|
|
769
|
+
() => n.paymentMethodOptionResponseEntry,
|
|
675
770
|
(e, t) => {
|
|
676
|
-
|
|
771
|
+
Ne(e, t) || F();
|
|
677
772
|
},
|
|
678
773
|
{ deep: !0 }
|
|
679
|
-
), (e, t) => (
|
|
680
|
-
|
|
774
|
+
), (e, t) => (g(), C(Ae, null, [
|
|
775
|
+
w.value ? (g(), M(Pe, {
|
|
681
776
|
key: 0,
|
|
682
|
-
variant:
|
|
683
|
-
redirecting:
|
|
684
|
-
}, null, 8, ["variant", "redirecting"])) :
|
|
777
|
+
variant: d.variant,
|
|
778
|
+
redirecting: d.redirectsOnSuccess
|
|
779
|
+
}, null, 8, ["variant", "redirecting"])) : P.value ? (g(), M(ve, {
|
|
685
780
|
key: 1,
|
|
686
|
-
error:
|
|
687
|
-
}, null, 8, ["error"])) :
|
|
688
|
-
|
|
781
|
+
error: P.value
|
|
782
|
+
}, null, 8, ["error"])) : D("", !0),
|
|
783
|
+
B.value ? (g(), C("div", {
|
|
689
784
|
key: 2,
|
|
690
785
|
ref_key: "dropInContainerRef",
|
|
691
|
-
ref:
|
|
692
|
-
}, null, 512)) :
|
|
786
|
+
ref: p
|
|
787
|
+
}, null, 512)) : D("", !0),
|
|
788
|
+
f.value ? (g(), M(Ie, {
|
|
789
|
+
key: 3,
|
|
790
|
+
to: f.value
|
|
791
|
+
}, [
|
|
792
|
+
Te("div", {
|
|
793
|
+
ref_key: "sepaNoticeRef",
|
|
794
|
+
ref: R
|
|
795
|
+
}, [
|
|
796
|
+
L(Ge, { "billing-entity-name": d.billingEntityName }, null, 8, ["billing-entity-name"])
|
|
797
|
+
], 512)
|
|
798
|
+
], 8, ["to"])) : D("", !0)
|
|
693
799
|
], 64));
|
|
694
800
|
}
|
|
695
801
|
});
|
|
696
802
|
export {
|
|
697
|
-
|
|
803
|
+
nt as default
|
|
698
804
|
};
|