@solvimon/solvimon-web 0.1.0-alpha.23 → 0.1.0-alpha.24
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-B70SyWOB.mjs → AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-DW10rozs.mjs} +6 -6
- package/dist/{AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-jXClPW91.js → AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-jWthTJk-.js} +1 -1
- package/dist/{Avatar.vue.es-2E3laNRb.mjs → Avatar.vue.es-DzjFvLuK.mjs} +1 -1
- package/dist/{Avatar.vue.es-DdJreyr_.js → Avatar.vue.es-nr8srGuK.js} +1 -1
- package/dist/{BillingInformation.vue_vue_type_script_setup_true_lang-D5EoBLhj.mjs → BillingInformation.vue_vue_type_script_setup_true_lang-BptcwJMr.mjs} +4 -4
- package/dist/{BillingInformation.vue_vue_type_script_setup_true_lang-ConpyC8n.js → BillingInformation.vue_vue_type_script_setup_true_lang-C1prOJay.js} +1 -1
- package/dist/{Button.vue.es-BJEy-e9C.mjs → Button.vue.es-PbJFK8z7.mjs} +1 -1
- package/dist/{Button.vue.es-CJNxYacb.js → Button.vue.es-TCF-bvDF.js} +1 -1
- package/dist/Checkout.entry.ce-D8O4qJ24.js +2 -0
- package/dist/Checkout.entry.ce-DHFx5Vnb.mjs +3900 -0
- package/dist/{Chip.vue.es-DLQ4QEPo.js → Chip.vue.es-CAoisngJ.js} +1 -1
- package/dist/{Chip.vue.es-DGbc4L_D.mjs → Chip.vue.es-DpcOM3Ai.mjs} +2 -2
- package/dist/ContentWithAsideLayout-BCM8tmZN.mjs +38 -0
- package/dist/ContentWithAsideLayout-RSdKXqAf.js +1 -0
- package/dist/{ContextMenu.vue.es-Bd2kmeVq.js → ContextMenu.vue.es-kzZ3JJHG.js} +1 -1
- package/dist/{ContextMenu.vue.es-DL1M7pcr.mjs → ContextMenu.vue.es-tAuFp-6i.mjs} +4 -4
- package/dist/{CustomerBillingInformation.vue.es-CE94ASC3.mjs → CustomerBillingInformation.vue.es-BQSl9q6W.mjs} +2 -2
- package/dist/{CustomerBillingInformation.vue.es-hiFzB43w.js → CustomerBillingInformation.vue.es-Nac6HgLo.js} +1 -1
- package/dist/{CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-BE21tqgW.js → CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-BOLf-U0A.js} +1 -1
- package/dist/{CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-Bhih7rPR.mjs → CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-R47ln7Wb.mjs} +5 -5
- package/dist/{CustomerWalletBalances.vue_vue_type_script_setup_true_lang-C5zc9n64.mjs → CustomerWalletBalances.vue_vue_type_script_setup_true_lang-CaNXS48v.mjs} +14 -14
- package/dist/{CustomerWalletBalances.vue_vue_type_script_setup_true_lang-D018AmFA.js → CustomerWalletBalances.vue_vue_type_script_setup_true_lang-D_jcV7VG.js} +1 -1
- package/dist/{DividerText.vue.es-CFZUQ62L.mjs → DividerText.vue.es-CSE7a-T0.mjs} +1 -1
- package/dist/{DividerText.vue.es-CvCgHHXN.js → DividerText.vue.es-LJ2kZakb.js} +1 -1
- package/dist/{EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-YcaBJDzx.mjs → EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-DeotDsFP.mjs} +4 -4
- package/dist/{EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-jTJGN4jb.js → EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-GNPyrcAQ.js} +1 -1
- package/dist/{ErrorNotification.vue.es-DI2B7WiR.js → ErrorNotification.vue.es-BF6swP7o.js} +1 -1
- package/dist/{ErrorNotification.vue.es-B3mvv79S.mjs → ErrorNotification.vue.es-CVUuIt8Z.mjs} +1 -1
- package/dist/{IconButton.vue.es-Dp8h4YOx.js → IconButton.vue.es-CB1lIPao.js} +1 -1
- package/dist/{IconButton.vue.es-GLcGhoHC.mjs → IconButton.vue.es-DGflbWFk.mjs} +2 -2
- package/dist/{IconTitle.vue.es-CzuPQtOX.mjs → IconTitle.vue.es-BsdjyGlQ.mjs} +3 -3
- package/dist/{IconTitle.vue.es-DN9r6nfK.js → IconTitle.vue.es-CMO8EyQl.js} +1 -1
- package/dist/{Input.vue.es-5Cq8a7oH.mjs → Input.vue.es-BFbiFXsU.mjs} +2 -2
- package/dist/{Input.vue.es-DM81HeVv.js → Input.vue.es-CREdT4nB.js} +1 -1
- package/dist/{InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-w8w52LcV.js → InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-BZ4D_-7E.js} +1 -1
- package/dist/{InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-D75LSIL8.mjs → InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-Btv0rRk4.mjs} +2 -2
- package/dist/{InvoiceEntryView.vue_vue_type_script_setup_true_lang-dRLsZPNh.mjs → InvoiceEntryView.vue_vue_type_script_setup_true_lang-CrZq0d1M.mjs} +2 -2
- package/dist/{InvoiceEntryView.vue_vue_type_script_setup_true_lang-DB5h39LA.js → InvoiceEntryView.vue_vue_type_script_setup_true_lang-j-cNIRD_.js} +1 -1
- package/dist/{InvoiceSummary.vue.es-Qy99kLZs.js → InvoiceSummary.vue.es-BOnvORpf.js} +1 -1
- package/dist/{InvoiceSummary.vue.es-DbtqsTuP.mjs → InvoiceSummary.vue.es-JtOIQ6SJ.mjs} +7 -7
- package/dist/{Modal.vue.es-DgLl6XBV.js → Modal.vue.es-BbdtdxsO.js} +1 -1
- package/dist/{Modal.vue.es-Z2DWAN2u.mjs → Modal.vue.es-jT61xK_A.mjs} +5 -5
- package/dist/{PaymentErrorCard.vue_vue_type_script_setup_true_lang-DBm51C7c.js → PaymentErrorCard.vue_vue_type_script_setup_true_lang-BBoZVnsK.js} +1 -1
- package/dist/{PaymentErrorCard.vue_vue_type_script_setup_true_lang-DYuFPIqs.mjs → PaymentErrorCard.vue_vue_type_script_setup_true_lang-Dan29qmH.mjs} +4 -4
- package/dist/{PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-CcdhYTB1.mjs → PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-BJZHkTqA.mjs} +3 -3
- package/dist/{PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-BNZ9-GW1.js → PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-D34fD3Io.js} +1 -1
- package/dist/{PaymentHistoryBlock-DS1j-8m-.js → PaymentHistoryBlock-Dw2wOiAI.js} +1 -1
- package/dist/{PaymentHistoryBlock-CjP_514k.mjs → PaymentHistoryBlock-quvnCSFV.mjs} +1 -1
- package/dist/{PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-Dr2jtJhK.mjs → PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-5ckQd9eQ.mjs} +4 -4
- package/dist/{PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-CSTfMB8U.js → PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-C0XIdBbx.js} +1 -1
- package/dist/{PaymentIntegrationForm-CpOZUf-W.mjs → PaymentIntegrationForm-CQjUZi22.mjs} +1 -1
- package/dist/{PaymentIntegrationForm-80b19Lkq.js → PaymentIntegrationForm-D1oJREmH.js} +1 -1
- package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-De7h9-fH.js +1 -0
- package/dist/{PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-BgztoQH5.mjs → PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-DnBLj1wZ.mjs} +43 -40
- package/dist/PaymentIntegrationFormAdyen-BQXXwpUK.js +98 -0
- package/dist/{PaymentIntegrationFormAdyen-BQcgDcik.mjs → PaymentIntegrationFormAdyen-CyZk9ofV.mjs} +307 -207
- package/dist/{PaymentIntegrationFormStripe-CMwLqOe6.js → PaymentIntegrationFormStripe-Bs4F7oK_.js} +2 -2
- package/dist/{PaymentIntegrationFormStripe-Dx1H3fZ2.mjs → PaymentIntegrationFormStripe-D-GaLHwc.mjs} +22 -21
- package/dist/{PaymentMethod.vue.es-EhRCfeax.mjs → PaymentMethod.vue.es-C0j580g7.mjs} +3 -3
- package/dist/{PaymentMethod.vue.es-pLCCzVxN.js → PaymentMethod.vue.es-CXV_ThBY.js} +1 -1
- package/dist/{PaymentMethodForm-D3OY8zK5.mjs → PaymentMethodForm-Bf2Ps6eV.mjs} +1 -1
- package/dist/{PaymentMethodForm-Bw2e1tXo.js → PaymentMethodForm-CDV5LR8i.js} +1 -1
- package/dist/{PaymentMethodForm.vue_vue_type_script_setup_true_lang-vGprVPpn.mjs → PaymentMethodForm.vue_vue_type_script_setup_true_lang-BqPu7CYA.mjs} +6 -6
- package/dist/{PaymentMethodForm.vue_vue_type_script_setup_true_lang-DHXw6qD0.js → PaymentMethodForm.vue_vue_type_script_setup_true_lang-BwsRDlQJ.js} +1 -1
- package/dist/{PaymentMethodsList.vue_vue_type_script_setup_true_lang-D7b0HhDc.mjs → PaymentMethodsList.vue_vue_type_script_setup_true_lang-9MUPbgWM.mjs} +6 -6
- package/dist/{PaymentMethodsList.vue_vue_type_script_setup_true_lang-CdT1YyeU.js → PaymentMethodsList.vue_vue_type_script_setup_true_lang-BIX0k7-q.js} +1 -1
- package/dist/{PlanCustomizationEditor-RC8kj2rC.js → PlanCustomizationEditor-0kEXoOcM.js} +1 -1
- package/dist/{PlanCustomizationEditor-BQqkgmzL.mjs → PlanCustomizationEditor-Dv69xPbX.mjs} +9 -9
- package/dist/{PricingGroupRangeInput.vue.es-ClkE98ML.js → PricingGroupRangeInput.vue.es-BchXhunH.js} +1 -1
- package/dist/{PricingGroupRangeInput.vue.es-DNsiUZyT.mjs → PricingGroupRangeInput.vue.es-CP7-dmxS.mjs} +4 -4
- package/dist/{PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-CURXAgMT.mjs → PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-DmVJ2JQE.mjs} +5 -5
- package/dist/{PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-BJfQLRcS.js → PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-YsI__d0V.js} +1 -1
- package/dist/{RadioGroupExtended.vue.es-Dk9xdj76.js → RadioGroupExtended.vue.es-Cf5R1P9a.js} +1 -1
- package/dist/{RadioGroupExtended.vue.es-vUqn2ZUP.mjs → RadioGroupExtended.vue.es-_QMReyZ8.mjs} +2 -2
- package/dist/{Section.vue.es-Cybk1Nb8.js → Section.vue.es-CBZx5x53.js} +1 -1
- package/dist/{Section.vue.es-C2_topx4.mjs → Section.vue.es-KRsHeFoT.mjs} +1 -1
- package/dist/{SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-C9q_qwjt.mjs → SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-BVELHoUj.mjs} +6 -6
- package/dist/{SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-DIgVzXLg.js → SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-UdGQMJGY.js} +1 -1
- package/dist/{SubscriptionSchedules-CNTg_oRy.js → SubscriptionSchedules-1ikoGncQ.js} +1 -1
- package/dist/{SubscriptionSchedules-BlCU_xc5.mjs → SubscriptionSchedules-B6b6xf-E.mjs} +1 -1
- package/dist/{SubscriptionSchedules.vue_vue_type_script_setup_true_lang-6LbR_Vni.js → SubscriptionSchedules.vue_vue_type_script_setup_true_lang-Cd56tuZb.js} +1 -1
- package/dist/{SubscriptionSchedules.vue_vue_type_script_setup_true_lang-Cf3Dy8Yn.mjs → SubscriptionSchedules.vue_vue_type_script_setup_true_lang-Dv2bP9vv.mjs} +11 -11
- package/dist/{SubscriptionSummary.vue_vue_type_script_setup_true_lang-BijBAdqp.js → SubscriptionSummary.vue_vue_type_script_setup_true_lang-DZKl0Zxp.js} +1 -1
- package/dist/{SubscriptionSummary.vue_vue_type_script_setup_true_lang-CjzjchsS.mjs → SubscriptionSummary.vue_vue_type_script_setup_true_lang-DvYZvTV9.mjs} +2 -2
- package/dist/{SubscriptionsList.vue_vue_type_script_setup_true_lang-Dz4s3CH_.js → SubscriptionsList.vue_vue_type_script_setup_true_lang-DTjZcOhj.js} +1 -1
- package/dist/{SubscriptionsList.vue_vue_type_script_setup_true_lang-CxdrAanb.mjs → SubscriptionsList.vue_vue_type_script_setup_true_lang-DmeIKMYI.mjs} +6 -6
- package/dist/{TooltipParagraph.vue.es-OX6bAWP9.js → TooltipParagraph.vue.es-7IQdU3Tf.js} +1 -1
- package/dist/{TooltipParagraph.vue.es-Fu9Od3Vr.mjs → TooltipParagraph.vue.es-nGFfHF1A.mjs} +1 -1
- package/dist/{TrialChip.vue.es-CbjdkR4i.js → TrialChip.vue.es-DhC5Bpmy.js} +1 -1
- package/dist/{TrialChip.vue.es-c7tZOIW3.mjs → TrialChip.vue.es-eKgO6an3.mjs} +2 -2
- package/dist/{cn.es-C8Ogac5T.mjs → cn.es-BD7Afj5Q.mjs} +2 -2
- package/dist/{cn.es-lC4_Xd0R.js → cn.es-BLE3T5Rx.js} +1 -1
- 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-CSzbVZIH.js} +14 -14
- package/dist/{customElements-Df6dGrN-.mjs → customElements-DT1YyL4O.mjs} +637 -601
- package/dist/{customer-DoLHZuMG.js → customer-CJonIvSm.js} +1 -1
- package/dist/{customer-DmsKYpVi.mjs → customer-Cq4fF__H.mjs} +1 -1
- package/dist/{de-DE-Bgm9bnmp.mjs → de-DE-CyvjSD9b.mjs} +7 -2
- package/dist/{de-DE-CAL9Mji2.js → de-DE-DXsDvO5y.js} +1 -1
- package/dist/{en-US-_xe5H4TQ.js → en-US-DHdI11k9.js} +1 -1
- package/dist/{en-US-E86eRIxh.mjs → en-US-xQrWj8qI.mjs} +5 -0
- package/dist/index.cjs +1 -1
- package/dist/index.mjs +1 -1
- package/dist/{invoices-CrO6p4Ms.mjs → invoices-CVZOfEOY.mjs} +1 -1
- package/dist/{invoices-mw87cNTS.js → invoices-EamWI_jz.js} +1 -1
- package/dist/{it-IT-co1BfV5s.mjs → it-IT-C09oObBM.mjs} +5 -0
- package/dist/{it-IT-QFQ1Ajbb.js → it-IT-CcRIzP1A.js} +1 -1
- package/dist/{nl-NL-CJXJC1bx.js → nl-NL-5PrgQl8q.js} +1 -1
- package/dist/{nl-NL-Drv2E66B.mjs → nl-NL-BhNND_yi.mjs} +5 -0
- package/dist/{paymentMethods-CQdhZwq4.js → paymentMethods-Bwym8l9a.js} +1 -1
- package/dist/{paymentMethods-BNQbW_f1.mjs → paymentMethods-By1SebnO.mjs} +1 -1
- package/dist/{payments-VS_N2xpJ.mjs → payments-BYZLQTJ-.mjs} +1 -1
- package/dist/{payments-KTjVHqOa.js → payments-Dnjg9Se4.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-Dugd-oZ1.js → subscriptions-BKER9RUc.js} +1 -1
- package/dist/{subscriptions-U4xg2CO1.mjs → subscriptions-Gj3KgCZz.mjs} +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-CTyDGRX8.js → useActionDispatchProvider-DDHrhy3i.js} +1 -1
- package/dist/{useActionDispatchProvider-DyQbRCxR.mjs → useActionDispatchProvider-MjTckd4f.mjs} +1 -1
- package/dist/{useCustomer-BXI5Vmit.js → useCustomer-BW0DBEJh.js} +1 -1
- package/dist/{useCustomer-dcmU1539.mjs → useCustomer-CxnF7r8Z.mjs} +1 -1
- package/dist/{useCustomerFormLabels-Ct6vD_b8.js → useCustomerFormLabels-C773h3J0.js} +1 -1
- package/dist/{useCustomerFormLabels-BC1WfqWo.mjs → useCustomerFormLabels-zPc8QrwJ.mjs} +5 -5
- package/dist/{useExperimentalFeature-9-p9_nP6.js → useExperimentalFeature-9teNYGuP.js} +1 -1
- package/dist/{useExperimentalFeature-4Y-ppDr7.mjs → useExperimentalFeature-NsSDg-e3.mjs} +1 -1
- package/dist/{useInvoiceData-CGvtl7Ai.js → useInvoiceData-DvV2AsgC.js} +1 -1
- package/dist/{useInvoiceData-B2Z9aD2w.mjs → useInvoiceData-GQwk6fl4.mjs} +2 -2
- package/dist/{useInvoicesList-DJPznhig.mjs → useInvoicesList-CGmFSQSg.mjs} +7 -7
- package/dist/{useInvoicesList-Ba0GO8p-.js → useInvoicesList-Xnth6s6U.js} +1 -1
- package/dist/{useLoadInitialData-CWyI3_RR.mjs → useLoadInitialData-BvvaWeAe.mjs} +1 -1
- package/dist/{useLoadInitialData-BO9ZsSsF.js → useLoadInitialData-Cjkc70u-.js} +1 -1
- package/dist/{usePaymentMethodAvailability-DqIvkjLF.mjs → usePaymentMethodAvailability-BWaaj3N3.mjs} +4 -4
- package/dist/{usePaymentMethodAvailability-bkmDrPXY.js → usePaymentMethodAvailability-DKyscbom.js} +1 -1
- package/dist/{usePaymentMethodOptions-BPBVGNDg.js → usePaymentMethodOptions-DuXKS36F.js} +1 -1
- package/dist/{usePaymentMethodOptions-MSEp39xQ.mjs → usePaymentMethodOptions-l-wVAmIW.mjs} +1 -1
- package/dist/{usePaymentMethods-BAOtOJZD.js → usePaymentMethods-BDFVB-kK.js} +1 -1
- package/dist/{usePaymentMethods-U7gnZ0F5.mjs → usePaymentMethods-DvQVnsSV.mjs} +1 -1
- package/dist/{usePayments-G-HpKpK8.js → usePayments-CIJocDhR.js} +1 -1
- package/dist/{usePayments-Dq2V6bTV.mjs → usePayments-D_dyuf6S.mjs} +6 -6
- package/dist/{usePortal-BplmMkBG.js → usePortal-BU4ibdWq.js} +1 -1
- package/dist/{usePortal-CMHV-ShD.mjs → usePortal-Br5lYuPT.mjs} +1 -1
- package/dist/{useSubscription-V53WsZwQ.mjs → useSubscription-CqRae2I9.mjs} +1 -1
- package/dist/{useSubscription-CvB8ROBt.js → useSubscription-DRBUt9H5.js} +1 -1
- package/dist/{useTimePeriod.es-D31Zl1MJ.mjs → useTimePeriod.es-BxIGnCAP.mjs} +1 -1
- package/dist/{useTimePeriod.es-CtCTu9cz.js → useTimePeriod.es-DDos3-EH.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-CyZk9ofV.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 N, openBlock as A, createElementBlock as S, createVNode as C, unref as G, withCtx as K, createTextVNode as H, toDisplayString as O, ref as I, onMounted as Ee, onBeforeUnmount as fe, watch as Ae, Fragment as ge, createBlock as M, createCommentVNode as k, 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-DT1YyL4O.mjs";
|
|
4
|
+
import { _ as Pe, a as ve } from "./PaymentErrorCard.vue_vue_type_script_setup_true_lang-Dan29qmH.mjs";
|
|
5
|
+
import { c as Re } from "./payments-BYZLQTJ-.mjs";
|
|
6
|
+
import { g as J } from "./url-TNRgVI8A.mjs";
|
|
7
|
+
import { c as Oe } from "./paymentMethods-By1SebnO.mjs";
|
|
8
|
+
import { g as Me, t as ke, a as De, b as Se, R as Ce, P as Le, c as D, d as Q } from "./adyen-CvsH5fok.mjs";
|
|
9
|
+
import { l as we } from "./adyenSdk-B01MB9Ia.mjs";
|
|
10
|
+
import { u as xe } from "./useExperimentalFeature-NsSDg-e3.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,73 @@ 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: _ } = q(), m = N(
|
|
157
|
+
() => _({
|
|
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 = N(
|
|
163
|
+
() => u.billingEntityName ? _(
|
|
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
|
+
) : _({
|
|
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 = N(
|
|
176
|
+
() => u.billingEntityName ? _(
|
|
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
|
+
) : _({
|
|
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
|
+
);
|
|
189
|
+
return (E, p) => (A(), S("div", ze, [
|
|
190
|
+
C(G($), {
|
|
191
|
+
tag: "p",
|
|
192
|
+
variant: "body-xs",
|
|
193
|
+
class: "font-semibold"
|
|
194
|
+
}, {
|
|
195
|
+
default: K(() => [
|
|
196
|
+
H(O(m.value), 1)
|
|
197
|
+
]),
|
|
198
|
+
_: 1
|
|
199
|
+
}),
|
|
200
|
+
C(G($), {
|
|
201
|
+
tag: "p",
|
|
202
|
+
variant: "body-xs",
|
|
203
|
+
color: "subtle"
|
|
204
|
+
}, {
|
|
205
|
+
default: K(() => [
|
|
206
|
+
H(O(b.value) + " " + O(n.value), 1)
|
|
207
|
+
]),
|
|
208
|
+
_: 1
|
|
209
|
+
})
|
|
210
|
+
]));
|
|
211
|
+
}
|
|
212
|
+
}), T = "ADYEN", nt = /* @__PURE__ */ W({
|
|
141
213
|
__name: "PaymentIntegrationFormAdyen",
|
|
142
214
|
props: {
|
|
143
215
|
context: { type: Object },
|
|
@@ -151,69 +223,72 @@ const Re = (y) => {
|
|
|
151
223
|
validateOnSubmit: { type: Function, default: () => Promise.resolve(!0) },
|
|
152
224
|
forceStorePaymentMethod: { type: Boolean },
|
|
153
225
|
storePaymentMethod: { type: Boolean, default: void 0 },
|
|
154
|
-
redirectsOnSuccess: { type: Boolean }
|
|
226
|
+
redirectsOnSuccess: { type: Boolean },
|
|
227
|
+
billingEntityName: { type: String }
|
|
155
228
|
},
|
|
156
229
|
emits: ["select", "payment-failed", "payment-success", "ready"],
|
|
157
|
-
setup(
|
|
158
|
-
let m = null,
|
|
159
|
-
const
|
|
160
|
-
|
|
161
|
-
const
|
|
230
|
+
setup(d, { expose: u, emit: _ }) {
|
|
231
|
+
let m = null, b = null;
|
|
232
|
+
const n = d, E = _;
|
|
233
|
+
u({ submit: ae });
|
|
234
|
+
const p = I(), L = I(null), f = I(null);
|
|
235
|
+
let y;
|
|
236
|
+
const w = I(!1), P = I(), r = be(), { locale: X } = q(), { authorizePayment: ee, getPaymentDetails: te } = Re(), { tokenizePaymentMethod: ne } = Oe(), v = xe(), x = N(
|
|
162
237
|
() => {
|
|
163
238
|
var e;
|
|
164
|
-
return
|
|
165
|
-
excludeExpressPaymentMethods: !!((e =
|
|
239
|
+
return Me(n.paymentMethodOptionResponseEntry, {
|
|
240
|
+
excludeExpressPaymentMethods: !!((e = v == null ? void 0 : v.value) != null && e["express-checkout"])
|
|
166
241
|
});
|
|
167
242
|
}
|
|
168
|
-
),
|
|
169
|
-
function
|
|
170
|
-
return
|
|
171
|
-
gateway:
|
|
172
|
-
paymentAcceptorId:
|
|
173
|
-
variant:
|
|
174
|
-
invoiceId:
|
|
175
|
-
customerId:
|
|
243
|
+
), B = N(() => x.value.length > 0);
|
|
244
|
+
function c(e) {
|
|
245
|
+
return Be({
|
|
246
|
+
gateway: T,
|
|
247
|
+
paymentAcceptorId: n.paymentMethodOptionResponseEntry.payment_acceptor.id,
|
|
248
|
+
variant: n.variant,
|
|
249
|
+
invoiceId: n.invoiceId,
|
|
250
|
+
customerId: n.customerId,
|
|
176
251
|
...e
|
|
177
252
|
});
|
|
178
253
|
}
|
|
179
|
-
function
|
|
180
|
-
const t =
|
|
181
|
-
|
|
254
|
+
function h(e) {
|
|
255
|
+
const t = Fe(e);
|
|
256
|
+
P.value = t, E("payment-failed", t);
|
|
182
257
|
}
|
|
183
|
-
function
|
|
258
|
+
function ae() {
|
|
184
259
|
try {
|
|
185
260
|
m == null || m.submit();
|
|
186
261
|
} catch (e) {
|
|
187
262
|
r.error(
|
|
188
263
|
"ADYEN_SUBMIT_FAILED",
|
|
189
264
|
"Failed to submit Adyen drop-in",
|
|
190
|
-
|
|
265
|
+
c({ reason: "ADYEN_SUBMIT_FAILED", cause: e }),
|
|
191
266
|
e
|
|
192
267
|
);
|
|
193
268
|
}
|
|
194
269
|
}
|
|
195
|
-
async function
|
|
196
|
-
const e =
|
|
270
|
+
async function oe() {
|
|
271
|
+
const e = ke(n.amount), t = x.value;
|
|
197
272
|
return {
|
|
198
273
|
checkoutConfig: {
|
|
199
274
|
amount: e,
|
|
200
|
-
clientKey:
|
|
201
|
-
|
|
275
|
+
clientKey: Se(
|
|
276
|
+
n.paymentMethodOptionResponseEntry
|
|
202
277
|
),
|
|
203
|
-
environment:
|
|
204
|
-
|
|
278
|
+
environment: De(
|
|
279
|
+
n.paymentMethodOptionResponseEntry,
|
|
205
280
|
r
|
|
206
281
|
),
|
|
207
|
-
locale:
|
|
208
|
-
translations:
|
|
209
|
-
countryCode:
|
|
282
|
+
locale: X,
|
|
283
|
+
translations: Ze(n.variant),
|
|
284
|
+
countryCode: n.countryCode,
|
|
210
285
|
analytics: { enabled: !1 },
|
|
211
286
|
paymentMethodsResponse: { paymentMethods: t },
|
|
212
|
-
onSubmit:
|
|
213
|
-
onAdditionalDetails:
|
|
214
|
-
onPaymentCompleted:
|
|
215
|
-
onPaymentFailed:
|
|
216
|
-
onError:
|
|
287
|
+
onSubmit: ce,
|
|
288
|
+
onAdditionalDetails: me,
|
|
289
|
+
onPaymentCompleted: le,
|
|
290
|
+
onPaymentFailed: ye,
|
|
291
|
+
onError: he,
|
|
217
292
|
showPayButton: !1
|
|
218
293
|
},
|
|
219
294
|
dropInConfig: {
|
|
@@ -222,67 +297,81 @@ const Re = (y) => {
|
|
|
222
297
|
card: {
|
|
223
298
|
hasHolderName: !0,
|
|
224
299
|
holderNameRequired: !0,
|
|
225
|
-
enableStoreDetails: !
|
|
300
|
+
enableStoreDetails: !n.forceStorePaymentMethod && n.storePaymentMethod === void 0 && n.variant === "AUTHORIZE"
|
|
226
301
|
},
|
|
227
302
|
paypal: {
|
|
228
303
|
intent: e.value > 0 ? "authorize" : "tokenize",
|
|
229
304
|
showPayButton: !0
|
|
230
305
|
}
|
|
231
306
|
},
|
|
232
|
-
openFirstPaymentMethod:
|
|
307
|
+
openFirstPaymentMethod: n.selected,
|
|
233
308
|
onSelect: ({ props: { type: o } }) => {
|
|
234
|
-
o &&
|
|
309
|
+
o && E("select", { paymentMethodType: o, paymentGatewayVariant: "ADYEN" });
|
|
235
310
|
},
|
|
236
|
-
onReady: () =>
|
|
311
|
+
onReady: () => E("ready")
|
|
237
312
|
}
|
|
238
313
|
};
|
|
239
314
|
}
|
|
240
|
-
function
|
|
315
|
+
function re() {
|
|
241
316
|
return Promise.all([
|
|
242
|
-
|
|
317
|
+
we(),
|
|
243
318
|
import("./adyen-Bugab0JE.mjs").then((e) => e.default)
|
|
244
319
|
]);
|
|
245
320
|
}
|
|
246
|
-
async function
|
|
247
|
-
if (await
|
|
248
|
-
const { payment_acceptor: e, integration: t } =
|
|
321
|
+
async function F() {
|
|
322
|
+
if (await Y(), P.value = void 0, !B.value) {
|
|
323
|
+
const { payment_acceptor: e, integration: t } = n.paymentMethodOptionResponseEntry;
|
|
249
324
|
r.warn("PAYMENT_INTEGRATION_NOT_RENDERABLE", "No Adyen payment methods to offer", {
|
|
250
325
|
fingerprint: ["PAYMENT_INTEGRATION_NOT_RENDERABLE", e.id],
|
|
251
326
|
paymentAcceptorId: e.id,
|
|
252
327
|
integrationId: t.id,
|
|
253
|
-
...
|
|
328
|
+
...n.invoiceId ? { invoiceId: n.invoiceId } : {}
|
|
254
329
|
});
|
|
255
330
|
return;
|
|
256
331
|
}
|
|
257
|
-
if (await
|
|
332
|
+
if (await V(), !!p.value)
|
|
258
333
|
try {
|
|
259
|
-
const [e, t] = await
|
|
260
|
-
|
|
261
|
-
...
|
|
334
|
+
const [e, t] = await re(), { checkoutConfig: o, dropInConfig: a } = await oe();
|
|
335
|
+
b = await e.AdyenCheckout(o), m = new e.Dropin(b, {
|
|
336
|
+
...a,
|
|
262
337
|
paymentMethodComponents: e.dropInPaymentMethodComponents
|
|
263
|
-
}).mount(
|
|
338
|
+
}).mount(p.value), de(t), ie();
|
|
264
339
|
} catch (e) {
|
|
265
340
|
r.error(
|
|
266
341
|
"PAYMENT_INTEGRATION_INITIALIZATION_FAILED",
|
|
267
342
|
"Failed to mount Adyen web drop-in",
|
|
268
|
-
|
|
343
|
+
c({ reason: "ADYEN_DROP_IN_MOUNT_FAILED", cause: e }),
|
|
269
344
|
e
|
|
270
|
-
),
|
|
345
|
+
), h({
|
|
271
346
|
code: "PAYMENT_INTEGRATION_INITIALIZATION_FAILED",
|
|
272
347
|
message: "Failed to mount Adyen web drop-in",
|
|
273
348
|
error: e
|
|
274
349
|
});
|
|
275
350
|
}
|
|
276
351
|
}
|
|
277
|
-
|
|
278
|
-
|
|
352
|
+
function U() {
|
|
353
|
+
const e = Ye(p.value);
|
|
354
|
+
if (je(e, L.value)) {
|
|
355
|
+
f.value = null, V(() => f.value = e);
|
|
356
|
+
return;
|
|
357
|
+
}
|
|
358
|
+
f.value = e;
|
|
359
|
+
}
|
|
360
|
+
function ie() {
|
|
361
|
+
y == null || y.disconnect(), p.value && (y = new MutationObserver(() => U()), y.observe(p.value, { childList: !0, subtree: !0 }), U());
|
|
362
|
+
}
|
|
363
|
+
function se() {
|
|
364
|
+
y == null || y.disconnect(), y = void 0, f.value = null;
|
|
365
|
+
}
|
|
366
|
+
async function Y() {
|
|
367
|
+
se(), m && (m.unmount(), m = null), p.value && (p.value.innerHTML = "");
|
|
279
368
|
}
|
|
280
|
-
function
|
|
369
|
+
function de(e) {
|
|
281
370
|
var o;
|
|
282
|
-
const t = (o =
|
|
371
|
+
const t = (o = p.value) == null ? void 0 : o.getRootNode();
|
|
283
372
|
if (t instanceof ShadowRoot) {
|
|
284
|
-
const
|
|
285
|
-
|
|
373
|
+
const a = document.createElement("style");
|
|
374
|
+
a.textContent = e, t.appendChild(a);
|
|
286
375
|
const i = document.createElement("style");
|
|
287
376
|
i.textContent = `
|
|
288
377
|
:host {
|
|
@@ -377,22 +466,22 @@ const Re = (y) => {
|
|
|
377
466
|
.adyen-checkout__checkbox__input + .adyen-checkout__checkbox__label:after {
|
|
378
467
|
border-color: rgb(229, 231, 235);
|
|
379
468
|
}
|
|
380
|
-
`,
|
|
469
|
+
`, n.variant === "AUTHORIZE" && (i.textContent += `
|
|
381
470
|
.adyen-checkout__payment-method--cashapp .adyen-checkout-pm-details-wrapper {
|
|
382
471
|
display: none;
|
|
383
472
|
}
|
|
384
473
|
`), t.appendChild(i);
|
|
385
474
|
}
|
|
386
475
|
}
|
|
387
|
-
function
|
|
476
|
+
function j(e, {
|
|
388
477
|
paymentMethodType: t,
|
|
389
478
|
actions: o,
|
|
390
|
-
logFailure:
|
|
479
|
+
logFailure: a
|
|
391
480
|
}) {
|
|
392
|
-
if (e.status === "ACTION_REQUIRED" && e.action.payment_gateway_variant ===
|
|
393
|
-
const i =
|
|
481
|
+
if (e.status === "ACTION_REQUIRED" && e.action.payment_gateway_variant === T) {
|
|
482
|
+
const i = ue(e, t);
|
|
394
483
|
if (!i) {
|
|
395
|
-
|
|
484
|
+
a(e);
|
|
396
485
|
return;
|
|
397
486
|
}
|
|
398
487
|
m.handleAction(i), o.resolve({
|
|
@@ -402,263 +491,263 @@ const Re = (y) => {
|
|
|
402
491
|
return;
|
|
403
492
|
}
|
|
404
493
|
if (e.payment.result === "AUTHORIZED") {
|
|
405
|
-
|
|
494
|
+
w.value = !0, o.resolve({ resultCode: "Authorised" });
|
|
406
495
|
return;
|
|
407
496
|
}
|
|
408
|
-
|
|
497
|
+
a(e), o.resolve({ resultCode: "Error" });
|
|
409
498
|
}
|
|
410
|
-
function
|
|
411
|
-
const [t, o,
|
|
412
|
-
|
|
499
|
+
function ce(...e) {
|
|
500
|
+
const [t, o, a] = e;
|
|
501
|
+
n.validateOnSubmit().then((i) => {
|
|
413
502
|
if (!i)
|
|
414
503
|
return;
|
|
415
|
-
const
|
|
416
|
-
risk_data:
|
|
417
|
-
payment_method:
|
|
418
|
-
browser_info:
|
|
504
|
+
const s = n.paymentMethodOptionResponseEntry.payment_acceptor.id, z = {
|
|
505
|
+
risk_data: D(t.data.riskData),
|
|
506
|
+
payment_method: D(t.data.paymentMethod),
|
|
507
|
+
browser_info: D(t.data.browserInfo)
|
|
419
508
|
};
|
|
420
|
-
if (
|
|
421
|
-
const
|
|
422
|
-
paymentAcceptorId:
|
|
509
|
+
if (n.variant === "AUTHORIZE") {
|
|
510
|
+
const R = Q({
|
|
511
|
+
paymentAcceptorId: n.paymentMethodOptionResponseEntry.payment_acceptor.id,
|
|
423
512
|
redirectUrl: window.location.href
|
|
424
513
|
});
|
|
425
|
-
|
|
426
|
-
payment_acceptor_id:
|
|
427
|
-
...
|
|
428
|
-
payment_gateway_variant:
|
|
514
|
+
ee({
|
|
515
|
+
payment_acceptor_id: s,
|
|
516
|
+
...n.customerId ? { customer_id: n.customerId } : {},
|
|
517
|
+
payment_gateway_variant: T,
|
|
429
518
|
adyen: {
|
|
430
|
-
...
|
|
431
|
-
store_payment_method:
|
|
519
|
+
...z,
|
|
520
|
+
store_payment_method: n.storePaymentMethod ?? (n.forceStorePaymentMethod || t.data.storePaymentMethod)
|
|
432
521
|
},
|
|
433
|
-
amount:
|
|
434
|
-
...
|
|
435
|
-
return_url:
|
|
522
|
+
amount: n.amount,
|
|
523
|
+
...n.context ? { context: n.context } : {},
|
|
524
|
+
return_url: R
|
|
436
525
|
}).then(
|
|
437
|
-
(
|
|
526
|
+
(l) => j(l, {
|
|
438
527
|
paymentMethodType: t.data.paymentMethod.type,
|
|
439
|
-
actions:
|
|
440
|
-
logFailure: (
|
|
528
|
+
actions: a,
|
|
529
|
+
logFailure: (g) => r.error(
|
|
441
530
|
"PAYMENT_AUTHORIZATION_FAILED",
|
|
442
|
-
`Failed payment authorization for payment acceptor with id ${
|
|
443
|
-
|
|
531
|
+
`Failed payment authorization for payment acceptor with id ${s}`,
|
|
532
|
+
c({
|
|
444
533
|
reason: "PAYMENT_AUTHORIZATION_REJECTED",
|
|
445
534
|
paymentMethodType: t.data.paymentMethod.type,
|
|
446
|
-
cause:
|
|
535
|
+
cause: g
|
|
447
536
|
}),
|
|
448
|
-
|
|
537
|
+
g
|
|
449
538
|
)
|
|
450
539
|
})
|
|
451
|
-
).catch((
|
|
540
|
+
).catch((l) => {
|
|
452
541
|
r.error(
|
|
453
542
|
"PAYMENT_AUTHORIZATION_FAILED",
|
|
454
|
-
`Failed payment authorization for payment acceptor with id ${
|
|
455
|
-
|
|
543
|
+
`Failed payment authorization for payment acceptor with id ${s}`,
|
|
544
|
+
c({
|
|
456
545
|
reason: "PAYMENT_AUTHORIZATION_FAILED",
|
|
457
546
|
paymentMethodType: t.data.paymentMethod.type,
|
|
458
|
-
cause:
|
|
547
|
+
cause: l
|
|
459
548
|
}),
|
|
460
|
-
|
|
461
|
-
),
|
|
549
|
+
l
|
|
550
|
+
), a.resolve({ resultCode: "Error" });
|
|
462
551
|
});
|
|
463
552
|
return;
|
|
464
553
|
}
|
|
465
|
-
if (
|
|
466
|
-
const
|
|
467
|
-
paymentAcceptorId:
|
|
554
|
+
if (n.variant === "TOKENIZE") {
|
|
555
|
+
const R = Q({
|
|
556
|
+
paymentAcceptorId: n.paymentMethodOptionResponseEntry.payment_acceptor.id,
|
|
468
557
|
redirectUrl: window.location.href
|
|
469
558
|
});
|
|
470
|
-
if (!
|
|
559
|
+
if (!n.customerId) {
|
|
471
560
|
r.error(
|
|
472
561
|
"TOKENIZATION_FAILED",
|
|
473
|
-
`Missing customer id for payment acceptor with id ${
|
|
474
|
-
|
|
475
|
-
),
|
|
562
|
+
`Missing customer id for payment acceptor with id ${s}`,
|
|
563
|
+
c({ reason: "TOKENIZATION_FAILED_NO_CUSTOMER" })
|
|
564
|
+
), h({ code: "TOKENIZE_FAILED", message: "Missing customer id" });
|
|
476
565
|
return;
|
|
477
566
|
}
|
|
478
|
-
|
|
479
|
-
customer_id:
|
|
480
|
-
payment_acceptor_id:
|
|
481
|
-
payment_gateway_variant:
|
|
482
|
-
adyen:
|
|
483
|
-
return_url:
|
|
567
|
+
ne({
|
|
568
|
+
customer_id: n.customerId,
|
|
569
|
+
payment_acceptor_id: s,
|
|
570
|
+
payment_gateway_variant: T,
|
|
571
|
+
adyen: z,
|
|
572
|
+
return_url: R
|
|
484
573
|
}).then(
|
|
485
|
-
(
|
|
574
|
+
(l) => j(l, {
|
|
486
575
|
paymentMethodType: t.data.paymentMethod.type,
|
|
487
|
-
actions:
|
|
488
|
-
logFailure: (
|
|
576
|
+
actions: a,
|
|
577
|
+
logFailure: (g) => r.error(
|
|
489
578
|
"TOKENIZATION_FAILED",
|
|
490
|
-
`Tokenization failed for payment acceptor with id ${
|
|
491
|
-
|
|
579
|
+
`Tokenization failed for payment acceptor with id ${s}`,
|
|
580
|
+
c({
|
|
492
581
|
reason: "TOKENIZATION_REJECTED",
|
|
493
582
|
paymentMethodType: t.data.paymentMethod.type,
|
|
494
|
-
cause:
|
|
583
|
+
cause: g
|
|
495
584
|
}),
|
|
496
|
-
|
|
585
|
+
g
|
|
497
586
|
)
|
|
498
587
|
})
|
|
499
|
-
).catch((
|
|
588
|
+
).catch((l) => {
|
|
500
589
|
r.error(
|
|
501
590
|
"TOKENIZATION_FAILED",
|
|
502
|
-
`Tokenization failed for payment acceptor with id ${
|
|
503
|
-
|
|
591
|
+
`Tokenization failed for payment acceptor with id ${s}`,
|
|
592
|
+
c({
|
|
504
593
|
reason: "TOKENIZATION_FAILED",
|
|
505
594
|
paymentMethodType: t.data.paymentMethod.type,
|
|
506
|
-
cause:
|
|
595
|
+
cause: l
|
|
507
596
|
}),
|
|
508
|
-
|
|
509
|
-
),
|
|
597
|
+
l
|
|
598
|
+
), a.resolve({ resultCode: "Error" });
|
|
510
599
|
});
|
|
511
600
|
}
|
|
512
601
|
}).catch((i) => {
|
|
513
602
|
r.error(
|
|
514
603
|
"INTEGRATION_ERROR",
|
|
515
604
|
"Unhandled error in payment submission flow",
|
|
516
|
-
|
|
605
|
+
c({ reason: "ADYEN_SUBMISSION_FLOW_FAILED", cause: i }),
|
|
517
606
|
i
|
|
518
607
|
);
|
|
519
608
|
});
|
|
520
609
|
}
|
|
521
|
-
function
|
|
610
|
+
function ue(e, t) {
|
|
522
611
|
if (e.status !== "ACTION_REQUIRED")
|
|
523
612
|
return;
|
|
524
613
|
const o = e.action;
|
|
525
614
|
if (o.payment_gateway_variant != "ADYEN")
|
|
526
615
|
return;
|
|
527
|
-
const
|
|
616
|
+
const a = o.adyen;
|
|
528
617
|
return {
|
|
529
|
-
paymentMethodType: (
|
|
618
|
+
paymentMethodType: (a == null ? void 0 : a.payment_method_type) ?? t,
|
|
530
619
|
method: o.method,
|
|
531
620
|
url: o.url,
|
|
532
621
|
data: o.data,
|
|
533
|
-
type:
|
|
534
|
-
paymentData:
|
|
535
|
-
sdkData:
|
|
622
|
+
type: a == null ? void 0 : a.action_type,
|
|
623
|
+
paymentData: a == null ? void 0 : a.payment_data,
|
|
624
|
+
sdkData: a == null ? void 0 : a.sdk_data
|
|
536
625
|
};
|
|
537
626
|
}
|
|
538
|
-
function
|
|
539
|
-
const [t] = e, o = t.data.details,
|
|
540
|
-
if (
|
|
541
|
-
|
|
627
|
+
function me(...e) {
|
|
628
|
+
const [t] = e, o = t.data.details, a = t.data.paymentData;
|
|
629
|
+
if (n.paymentMethodOptionResponseEntry.payment_acceptor.id) {
|
|
630
|
+
Z({
|
|
542
631
|
// 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:
|
|
632
|
+
detailsResult: o ? pe(o) : void 0,
|
|
633
|
+
paymentDataResult: a,
|
|
634
|
+
paymentAcceptorId: n.paymentMethodOptionResponseEntry.payment_acceptor.id
|
|
546
635
|
});
|
|
547
636
|
return;
|
|
548
637
|
}
|
|
549
638
|
r.error(
|
|
550
639
|
"PAYMENT_ACCEPTOR_MISSING",
|
|
551
640
|
"Additional details arrived without a payment acceptor id",
|
|
552
|
-
|
|
553
|
-
),
|
|
641
|
+
c({ reason: "PAYMENT_ACCEPTOR_MISSING" })
|
|
642
|
+
), h({
|
|
554
643
|
code: "REDIRECT_RESULT_PAYMENT_ACCEPTOR_MISSING",
|
|
555
644
|
message: "Payment failed",
|
|
556
645
|
error: e
|
|
557
646
|
});
|
|
558
647
|
}
|
|
559
|
-
function
|
|
648
|
+
function pe(e) {
|
|
560
649
|
return Object.fromEntries(
|
|
561
650
|
Object.entries(e).filter(([, t]) => t != null)
|
|
562
651
|
);
|
|
563
652
|
}
|
|
564
|
-
function
|
|
653
|
+
function ye(...e) {
|
|
565
654
|
const [t] = e;
|
|
566
655
|
r.error(
|
|
567
656
|
"ADYEN_PAYMENT_FAILED",
|
|
568
657
|
"Adyen reported the payment as failed",
|
|
569
|
-
|
|
658
|
+
c({
|
|
570
659
|
reason: "ADYEN_PAYMENT_FAILED",
|
|
571
660
|
extra: { resultCode: t == null ? void 0 : t.resultCode }
|
|
572
661
|
}),
|
|
573
662
|
t
|
|
574
|
-
),
|
|
663
|
+
), h({ code: "AUTHORIZATION_FAILED", message: "Payment failed", error: t });
|
|
575
664
|
}
|
|
576
|
-
function
|
|
665
|
+
function le(...e) {
|
|
577
666
|
const [, t] = e;
|
|
578
|
-
t == null || t.unmount(),
|
|
667
|
+
t == null || t.unmount(), E("payment-success");
|
|
579
668
|
}
|
|
580
|
-
function
|
|
669
|
+
function he(...e) {
|
|
581
670
|
const [t, o] = e;
|
|
582
671
|
t.name !== "CANCEL" && (r.error(
|
|
583
672
|
"INTEGRATION_ERROR",
|
|
584
673
|
"The Adyen drop-in reported an error",
|
|
585
|
-
|
|
674
|
+
c({
|
|
586
675
|
reason: "ADYEN_INTEGRATION_ERROR",
|
|
587
676
|
cause: t,
|
|
588
677
|
extra: { adyenErrorName: t.name }
|
|
589
678
|
}),
|
|
590
679
|
t
|
|
591
|
-
),
|
|
680
|
+
), h({ code: "UNKNOWN_ERROR", message: "Something went wrong", error: t }), o == null || o.unmount());
|
|
592
681
|
}
|
|
593
|
-
function
|
|
682
|
+
function Z({
|
|
594
683
|
detailsResult: e,
|
|
595
684
|
threeDSResult: t,
|
|
596
685
|
redirectResult: o,
|
|
597
|
-
paymentDataResult:
|
|
686
|
+
paymentDataResult: a,
|
|
598
687
|
paymentAcceptorId: i
|
|
599
688
|
}) {
|
|
600
|
-
|
|
689
|
+
te({
|
|
601
690
|
paymentAcceptorId: i,
|
|
602
|
-
paymentGatewayVariant:
|
|
691
|
+
paymentGatewayVariant: T,
|
|
603
692
|
adyen: {
|
|
604
693
|
...e ? { details: e } : {},
|
|
605
694
|
...o ? { redirect_result: o } : {},
|
|
606
695
|
...t ? { threeds_result: t } : {},
|
|
607
|
-
...
|
|
696
|
+
...a ? { payment_data: a } : {}
|
|
608
697
|
}
|
|
609
|
-
}).then((
|
|
610
|
-
if (
|
|
698
|
+
}).then((s) => {
|
|
699
|
+
if (s.payment_status === "FAILURE") {
|
|
611
700
|
r.error(
|
|
612
701
|
"PAYMENT_DETAILS_REJECTED",
|
|
613
702
|
"Payment details returned a failed payment",
|
|
614
|
-
|
|
703
|
+
c({
|
|
615
704
|
reason: "PAYMENT_DETAILS_REJECTED",
|
|
616
705
|
paymentAcceptorId: i,
|
|
617
|
-
extra: { paymentStatus:
|
|
706
|
+
extra: { paymentStatus: s.payment_status }
|
|
618
707
|
})
|
|
619
|
-
),
|
|
708
|
+
), h({
|
|
620
709
|
code: "AUTHORIZATION_FAILED",
|
|
621
710
|
message: "Failed getting payment details",
|
|
622
|
-
error:
|
|
711
|
+
error: s
|
|
623
712
|
});
|
|
624
713
|
return;
|
|
625
714
|
}
|
|
626
|
-
if (
|
|
627
|
-
|
|
715
|
+
if (s.payment_status === "SUCCESS") {
|
|
716
|
+
E("payment-success");
|
|
628
717
|
return;
|
|
629
718
|
}
|
|
630
|
-
}).catch((
|
|
719
|
+
}).catch((s) => {
|
|
631
720
|
r.error(
|
|
632
721
|
"PAYMENT_DETAILS_CALL_FAILED",
|
|
633
722
|
"Failed fetching payment details",
|
|
634
|
-
|
|
723
|
+
c({
|
|
635
724
|
reason: "PAYMENT_DETAILS_CALL_FAILED",
|
|
636
725
|
paymentAcceptorId: i,
|
|
637
|
-
cause:
|
|
726
|
+
cause: s
|
|
638
727
|
}),
|
|
639
|
-
|
|
640
|
-
),
|
|
728
|
+
s
|
|
729
|
+
), h({
|
|
641
730
|
code: "PAYMENT_DETAILS_CALL_FAILED",
|
|
642
731
|
message: "Failed fetching payment details",
|
|
643
|
-
error:
|
|
732
|
+
error: s
|
|
644
733
|
});
|
|
645
734
|
});
|
|
646
735
|
}
|
|
647
|
-
function
|
|
648
|
-
const e =
|
|
736
|
+
function _e() {
|
|
737
|
+
const e = J(Ce), t = J(Le);
|
|
649
738
|
if (e) {
|
|
650
739
|
if (!t) {
|
|
651
740
|
r.error(
|
|
652
741
|
"INVALID_REDIRECT_RESULT",
|
|
653
742
|
"Redirect result is set but payment acceptor id is missing",
|
|
654
|
-
|
|
655
|
-
),
|
|
743
|
+
c({ reason: "INVALID_REDIRECT_RESULT" })
|
|
744
|
+
), h({
|
|
656
745
|
code: "REDIRECT_RESULT_PAYMENT_ACCEPTOR_MISSING",
|
|
657
746
|
message: "Redirect result is set but payment acceptor id is missing"
|
|
658
747
|
});
|
|
659
748
|
return;
|
|
660
749
|
}
|
|
661
|
-
|
|
750
|
+
Z({
|
|
662
751
|
paymentAcceptorId: t,
|
|
663
752
|
detailsResult: {
|
|
664
753
|
redirectResult: decodeURI(e)
|
|
@@ -666,33 +755,44 @@ const Re = (y) => {
|
|
|
666
755
|
});
|
|
667
756
|
}
|
|
668
757
|
}
|
|
669
|
-
return
|
|
670
|
-
|
|
671
|
-
}),
|
|
672
|
-
|
|
673
|
-
}),
|
|
674
|
-
() =>
|
|
758
|
+
return Ee(() => {
|
|
759
|
+
F(), _e();
|
|
760
|
+
}), fe(() => {
|
|
761
|
+
Y();
|
|
762
|
+
}), Ae(
|
|
763
|
+
() => n.paymentMethodOptionResponseEntry,
|
|
675
764
|
(e, t) => {
|
|
676
|
-
|
|
765
|
+
Ne(e, t) || F();
|
|
677
766
|
},
|
|
678
767
|
{ deep: !0 }
|
|
679
|
-
), (e, t) => (A(), S(
|
|
680
|
-
|
|
768
|
+
), (e, t) => (A(), S(ge, null, [
|
|
769
|
+
w.value ? (A(), M(Pe, {
|
|
681
770
|
key: 0,
|
|
682
|
-
variant:
|
|
683
|
-
redirecting:
|
|
684
|
-
}, null, 8, ["variant", "redirecting"])) :
|
|
771
|
+
variant: d.variant,
|
|
772
|
+
redirecting: d.redirectsOnSuccess
|
|
773
|
+
}, null, 8, ["variant", "redirecting"])) : P.value ? (A(), M(ve, {
|
|
685
774
|
key: 1,
|
|
686
|
-
error:
|
|
687
|
-
}, null, 8, ["error"])) :
|
|
688
|
-
|
|
775
|
+
error: P.value
|
|
776
|
+
}, null, 8, ["error"])) : k("", !0),
|
|
777
|
+
B.value ? (A(), S("div", {
|
|
689
778
|
key: 2,
|
|
690
779
|
ref_key: "dropInContainerRef",
|
|
691
|
-
ref:
|
|
692
|
-
}, null, 512)) :
|
|
780
|
+
ref: p
|
|
781
|
+
}, null, 512)) : k("", !0),
|
|
782
|
+
f.value ? (A(), M(Ie, {
|
|
783
|
+
key: 3,
|
|
784
|
+
to: f.value
|
|
785
|
+
}, [
|
|
786
|
+
Te("div", {
|
|
787
|
+
ref_key: "sepaNoticeRef",
|
|
788
|
+
ref: L
|
|
789
|
+
}, [
|
|
790
|
+
C(Ge, { "billing-entity-name": d.billingEntityName }, null, 8, ["billing-entity-name"])
|
|
791
|
+
], 512)
|
|
792
|
+
], 8, ["to"])) : k("", !0)
|
|
693
793
|
], 64));
|
|
694
794
|
}
|
|
695
795
|
});
|
|
696
796
|
export {
|
|
697
|
-
|
|
797
|
+
nt as default
|
|
698
798
|
};
|