@adyen/adyen-web 6.45.1 → 6.46.0-alpha.7c7199d
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/adyen.css +7 -7
- package/dist/cjs/adyen.css.map +1 -1
- package/dist/cjs/index.cjs +2 -2
- package/dist/cjs/index.cjs.map +1 -1
- package/dist/cjs/index.d.cts +136 -71
- package/dist/es/adyen.css +7 -7
- package/dist/es/adyen.css.map +1 -1
- package/dist/es/components/ANCV/ANCV.js +1 -1
- package/dist/es/components/ANCV/ANCV.js.map +1 -1
- package/dist/es/components/ANCV/components/ANCVInput.js +1 -1
- package/dist/es/components/ANCV/components/ANCVInput.js.map +1 -1
- package/dist/es/components/Ach/Ach.js +1 -1
- package/dist/es/components/Ach/Ach.js.map +1 -1
- package/dist/es/components/Ach/components/AchComponent.js +1 -1
- package/dist/es/components/Ach/components/AchComponent.js.map +1 -1
- package/dist/es/components/Ach/components/useSRPanelForACHErrors.js.map +1 -1
- package/dist/es/components/AmazonPay/AmazonPay.js +1 -1
- package/dist/es/components/AmazonPay/AmazonPay.js.map +1 -1
- package/dist/es/components/ApplePay/ApplePay.js.map +1 -1
- package/dist/es/components/BacsDD/BacsDD.js +1 -1
- package/dist/es/components/BacsDD/BacsDD.js.map +1 -1
- package/dist/es/components/BacsDD/components/BacsInput.js +1 -1
- package/dist/es/components/BacsDD/components/BacsInput.js.map +1 -1
- package/dist/es/components/BankTransfer/BankTransfer.js +1 -1
- package/dist/es/components/BankTransfer/BankTransfer.js.map +1 -1
- package/dist/es/components/Blik/Blik.js +1 -1
- package/dist/es/components/Blik/Blik.js.map +1 -1
- package/dist/es/components/Blik/components/BlikInput.js +1 -1
- package/dist/es/components/Blik/components/BlikInput.js.map +1 -1
- package/dist/es/components/Boleto/components/BoletoInput/BoletoInput.js +1 -1
- package/dist/es/components/Boleto/components/BoletoInput/BoletoInput.js.map +1 -1
- package/dist/es/components/Card/Card.js +1 -1
- package/dist/es/components/Card/Card.js.map +1 -1
- package/dist/es/components/Card/components/CardInput/CardInput.js +1 -1
- package/dist/es/components/Card/components/CardInput/CardInput.js.map +1 -1
- package/dist/es/components/Card/components/CardInput/components/CardFieldsWrapper.js +1 -1
- package/dist/es/components/Card/components/CardInput/components/CardFieldsWrapper.js.map +1 -1
- package/dist/es/components/Card/components/CardInput/components/StoredCardFieldsWrapper.js +1 -1
- package/dist/es/components/Card/components/CardInput/components/StoredCardFieldsWrapper.js.map +1 -1
- package/dist/es/components/Card/components/CardInput/types.js.map +1 -1
- package/dist/es/components/Card/components/CardInput/utils.js +1 -1
- package/dist/es/components/Card/components/CardInput/utils.js.map +1 -1
- package/dist/es/components/CashAppPay/CashAppPay.js +1 -1
- package/dist/es/components/CashAppPay/CashAppPay.js.map +1 -1
- package/dist/es/components/CustomCard/CustomCard.js +1 -1
- package/dist/es/components/CustomCard/CustomCard.js.map +1 -1
- package/dist/es/components/Doku/components/DokuInput/DokuInput.js +1 -1
- package/dist/es/components/Doku/components/DokuInput/DokuInput.js.map +1 -1
- package/dist/es/components/Dragonpay/Dragonpay.js +1 -1
- package/dist/es/components/Dragonpay/Dragonpay.js.map +1 -1
- package/dist/es/components/Dragonpay/components/DragonpayInput/DragonpayInput.js +1 -1
- package/dist/es/components/Dragonpay/components/DragonpayInput/DragonpayInput.js.map +1 -1
- package/dist/es/components/Dropin/Dropin.js +1 -1
- package/dist/es/components/Dropin/Dropin.js.map +1 -1
- package/dist/es/components/Econtext/Econtext.js +1 -1
- package/dist/es/components/Econtext/Econtext.js.map +1 -1
- package/dist/es/components/Econtext/components/EcontextInput/EcontextInput.js +1 -1
- package/dist/es/components/Econtext/components/EcontextInput/EcontextInput.js.map +1 -1
- package/dist/es/components/Giftcard/Giftcard.js +1 -1
- package/dist/es/components/Giftcard/Giftcard.js.map +1 -1
- package/dist/es/components/Giftcard/components/GiftcardComponent.js +1 -1
- package/dist/es/components/Giftcard/components/GiftcardComponent.js.map +1 -1
- package/dist/es/components/Giftcard/components/GiftcardResult.js +1 -1
- package/dist/es/components/Giftcard/components/GiftcardResult.js.map +1 -1
- package/dist/es/components/Giropay/Giropay.js +1 -1
- package/dist/es/components/Giropay/Giropay.js.map +1 -1
- package/dist/es/components/Iris/Iris.js +1 -1
- package/dist/es/components/Iris/Iris.js.map +1 -1
- package/dist/es/components/Iris/components/IrisComponent.js +1 -1
- package/dist/es/components/Iris/components/IrisComponent.js.map +1 -1
- package/dist/es/components/Iris/components/IrisGenerateQRCode.js +1 -1
- package/dist/es/components/Iris/components/IrisGenerateQRCode.js.map +1 -1
- package/dist/es/components/Klarna/KlarnaPayments.js +1 -1
- package/dist/es/components/Klarna/KlarnaPayments.js.map +1 -1
- package/dist/es/components/Klarna/components/KlarnaContainer/KlarnaContainer.js +1 -1
- package/dist/es/components/Klarna/components/KlarnaContainer/KlarnaContainer.js.map +1 -1
- package/dist/es/components/MBWay/components/MBWayInput/MBWayInput.js +1 -1
- package/dist/es/components/MBWay/components/MBWayInput/MBWayInput.js.map +1 -1
- package/dist/es/components/Multibanco/Multibanco.js +1 -1
- package/dist/es/components/Multibanco/Multibanco.js.map +1 -1
- package/dist/es/components/Oxxo/Oxxo.js +1 -1
- package/dist/es/components/Oxxo/Oxxo.js.map +1 -1
- package/dist/es/components/PayByBankPix/PayByBankPix.js +1 -1
- package/dist/es/components/PayByBankPix/PayByBankPix.js.map +1 -1
- package/dist/es/components/PayByBankPix/components/Enrollment/Enrollment.js +1 -1
- package/dist/es/components/PayByBankPix/components/Enrollment/Enrollment.js.map +1 -1
- package/dist/es/components/PayByBankUS/PayByBankUS.js +1 -1
- package/dist/es/components/PayByBankUS/PayByBankUS.js.map +1 -1
- package/dist/es/components/PayPal/Paypal.js +1 -1
- package/dist/es/components/PayPal/Paypal.js.map +1 -1
- package/dist/es/components/PayPalFastlane/Fastlane.js +1 -1
- package/dist/es/components/PayPalFastlane/Fastlane.js.map +1 -1
- package/dist/es/components/PayPalFastlane/components/FastlaneComponent.js +1 -1
- package/dist/es/components/PayPalFastlane/components/FastlaneComponent.js.map +1 -1
- package/dist/es/components/PayTo/PayTo.js +1 -1
- package/dist/es/components/PayTo/PayTo.js.map +1 -1
- package/dist/es/components/PayTo/components/PayToComponent.js +1 -1
- package/dist/es/components/PayTo/components/PayToComponent.js.map +1 -1
- package/dist/es/components/Pix/Pix.js +1 -1
- package/dist/es/components/Pix/Pix.js.map +1 -1
- package/dist/es/components/Pix/components/PixInput/PixInput.js +1 -1
- package/dist/es/components/Pix/components/PixInput/PixInput.js.map +1 -1
- package/dist/es/components/PreAuthorizedDebitCanada/PreAuthorizedDebitCanada.js +1 -1
- package/dist/es/components/PreAuthorizedDebitCanada/PreAuthorizedDebitCanada.js.map +1 -1
- package/dist/es/components/PreAuthorizedDebitCanada/components/PreAuthorizedDebitCanadaComponent.js +1 -1
- package/dist/es/components/PreAuthorizedDebitCanada/components/PreAuthorizedDebitCanadaComponent.js.map +1 -1
- package/dist/es/components/Redirect/Redirect.js +1 -1
- package/dist/es/components/Redirect/Redirect.js.map +1 -1
- package/dist/es/components/Trustly/Trustly.js +1 -1
- package/dist/es/components/Trustly/Trustly.js.map +1 -1
- package/dist/es/components/UPI/UPI.js +1 -1
- package/dist/es/components/UPI/UPI.js.map +1 -1
- package/dist/es/components/UPI/components/UPIComponent/UPIComponent.js +1 -1
- package/dist/es/components/UPI/components/UPIComponent/UPIComponent.js.map +1 -1
- package/dist/es/components/helpers/IssuerListContainer/IssuerListContainer.js +1 -1
- package/dist/es/components/helpers/IssuerListContainer/IssuerListContainer.js.map +1 -1
- package/dist/es/components/helpers/QRLoaderContainer/QRLoaderContainer.js +1 -1
- package/dist/es/components/helpers/QRLoaderContainer/QRLoaderContainer.js.map +1 -1
- package/dist/es/components/internal/Address/components/CountryField.js.map +1 -1
- package/dist/es/components/internal/Address/components/FieldContainer.js +1 -1
- package/dist/es/components/internal/Address/components/FieldContainer.js.map +1 -1
- package/dist/es/components/internal/Address/components/StateField.js.map +1 -1
- package/dist/es/components/internal/Address/constants.js +1 -1
- package/dist/es/components/internal/Address/constants.js.map +1 -1
- package/dist/es/components/internal/Address/validate.formats.js +1 -1
- package/dist/es/components/internal/Address/validate.formats.js.map +1 -1
- package/dist/es/components/internal/Address/validate.js +1 -1
- package/dist/es/components/internal/Address/validate.js.map +1 -1
- package/dist/es/components/internal/BaseElement/BaseElement.js +1 -1
- package/dist/es/components/internal/BaseElement/BaseElement.js.map +1 -1
- package/dist/es/components/internal/DisclaimerMessage/DisclaimerMessage.js +1 -1
- package/dist/es/components/internal/DisclaimerMessage/DisclaimerMessage.js.map +1 -1
- package/dist/es/components/internal/DisclaimerMessage/utils.js +2 -0
- package/dist/es/components/internal/DisclaimerMessage/utils.js.map +1 -0
- package/dist/es/components/internal/FormFields/utils.js +1 -1
- package/dist/es/components/internal/FormFields/utils.js.map +1 -1
- package/dist/es/components/internal/IbanInput/IbanInput.js +1 -1
- package/dist/es/components/internal/IbanInput/IbanInput.js.map +1 -1
- package/dist/es/components/internal/IssuerList/IssuerList.js +1 -1
- package/dist/es/components/internal/IssuerList/IssuerList.js.map +1 -1
- package/dist/es/components/internal/OpenInvoice/OpenInvoice.js +1 -1
- package/dist/es/components/internal/OpenInvoice/OpenInvoice.js.map +1 -1
- package/dist/es/components/internal/OpenInvoice/useSRPanelForOpenInvoiceErrors.js +1 -1
- package/dist/es/components/internal/OpenInvoice/useSRPanelForOpenInvoiceErrors.js.map +1 -1
- package/dist/es/components/internal/PayButton/PayButton.js +1 -1
- package/dist/es/components/internal/PayButton/PayButton.js.map +1 -1
- package/dist/es/components/internal/PhoneInput/usePhonePrefixes.js.map +1 -1
- package/dist/es/components/internal/RedirectButton/RedirectButton.js +1 -1
- package/dist/es/components/internal/RedirectButton/RedirectButton.js.map +1 -1
- package/dist/es/components/internal/SecuredFields/SFP/SecuredFieldsProvider.js +1 -1
- package/dist/es/components/internal/SecuredFields/SFP/SecuredFieldsProvider.js.map +1 -1
- package/dist/es/components/internal/SecuredFields/lib/securedField/SecuredField.js +1 -1
- package/dist/es/components/internal/SecuredFields/lib/securedField/SecuredField.js.map +1 -1
- package/dist/es/components/internal/UIElement/UIElement.js +1 -1
- package/dist/es/components/internal/UIElement/UIElement.js.map +1 -1
- package/dist/es/core/Analytics/events/AnalyticsInfoEvent.js +1 -1
- package/dist/es/core/Analytics/events/AnalyticsInfoEvent.js.map +1 -1
- package/dist/es/core/Errors/AdyenCheckoutError.js.map +1 -1
- package/dist/es/core/Errors/SRPanelProvider.js.map +1 -1
- package/dist/es/core/RiskModule/RiskModule.js +1 -1
- package/dist/es/core/RiskModule/RiskModule.js.map +1 -1
- package/dist/es/core/RiskModule/components/DeviceFingerprint/GetDeviceFingerprint.js.map +1 -1
- package/dist/es/core/Services/get-dataset.js.map +1 -1
- package/dist/es/core/Services/http.js +1 -1
- package/dist/es/core/Services/http.js.map +1 -1
- package/dist/es/core/config.js +1 -1
- package/dist/es/core/config.js.map +1 -1
- package/dist/es/core/core.js.map +1 -1
- package/dist/es/core/core.registry.js +1 -1
- package/dist/es/core/core.registry.js.map +1 -1
- package/dist/es/core/utils.js +1 -1
- package/dist/es/core/utils.js.map +1 -1
- package/dist/es/index.d.ts +136 -71
- package/dist/es/packages/server/translations/en-US.json.js +1 -1
- package/dist/es-legacy/adyen.css +7 -7
- package/dist/es-legacy/adyen.css.map +1 -1
- package/dist/es-legacy/components/ANCV/ANCV.js +1 -1
- package/dist/es-legacy/components/ANCV/ANCV.js.map +1 -1
- package/dist/es-legacy/components/ANCV/components/ANCVInput.js +1 -1
- package/dist/es-legacy/components/ANCV/components/ANCVInput.js.map +1 -1
- package/dist/es-legacy/components/Ach/Ach.js +1 -1
- package/dist/es-legacy/components/Ach/Ach.js.map +1 -1
- package/dist/es-legacy/components/Ach/components/AchComponent.js +1 -1
- package/dist/es-legacy/components/Ach/components/AchComponent.js.map +1 -1
- package/dist/es-legacy/components/Ach/components/useSRPanelForACHErrors.js.map +1 -1
- package/dist/es-legacy/components/AmazonPay/AmazonPay.js +1 -1
- package/dist/es-legacy/components/AmazonPay/AmazonPay.js.map +1 -1
- package/dist/es-legacy/components/ApplePay/ApplePay.js.map +1 -1
- package/dist/es-legacy/components/BacsDD/BacsDD.js +1 -1
- package/dist/es-legacy/components/BacsDD/BacsDD.js.map +1 -1
- package/dist/es-legacy/components/BacsDD/components/BacsInput.js +1 -1
- package/dist/es-legacy/components/BacsDD/components/BacsInput.js.map +1 -1
- package/dist/es-legacy/components/BankTransfer/BankTransfer.js +1 -1
- package/dist/es-legacy/components/BankTransfer/BankTransfer.js.map +1 -1
- package/dist/es-legacy/components/Blik/Blik.js +1 -1
- package/dist/es-legacy/components/Blik/Blik.js.map +1 -1
- package/dist/es-legacy/components/Blik/components/BlikInput.js +1 -1
- package/dist/es-legacy/components/Blik/components/BlikInput.js.map +1 -1
- package/dist/es-legacy/components/Boleto/components/BoletoInput/BoletoInput.js +1 -1
- package/dist/es-legacy/components/Boleto/components/BoletoInput/BoletoInput.js.map +1 -1
- package/dist/es-legacy/components/Card/Card.js +1 -1
- package/dist/es-legacy/components/Card/Card.js.map +1 -1
- package/dist/es-legacy/components/Card/components/CardInput/CardInput.js +1 -1
- package/dist/es-legacy/components/Card/components/CardInput/CardInput.js.map +1 -1
- package/dist/es-legacy/components/Card/components/CardInput/components/CardFieldsWrapper.js +1 -1
- package/dist/es-legacy/components/Card/components/CardInput/components/CardFieldsWrapper.js.map +1 -1
- package/dist/es-legacy/components/Card/components/CardInput/components/StoredCardFieldsWrapper.js +1 -1
- package/dist/es-legacy/components/Card/components/CardInput/components/StoredCardFieldsWrapper.js.map +1 -1
- package/dist/es-legacy/components/Card/components/CardInput/types.js.map +1 -1
- package/dist/es-legacy/components/Card/components/CardInput/utils.js +1 -1
- package/dist/es-legacy/components/Card/components/CardInput/utils.js.map +1 -1
- package/dist/es-legacy/components/CashAppPay/CashAppPay.js +1 -1
- package/dist/es-legacy/components/CashAppPay/CashAppPay.js.map +1 -1
- package/dist/es-legacy/components/CustomCard/CustomCard.js +1 -1
- package/dist/es-legacy/components/CustomCard/CustomCard.js.map +1 -1
- package/dist/es-legacy/components/Doku/components/DokuInput/DokuInput.js +1 -1
- package/dist/es-legacy/components/Doku/components/DokuInput/DokuInput.js.map +1 -1
- package/dist/es-legacy/components/Dragonpay/Dragonpay.js +1 -1
- package/dist/es-legacy/components/Dragonpay/Dragonpay.js.map +1 -1
- package/dist/es-legacy/components/Dragonpay/components/DragonpayInput/DragonpayInput.js +1 -1
- package/dist/es-legacy/components/Dragonpay/components/DragonpayInput/DragonpayInput.js.map +1 -1
- package/dist/es-legacy/components/Dropin/Dropin.js +1 -1
- package/dist/es-legacy/components/Dropin/Dropin.js.map +1 -1
- package/dist/es-legacy/components/Econtext/Econtext.js +1 -1
- package/dist/es-legacy/components/Econtext/Econtext.js.map +1 -1
- package/dist/es-legacy/components/Econtext/components/EcontextInput/EcontextInput.js +1 -1
- package/dist/es-legacy/components/Econtext/components/EcontextInput/EcontextInput.js.map +1 -1
- package/dist/es-legacy/components/Giftcard/Giftcard.js +1 -1
- package/dist/es-legacy/components/Giftcard/Giftcard.js.map +1 -1
- package/dist/es-legacy/components/Giftcard/components/GiftcardComponent.js +1 -1
- package/dist/es-legacy/components/Giftcard/components/GiftcardComponent.js.map +1 -1
- package/dist/es-legacy/components/Giftcard/components/GiftcardResult.js +1 -1
- package/dist/es-legacy/components/Giftcard/components/GiftcardResult.js.map +1 -1
- package/dist/es-legacy/components/Giropay/Giropay.js +1 -1
- package/dist/es-legacy/components/Giropay/Giropay.js.map +1 -1
- package/dist/es-legacy/components/Iris/Iris.js +1 -1
- package/dist/es-legacy/components/Iris/Iris.js.map +1 -1
- package/dist/es-legacy/components/Iris/components/IrisComponent.js +1 -1
- package/dist/es-legacy/components/Iris/components/IrisComponent.js.map +1 -1
- package/dist/es-legacy/components/Iris/components/IrisGenerateQRCode.js +1 -1
- package/dist/es-legacy/components/Iris/components/IrisGenerateQRCode.js.map +1 -1
- package/dist/es-legacy/components/Klarna/KlarnaPayments.js +1 -1
- package/dist/es-legacy/components/Klarna/KlarnaPayments.js.map +1 -1
- package/dist/es-legacy/components/Klarna/components/KlarnaContainer/KlarnaContainer.js +1 -1
- package/dist/es-legacy/components/Klarna/components/KlarnaContainer/KlarnaContainer.js.map +1 -1
- package/dist/es-legacy/components/MBWay/components/MBWayInput/MBWayInput.js +1 -1
- package/dist/es-legacy/components/MBWay/components/MBWayInput/MBWayInput.js.map +1 -1
- package/dist/es-legacy/components/Multibanco/Multibanco.js +1 -1
- package/dist/es-legacy/components/Multibanco/Multibanco.js.map +1 -1
- package/dist/es-legacy/components/Oxxo/Oxxo.js +1 -1
- package/dist/es-legacy/components/Oxxo/Oxxo.js.map +1 -1
- package/dist/es-legacy/components/PayByBankPix/PayByBankPix.js +1 -1
- package/dist/es-legacy/components/PayByBankPix/PayByBankPix.js.map +1 -1
- package/dist/es-legacy/components/PayByBankPix/components/Enrollment/Enrollment.js +1 -1
- package/dist/es-legacy/components/PayByBankPix/components/Enrollment/Enrollment.js.map +1 -1
- package/dist/es-legacy/components/PayByBankUS/PayByBankUS.js +1 -1
- package/dist/es-legacy/components/PayByBankUS/PayByBankUS.js.map +1 -1
- package/dist/es-legacy/components/PayPal/Paypal.js +1 -1
- package/dist/es-legacy/components/PayPal/Paypal.js.map +1 -1
- package/dist/es-legacy/components/PayPalFastlane/Fastlane.js +1 -1
- package/dist/es-legacy/components/PayPalFastlane/Fastlane.js.map +1 -1
- package/dist/es-legacy/components/PayPalFastlane/components/FastlaneComponent.js +1 -1
- package/dist/es-legacy/components/PayPalFastlane/components/FastlaneComponent.js.map +1 -1
- package/dist/es-legacy/components/PayTo/PayTo.js +1 -1
- package/dist/es-legacy/components/PayTo/PayTo.js.map +1 -1
- package/dist/es-legacy/components/PayTo/components/PayToComponent.js +1 -1
- package/dist/es-legacy/components/PayTo/components/PayToComponent.js.map +1 -1
- package/dist/es-legacy/components/Pix/Pix.js +1 -1
- package/dist/es-legacy/components/Pix/Pix.js.map +1 -1
- package/dist/es-legacy/components/Pix/components/PixInput/PixInput.js +1 -1
- package/dist/es-legacy/components/Pix/components/PixInput/PixInput.js.map +1 -1
- package/dist/es-legacy/components/PreAuthorizedDebitCanada/PreAuthorizedDebitCanada.js +1 -1
- package/dist/es-legacy/components/PreAuthorizedDebitCanada/PreAuthorizedDebitCanada.js.map +1 -1
- package/dist/es-legacy/components/PreAuthorizedDebitCanada/components/PreAuthorizedDebitCanadaComponent.js +1 -1
- package/dist/es-legacy/components/PreAuthorizedDebitCanada/components/PreAuthorizedDebitCanadaComponent.js.map +1 -1
- package/dist/es-legacy/components/Redirect/Redirect.js +1 -1
- package/dist/es-legacy/components/Redirect/Redirect.js.map +1 -1
- package/dist/es-legacy/components/Trustly/Trustly.js +1 -1
- package/dist/es-legacy/components/Trustly/Trustly.js.map +1 -1
- package/dist/es-legacy/components/UPI/UPI.js +1 -1
- package/dist/es-legacy/components/UPI/UPI.js.map +1 -1
- package/dist/es-legacy/components/UPI/components/UPIComponent/UPIComponent.js +1 -1
- package/dist/es-legacy/components/UPI/components/UPIComponent/UPIComponent.js.map +1 -1
- package/dist/es-legacy/components/helpers/IssuerListContainer/IssuerListContainer.js +1 -1
- package/dist/es-legacy/components/helpers/IssuerListContainer/IssuerListContainer.js.map +1 -1
- package/dist/es-legacy/components/helpers/QRLoaderContainer/QRLoaderContainer.js +1 -1
- package/dist/es-legacy/components/helpers/QRLoaderContainer/QRLoaderContainer.js.map +1 -1
- package/dist/es-legacy/components/internal/Address/components/CountryField.js.map +1 -1
- package/dist/es-legacy/components/internal/Address/components/FieldContainer.js +1 -1
- package/dist/es-legacy/components/internal/Address/components/FieldContainer.js.map +1 -1
- package/dist/es-legacy/components/internal/Address/components/StateField.js.map +1 -1
- package/dist/es-legacy/components/internal/Address/constants.js +1 -1
- package/dist/es-legacy/components/internal/Address/constants.js.map +1 -1
- package/dist/es-legacy/components/internal/Address/validate.formats.js +1 -1
- package/dist/es-legacy/components/internal/Address/validate.formats.js.map +1 -1
- package/dist/es-legacy/components/internal/Address/validate.js +1 -1
- package/dist/es-legacy/components/internal/Address/validate.js.map +1 -1
- package/dist/es-legacy/components/internal/BaseElement/BaseElement.js +1 -1
- package/dist/es-legacy/components/internal/BaseElement/BaseElement.js.map +1 -1
- package/dist/es-legacy/components/internal/DisclaimerMessage/DisclaimerMessage.js +1 -1
- package/dist/es-legacy/components/internal/DisclaimerMessage/DisclaimerMessage.js.map +1 -1
- package/dist/es-legacy/components/internal/DisclaimerMessage/utils.js +2 -0
- package/dist/es-legacy/components/internal/DisclaimerMessage/utils.js.map +1 -0
- package/dist/es-legacy/components/internal/FormFields/utils.js +1 -1
- package/dist/es-legacy/components/internal/FormFields/utils.js.map +1 -1
- package/dist/es-legacy/components/internal/IbanInput/IbanInput.js +1 -1
- package/dist/es-legacy/components/internal/IbanInput/IbanInput.js.map +1 -1
- package/dist/es-legacy/components/internal/IssuerList/IssuerList.js +1 -1
- package/dist/es-legacy/components/internal/IssuerList/IssuerList.js.map +1 -1
- package/dist/es-legacy/components/internal/OpenInvoice/OpenInvoice.js +1 -1
- package/dist/es-legacy/components/internal/OpenInvoice/OpenInvoice.js.map +1 -1
- package/dist/es-legacy/components/internal/OpenInvoice/useSRPanelForOpenInvoiceErrors.js +1 -1
- package/dist/es-legacy/components/internal/OpenInvoice/useSRPanelForOpenInvoiceErrors.js.map +1 -1
- package/dist/es-legacy/components/internal/PayButton/PayButton.js +1 -1
- package/dist/es-legacy/components/internal/PayButton/PayButton.js.map +1 -1
- package/dist/es-legacy/components/internal/PhoneInput/usePhonePrefixes.js.map +1 -1
- package/dist/es-legacy/components/internal/RedirectButton/RedirectButton.js +1 -1
- package/dist/es-legacy/components/internal/RedirectButton/RedirectButton.js.map +1 -1
- package/dist/es-legacy/components/internal/SecuredFields/SFP/SecuredFieldsProvider.js +1 -1
- package/dist/es-legacy/components/internal/SecuredFields/SFP/SecuredFieldsProvider.js.map +1 -1
- package/dist/es-legacy/components/internal/SecuredFields/lib/securedField/SecuredField.js +1 -1
- package/dist/es-legacy/components/internal/SecuredFields/lib/securedField/SecuredField.js.map +1 -1
- package/dist/es-legacy/components/internal/UIElement/UIElement.js +1 -1
- package/dist/es-legacy/components/internal/UIElement/UIElement.js.map +1 -1
- package/dist/es-legacy/core/Analytics/events/AnalyticsInfoEvent.js +1 -1
- package/dist/es-legacy/core/Analytics/events/AnalyticsInfoEvent.js.map +1 -1
- package/dist/es-legacy/core/Errors/AdyenCheckoutError.js.map +1 -1
- package/dist/es-legacy/core/Errors/SRPanelProvider.js.map +1 -1
- package/dist/es-legacy/core/RiskModule/RiskModule.js +1 -1
- package/dist/es-legacy/core/RiskModule/RiskModule.js.map +1 -1
- package/dist/es-legacy/core/RiskModule/components/DeviceFingerprint/GetDeviceFingerprint.js.map +1 -1
- package/dist/es-legacy/core/Services/get-dataset.js.map +1 -1
- package/dist/es-legacy/core/Services/http.js +1 -1
- package/dist/es-legacy/core/Services/http.js.map +1 -1
- package/dist/es-legacy/core/config.js +1 -1
- package/dist/es-legacy/core/config.js.map +1 -1
- package/dist/es-legacy/core/core.js.map +1 -1
- package/dist/es-legacy/core/core.registry.js +1 -1
- package/dist/es-legacy/core/core.registry.js.map +1 -1
- package/dist/es-legacy/core/utils.js +1 -1
- package/dist/es-legacy/core/utils.js.map +1 -1
- package/dist/es-legacy/packages/server/translations/en-US.json.js +1 -1
- package/package.json +11 -11
- package/styles/adyen.css +7 -7
package/dist/cjs/index.d.cts
CHANGED
|
@@ -229,7 +229,7 @@ declare class Resources {
|
|
|
229
229
|
}
|
|
230
230
|
|
|
231
231
|
interface CheckoutErrorOptions {
|
|
232
|
-
cause?:
|
|
232
|
+
cause?: unknown;
|
|
233
233
|
code?: string;
|
|
234
234
|
}
|
|
235
235
|
declare class AdyenCheckoutError extends Error {
|
|
@@ -604,7 +604,7 @@ interface CardBrandsConfiguration {
|
|
|
604
604
|
|
|
605
605
|
interface RiskModuleOptions {
|
|
606
606
|
enabled: boolean;
|
|
607
|
-
onComplete?: (
|
|
607
|
+
onComplete?: (riskData: string | null) => void;
|
|
608
608
|
onError?: (error: any) => void;
|
|
609
609
|
node?: string;
|
|
610
610
|
}
|
|
@@ -628,19 +628,16 @@ declare class RiskElement extends BaseElement<RiskModuleProps> {
|
|
|
628
628
|
onComplete: (result: any) => void;
|
|
629
629
|
onError: (error: any) => void;
|
|
630
630
|
get isValid(): any;
|
|
631
|
-
|
|
631
|
+
/**
|
|
632
|
+
* Returns the base64 encoded device fingerprint data, or null if the fingerprinting did not complete
|
|
633
|
+
*/
|
|
634
|
+
get riskData(): string | null;
|
|
632
635
|
get enabled(): boolean;
|
|
633
636
|
cleanUp: () => void;
|
|
634
637
|
componentWillUnmount(): void;
|
|
635
638
|
render(): h.JSX.Element;
|
|
636
639
|
}
|
|
637
640
|
|
|
638
|
-
interface DisclaimerMsgObject {
|
|
639
|
-
message: string;
|
|
640
|
-
linkText: string;
|
|
641
|
-
link: string;
|
|
642
|
-
}
|
|
643
|
-
|
|
644
641
|
interface AnalyticsOptions {
|
|
645
642
|
/**
|
|
646
643
|
* Enable/Disable all analytics
|
|
@@ -858,6 +855,8 @@ interface FastlaneConfiguration extends UIElementProps {
|
|
|
858
855
|
brands?: string[];
|
|
859
856
|
}
|
|
860
857
|
|
|
858
|
+
declare const GENERIC_OPTIONS: readonly ["amount", "secondaryAmount", "countryCode", "environment", "_environmentUrls", "loadingContext", "i18n", "modules", "order", "session", "clientKey", "showPayButton", "redirectFromTopWhenInIframe", "donation", "onPaymentCompleted", "onPaymentFailed", "beforeRedirect", "beforeSubmit", "onSubmit", "onReview", "onAction", "onActionHandled", "onAdditionalDetails", "onChange", "onEnterKeyPressed", "onError", "onBalanceCheck", "onOrderCancel", "onOrderRequest", "onOrderUpdated", "onPaymentMethodsRequest"];
|
|
859
|
+
|
|
861
860
|
interface IAnalytics {
|
|
862
861
|
checkoutAttemptId?: string;
|
|
863
862
|
setUp({ sessionId, checkoutStage, locale }: {
|
|
@@ -905,6 +904,12 @@ interface ButtonProps {
|
|
|
905
904
|
onBlur?: (event: FocusEvent) => void;
|
|
906
905
|
}
|
|
907
906
|
|
|
907
|
+
interface DisclaimerMsgObject {
|
|
908
|
+
message: string;
|
|
909
|
+
linkText?: string | Array<string>;
|
|
910
|
+
link?: string | Array<string>;
|
|
911
|
+
}
|
|
912
|
+
|
|
908
913
|
interface PayButtonProps extends ButtonProps {
|
|
909
914
|
/**
|
|
910
915
|
* Class name modifiers will be used as: `adyen-checkout__image--${modifier}`
|
|
@@ -921,6 +926,16 @@ interface PayButtonProps extends ButtonProps {
|
|
|
921
926
|
disabled?: boolean;
|
|
922
927
|
icon?: string;
|
|
923
928
|
showReview?: boolean;
|
|
929
|
+
/**
|
|
930
|
+
* Disclaimer message displayed above the button
|
|
931
|
+
*/
|
|
932
|
+
disclaimerMessage?: DisclaimerMsgObject;
|
|
933
|
+
/**
|
|
934
|
+
* Hides the button itself. The disclaimer message is still rendered, since it belongs to the
|
|
935
|
+
* payment step rather than to the button, and merchants hiding the button supply their own.
|
|
936
|
+
* @defaultValue `true`
|
|
937
|
+
*/
|
|
938
|
+
showPayButton?: boolean;
|
|
924
939
|
}
|
|
925
940
|
|
|
926
941
|
interface CardInputRef extends ComponentMethodsRef {
|
|
@@ -1064,12 +1079,19 @@ type UIElementProps = {
|
|
|
1064
1079
|
* @defaultValue true
|
|
1065
1080
|
*/
|
|
1066
1081
|
showPayButton?: boolean;
|
|
1082
|
+
/**
|
|
1083
|
+
* Disclaimer message displayed above the pay button
|
|
1084
|
+
*
|
|
1085
|
+
* Not supported by express/wallet components (PayPal, Apple Pay, Google Pay, Amazon Pay, Cash App Pay),
|
|
1086
|
+
* which render their own branded button instead of the SDK pay button.
|
|
1087
|
+
*/
|
|
1088
|
+
disclaimerMessage?: DisclaimerMsgObject;
|
|
1067
1089
|
/** @internal */
|
|
1068
1090
|
payButton?: (options: PayButtonProps) => h.JSX.Element;
|
|
1069
1091
|
/** @internal */
|
|
1070
1092
|
loadingContext?: string;
|
|
1071
1093
|
/** @internal */
|
|
1072
|
-
createFromAction?: (action: PaymentAction, props:
|
|
1094
|
+
createFromAction?: (action: PaymentAction, props: CreateFromActionOptions) => UIElement;
|
|
1073
1095
|
/** @internal */
|
|
1074
1096
|
clientKey?: string;
|
|
1075
1097
|
/** @internal */
|
|
@@ -1839,6 +1861,12 @@ interface ApplePaySessionRequest {
|
|
|
1839
1861
|
initiative: Initiative;
|
|
1840
1862
|
merchantIdentifier: string;
|
|
1841
1863
|
}
|
|
1864
|
+
interface ApplePaySessionResponse {
|
|
1865
|
+
/**
|
|
1866
|
+
* Base64 encoded Apple Pay merchant session
|
|
1867
|
+
*/
|
|
1868
|
+
data: string;
|
|
1869
|
+
}
|
|
1842
1870
|
interface ApplePayWebConfiguration {
|
|
1843
1871
|
renderApplePayCodeAs?: 'modal' | 'window';
|
|
1844
1872
|
onApplePayCodeClose?(): void;
|
|
@@ -2556,7 +2584,6 @@ interface DragonpayInputProps {
|
|
|
2556
2584
|
type?: string;
|
|
2557
2585
|
onChange: (state: any) => void;
|
|
2558
2586
|
onSubmit?: (state: any, component: any) => void;
|
|
2559
|
-
showPayButton: boolean;
|
|
2560
2587
|
payButton: (props: PayButtonProps) => h.JSX.Element;
|
|
2561
2588
|
setComponentRef: (ref: ComponentMethodsRef) => void;
|
|
2562
2589
|
}
|
|
@@ -2872,7 +2899,7 @@ declare class BillDeskOnlineElement extends IssuerListContainer {
|
|
|
2872
2899
|
beforeRedirect?: (resolve: () => void, reject: () => void, redirectData: {
|
|
2873
2900
|
url: string;
|
|
2874
2901
|
method: string;
|
|
2875
|
-
data?:
|
|
2902
|
+
data?: Record<string, unknown>;
|
|
2876
2903
|
}) => void;
|
|
2877
2904
|
beforeSubmit?: (state: PaymentData, component: UIElement, actions: BeforeSubmitActions) => Promise<void> | void;
|
|
2878
2905
|
onSubmit?: (state: SubmitData, component: UIElement, actions: SubmitActions) => void;
|
|
@@ -2902,9 +2929,10 @@ declare class BillDeskOnlineElement extends IssuerListContainer {
|
|
|
2902
2929
|
amount?: PaymentAmount;
|
|
2903
2930
|
secondaryAmount?: PaymentAmount;
|
|
2904
2931
|
showPayButton?: boolean;
|
|
2932
|
+
disclaimerMessage?: DisclaimerMsgObject;
|
|
2905
2933
|
payButton?: (options: PayButtonProps) => preact.JSX.Element;
|
|
2906
2934
|
loadingContext?: string;
|
|
2907
|
-
createFromAction?: (action: PaymentAction, props:
|
|
2935
|
+
createFromAction?: (action: PaymentAction, props: CreateFromActionOptions) => UIElement;
|
|
2908
2936
|
clientKey?: string;
|
|
2909
2937
|
elementRef?: UIElement;
|
|
2910
2938
|
i18n?: Language;
|
|
@@ -2940,7 +2968,7 @@ declare class BillDeskWalletElement extends IssuerListContainer {
|
|
|
2940
2968
|
beforeRedirect?: (resolve: () => void, reject: () => void, redirectData: {
|
|
2941
2969
|
url: string;
|
|
2942
2970
|
method: string;
|
|
2943
|
-
data?:
|
|
2971
|
+
data?: Record<string, unknown>;
|
|
2944
2972
|
}) => void;
|
|
2945
2973
|
beforeSubmit?: (state: PaymentData, component: UIElement, actions: BeforeSubmitActions) => Promise<void> | void;
|
|
2946
2974
|
onSubmit?: (state: SubmitData, component: UIElement, actions: SubmitActions) => void;
|
|
@@ -2970,9 +2998,10 @@ declare class BillDeskWalletElement extends IssuerListContainer {
|
|
|
2970
2998
|
amount?: PaymentAmount;
|
|
2971
2999
|
secondaryAmount?: PaymentAmount;
|
|
2972
3000
|
showPayButton?: boolean;
|
|
3001
|
+
disclaimerMessage?: DisclaimerMsgObject;
|
|
2973
3002
|
payButton?: (options: PayButtonProps) => preact.JSX.Element;
|
|
2974
3003
|
loadingContext?: string;
|
|
2975
|
-
createFromAction?: (action: PaymentAction, props:
|
|
3004
|
+
createFromAction?: (action: PaymentAction, props: CreateFromActionOptions) => UIElement;
|
|
2976
3005
|
clientKey?: string;
|
|
2977
3006
|
elementRef?: UIElement;
|
|
2978
3007
|
i18n?: Language;
|
|
@@ -3027,7 +3056,7 @@ declare class CashAppPay extends UIElement<CashAppPayConfiguration> {
|
|
|
3027
3056
|
beforeRedirect?: (resolve: () => void, reject: () => void, redirectData: {
|
|
3028
3057
|
url: string;
|
|
3029
3058
|
method: string;
|
|
3030
|
-
data?:
|
|
3059
|
+
data?: Record<string, unknown>;
|
|
3031
3060
|
}) => void;
|
|
3032
3061
|
beforeSubmit?: (state: PaymentData, component: UIElement, actions: BeforeSubmitActions) => Promise<void> | void;
|
|
3033
3062
|
onSubmit?: (state: SubmitData, component: UIElement, actions: SubmitActions) => void;
|
|
@@ -3057,9 +3086,10 @@ declare class CashAppPay extends UIElement<CashAppPayConfiguration> {
|
|
|
3057
3086
|
amount?: PaymentAmount;
|
|
3058
3087
|
secondaryAmount?: PaymentAmount;
|
|
3059
3088
|
showPayButton?: boolean;
|
|
3089
|
+
disclaimerMessage?: DisclaimerMsgObject;
|
|
3060
3090
|
payButton?: (options: PayButtonProps) => h.JSX.Element;
|
|
3061
3091
|
loadingContext?: string;
|
|
3062
|
-
createFromAction?: (action: PaymentAction, props:
|
|
3092
|
+
createFromAction?: (action: PaymentAction, props: CreateFromActionOptions) => UIElement;
|
|
3063
3093
|
clientKey?: string;
|
|
3064
3094
|
elementRef?: UIElement;
|
|
3065
3095
|
i18n?: Language;
|
|
@@ -3106,7 +3136,7 @@ declare class ClickToPayElement extends UIElement<ClickToPayConfiguration> {
|
|
|
3106
3136
|
beforeRedirect?: (resolve: () => void, reject: () => void, redirectData: {
|
|
3107
3137
|
url: string;
|
|
3108
3138
|
method: string;
|
|
3109
|
-
data?:
|
|
3139
|
+
data?: Record<string, unknown>;
|
|
3110
3140
|
}) => void;
|
|
3111
3141
|
beforeSubmit?: (state: PaymentData, component: UIElement, actions: BeforeSubmitActions) => Promise<void> | void;
|
|
3112
3142
|
onSubmit?: (state: SubmitData, component: UIElement, actions: SubmitActions) => void;
|
|
@@ -3136,9 +3166,10 @@ declare class ClickToPayElement extends UIElement<ClickToPayConfiguration> {
|
|
|
3136
3166
|
amount?: PaymentAmount;
|
|
3137
3167
|
secondaryAmount?: PaymentAmount;
|
|
3138
3168
|
showPayButton?: boolean;
|
|
3169
|
+
disclaimerMessage?: DisclaimerMsgObject;
|
|
3139
3170
|
payButton?: (options: PayButtonProps) => h.JSX.Element;
|
|
3140
3171
|
loadingContext?: string;
|
|
3141
|
-
createFromAction?: (action: PaymentAction, props:
|
|
3172
|
+
createFromAction?: (action: PaymentAction, props: CreateFromActionOptions) => UIElement;
|
|
3142
3173
|
clientKey?: string;
|
|
3143
3174
|
elementRef?: UIElement;
|
|
3144
3175
|
i18n?: Language;
|
|
@@ -3203,7 +3234,6 @@ declare class BancontactElement extends CardElement {
|
|
|
3203
3234
|
};
|
|
3204
3235
|
_disableClickToPay?: boolean;
|
|
3205
3236
|
disableIOSArrowKeys?: boolean;
|
|
3206
|
-
disclaimerMessage?: DisclaimerMsgObject;
|
|
3207
3237
|
doBinLookup?: boolean;
|
|
3208
3238
|
enableStoreDetails?: boolean;
|
|
3209
3239
|
expiryMonth?: string;
|
|
@@ -3259,7 +3289,7 @@ declare class BancontactElement extends CardElement {
|
|
|
3259
3289
|
beforeRedirect?: (resolve: () => void, reject: () => void, redirectData: {
|
|
3260
3290
|
url: string;
|
|
3261
3291
|
method: string;
|
|
3262
|
-
data?:
|
|
3292
|
+
data?: Record<string, unknown>;
|
|
3263
3293
|
}) => void;
|
|
3264
3294
|
beforeSubmit?: (state: PaymentData, component: UIElement, actions: BeforeSubmitActions) => Promise<void> | void;
|
|
3265
3295
|
onSubmit?: (state: SubmitData, component: UIElement, actions: SubmitActions) => void;
|
|
@@ -3287,9 +3317,10 @@ declare class BancontactElement extends CardElement {
|
|
|
3287
3317
|
amount?: PaymentAmount;
|
|
3288
3318
|
secondaryAmount?: PaymentAmount;
|
|
3289
3319
|
showPayButton?: boolean;
|
|
3320
|
+
disclaimerMessage?: DisclaimerMsgObject;
|
|
3290
3321
|
payButton?: (options: PayButtonProps) => preact.JSX.Element;
|
|
3291
3322
|
loadingContext?: string;
|
|
3292
|
-
createFromAction?: (action: PaymentAction, props:
|
|
3323
|
+
createFromAction?: (action: PaymentAction, props: CreateFromActionOptions) => UIElement;
|
|
3293
3324
|
clientKey?: string;
|
|
3294
3325
|
elementRef?: UIElement;
|
|
3295
3326
|
i18n?: Language;
|
|
@@ -4006,7 +4037,7 @@ declare class CustomCard extends UIElement<CustomCardConfiguration> {
|
|
|
4006
4037
|
beforeRedirect?: (resolve: () => void, reject: () => void, redirectData: {
|
|
4007
4038
|
url: string;
|
|
4008
4039
|
method: string;
|
|
4009
|
-
data?:
|
|
4040
|
+
data?: Record<string, unknown>;
|
|
4010
4041
|
}) => void;
|
|
4011
4042
|
beforeSubmit?: (state: PaymentData, component: UIElement, actions: BeforeSubmitActions) => Promise<void> | void;
|
|
4012
4043
|
onSubmit?: (state: SubmitData, component: UIElement, actions: SubmitActions) => void;
|
|
@@ -4185,7 +4216,7 @@ declare class WeChatPayElement extends QRLoaderContainer {
|
|
|
4185
4216
|
beforeRedirect?: (resolve: () => void, reject: () => void, redirectData: {
|
|
4186
4217
|
url: string;
|
|
4187
4218
|
method: string;
|
|
4188
|
-
data?:
|
|
4219
|
+
data?: Record<string, unknown>;
|
|
4189
4220
|
}) => void;
|
|
4190
4221
|
beforeSubmit?: (state: PaymentData, component: UIElement, actions: BeforeSubmitActions) => Promise<void> | void;
|
|
4191
4222
|
onSubmit?: (state: SubmitData, component: UIElement, actions: SubmitActions) => void;
|
|
@@ -4214,9 +4245,10 @@ declare class WeChatPayElement extends QRLoaderContainer {
|
|
|
4214
4245
|
amount?: PaymentAmount;
|
|
4215
4246
|
secondaryAmount?: PaymentAmount;
|
|
4216
4247
|
showPayButton?: boolean;
|
|
4248
|
+
disclaimerMessage?: DisclaimerMsgObject;
|
|
4217
4249
|
payButton?: (options: PayButtonProps) => preact.JSX.Element;
|
|
4218
4250
|
loadingContext?: string;
|
|
4219
|
-
createFromAction?: (action: PaymentAction, props:
|
|
4251
|
+
createFromAction?: (action: PaymentAction, props: CreateFromActionOptions) => UIElement;
|
|
4220
4252
|
clientKey?: string;
|
|
4221
4253
|
elementRef?: UIElement;
|
|
4222
4254
|
i18n?: Language;
|
|
@@ -4260,7 +4292,7 @@ declare class PayNowElement extends QRLoaderContainer {
|
|
|
4260
4292
|
beforeRedirect?: (resolve: () => void, reject: () => void, redirectData: {
|
|
4261
4293
|
url: string;
|
|
4262
4294
|
method: string;
|
|
4263
|
-
data?:
|
|
4295
|
+
data?: Record<string, unknown>;
|
|
4264
4296
|
}) => void;
|
|
4265
4297
|
beforeSubmit?: (state: PaymentData, component: UIElement, actions: BeforeSubmitActions) => Promise<void> | void;
|
|
4266
4298
|
onSubmit?: (state: SubmitData, component: UIElement, actions: SubmitActions) => void;
|
|
@@ -4289,9 +4321,10 @@ declare class PayNowElement extends QRLoaderContainer {
|
|
|
4289
4321
|
amount?: PaymentAmount;
|
|
4290
4322
|
secondaryAmount?: PaymentAmount;
|
|
4291
4323
|
showPayButton?: boolean;
|
|
4324
|
+
disclaimerMessage?: DisclaimerMsgObject;
|
|
4292
4325
|
payButton?: (options: PayButtonProps) => preact.JSX.Element;
|
|
4293
4326
|
loadingContext?: string;
|
|
4294
|
-
createFromAction?: (action: PaymentAction, props:
|
|
4327
|
+
createFromAction?: (action: PaymentAction, props: CreateFromActionOptions) => UIElement;
|
|
4295
4328
|
clientKey?: string;
|
|
4296
4329
|
elementRef?: UIElement;
|
|
4297
4330
|
i18n?: Language;
|
|
@@ -4336,7 +4369,7 @@ declare class BCMCMobileElement extends QRLoaderContainer {
|
|
|
4336
4369
|
beforeRedirect?: (resolve: () => void, reject: () => void, redirectData: {
|
|
4337
4370
|
url: string;
|
|
4338
4371
|
method: string;
|
|
4339
|
-
data?:
|
|
4372
|
+
data?: Record<string, unknown>;
|
|
4340
4373
|
}) => void;
|
|
4341
4374
|
beforeSubmit?: (state: PaymentData, component: UIElement, actions: BeforeSubmitActions) => Promise<void> | void;
|
|
4342
4375
|
onSubmit?: (state: SubmitData, component: UIElement, actions: SubmitActions) => void;
|
|
@@ -4365,9 +4398,10 @@ declare class BCMCMobileElement extends QRLoaderContainer {
|
|
|
4365
4398
|
amount?: PaymentAmount;
|
|
4366
4399
|
secondaryAmount?: PaymentAmount;
|
|
4367
4400
|
showPayButton?: boolean;
|
|
4401
|
+
disclaimerMessage?: DisclaimerMsgObject;
|
|
4368
4402
|
payButton?: (options: PayButtonProps) => preact.JSX.Element;
|
|
4369
4403
|
loadingContext?: string;
|
|
4370
|
-
createFromAction?: (action: PaymentAction, props:
|
|
4404
|
+
createFromAction?: (action: PaymentAction, props: CreateFromActionOptions) => UIElement;
|
|
4371
4405
|
clientKey?: string;
|
|
4372
4406
|
elementRef?: UIElement;
|
|
4373
4407
|
i18n?: Language;
|
|
@@ -4429,7 +4463,7 @@ declare class DragonpayElement extends UIElement<DragonpayConfiguraton> {
|
|
|
4429
4463
|
beforeRedirect?: (resolve: () => void, reject: () => void, redirectData: {
|
|
4430
4464
|
url: string;
|
|
4431
4465
|
method: string;
|
|
4432
|
-
data?:
|
|
4466
|
+
data?: Record<string, unknown>;
|
|
4433
4467
|
}) => void;
|
|
4434
4468
|
beforeSubmit?: (state: PaymentData, component: UIElement, actions: BeforeSubmitActions) => Promise<void> | void;
|
|
4435
4469
|
onSubmit?: (state: SubmitData, component: UIElement, actions: SubmitActions) => void;
|
|
@@ -4458,8 +4492,9 @@ declare class DragonpayElement extends UIElement<DragonpayConfiguraton> {
|
|
|
4458
4492
|
amount?: PaymentAmount;
|
|
4459
4493
|
secondaryAmount?: PaymentAmount;
|
|
4460
4494
|
showPayButton?: boolean;
|
|
4495
|
+
disclaimerMessage?: DisclaimerMsgObject;
|
|
4461
4496
|
payButton?: (options: PayButtonProps) => h.JSX.Element;
|
|
4462
|
-
createFromAction?: (action: PaymentAction, props:
|
|
4497
|
+
createFromAction?: (action: PaymentAction, props: CreateFromActionOptions) => UIElement;
|
|
4463
4498
|
clientKey?: string;
|
|
4464
4499
|
elementRef?: UIElement;
|
|
4465
4500
|
label?: string;
|
|
@@ -4562,7 +4597,7 @@ declare class EPSElement extends IssuerListContainer {
|
|
|
4562
4597
|
beforeRedirect?: (resolve: () => void, reject: () => void, redirectData: {
|
|
4563
4598
|
url: string;
|
|
4564
4599
|
method: string;
|
|
4565
|
-
data?:
|
|
4600
|
+
data?: Record<string, unknown>;
|
|
4566
4601
|
}) => void;
|
|
4567
4602
|
beforeSubmit?: (state: PaymentData, component: UIElement, actions: BeforeSubmitActions) => Promise<void> | void;
|
|
4568
4603
|
onSubmit?: (state: SubmitData, component: UIElement, actions: SubmitActions) => void;
|
|
@@ -4592,9 +4627,10 @@ declare class EPSElement extends IssuerListContainer {
|
|
|
4592
4627
|
amount?: PaymentAmount;
|
|
4593
4628
|
secondaryAmount?: PaymentAmount;
|
|
4594
4629
|
showPayButton?: boolean;
|
|
4630
|
+
disclaimerMessage?: DisclaimerMsgObject;
|
|
4595
4631
|
payButton?: (options: PayButtonProps) => preact.JSX.Element;
|
|
4596
4632
|
loadingContext?: string;
|
|
4597
|
-
createFromAction?: (action: PaymentAction, props:
|
|
4633
|
+
createFromAction?: (action: PaymentAction, props: CreateFromActionOptions) => UIElement;
|
|
4598
4634
|
clientKey?: string;
|
|
4599
4635
|
elementRef?: UIElement;
|
|
4600
4636
|
i18n?: Language;
|
|
@@ -4656,7 +4692,6 @@ interface GiftcardComponentProps extends Partial<Pick<SFPProps, 'clientKey' | 'l
|
|
|
4656
4692
|
onBlur: (event: any) => void;
|
|
4657
4693
|
makeBalanceCheck: (event: any) => void;
|
|
4658
4694
|
makePayment: (event: any) => void;
|
|
4659
|
-
showPayButton: boolean;
|
|
4660
4695
|
payButton: (props: PayButtonProps) => h.JSX.Element;
|
|
4661
4696
|
pinRequired: boolean;
|
|
4662
4697
|
expiryDateRequired?: boolean;
|
|
@@ -4823,7 +4858,7 @@ declare class PayuNetCashcardElement extends IssuerListContainer {
|
|
|
4823
4858
|
beforeRedirect?: (resolve: () => void, reject: () => void, redirectData: {
|
|
4824
4859
|
url: string;
|
|
4825
4860
|
method: string;
|
|
4826
|
-
data?:
|
|
4861
|
+
data?: Record<string, unknown>;
|
|
4827
4862
|
}) => void;
|
|
4828
4863
|
beforeSubmit?: (state: PaymentData, component: UIElement, actions: BeforeSubmitActions) => Promise<void> | void;
|
|
4829
4864
|
onSubmit?: (state: SubmitData, component: UIElement, actions: SubmitActions) => void;
|
|
@@ -4853,9 +4888,10 @@ declare class PayuNetCashcardElement extends IssuerListContainer {
|
|
|
4853
4888
|
amount?: PaymentAmount;
|
|
4854
4889
|
secondaryAmount?: PaymentAmount;
|
|
4855
4890
|
showPayButton?: boolean;
|
|
4891
|
+
disclaimerMessage?: DisclaimerMsgObject;
|
|
4856
4892
|
payButton?: (options: PayButtonProps) => preact.JSX.Element;
|
|
4857
4893
|
loadingContext?: string;
|
|
4858
|
-
createFromAction?: (action: PaymentAction, props:
|
|
4894
|
+
createFromAction?: (action: PaymentAction, props: CreateFromActionOptions) => UIElement;
|
|
4859
4895
|
clientKey?: string;
|
|
4860
4896
|
elementRef?: UIElement;
|
|
4861
4897
|
i18n?: Language;
|
|
@@ -4891,7 +4927,7 @@ declare class PayuNetBankingElement extends IssuerListContainer {
|
|
|
4891
4927
|
beforeRedirect?: (resolve: () => void, reject: () => void, redirectData: {
|
|
4892
4928
|
url: string;
|
|
4893
4929
|
method: string;
|
|
4894
|
-
data?:
|
|
4930
|
+
data?: Record<string, unknown>;
|
|
4895
4931
|
}) => void;
|
|
4896
4932
|
beforeSubmit?: (state: PaymentData, component: UIElement, actions: BeforeSubmitActions) => Promise<void> | void;
|
|
4897
4933
|
onSubmit?: (state: SubmitData, component: UIElement, actions: SubmitActions) => void;
|
|
@@ -4921,9 +4957,10 @@ declare class PayuNetBankingElement extends IssuerListContainer {
|
|
|
4921
4957
|
amount?: PaymentAmount;
|
|
4922
4958
|
secondaryAmount?: PaymentAmount;
|
|
4923
4959
|
showPayButton?: boolean;
|
|
4960
|
+
disclaimerMessage?: DisclaimerMsgObject;
|
|
4924
4961
|
payButton?: (options: PayButtonProps) => preact.JSX.Element;
|
|
4925
4962
|
loadingContext?: string;
|
|
4926
|
-
createFromAction?: (action: PaymentAction, props:
|
|
4963
|
+
createFromAction?: (action: PaymentAction, props: CreateFromActionOptions) => UIElement;
|
|
4927
4964
|
clientKey?: string;
|
|
4928
4965
|
elementRef?: UIElement;
|
|
4929
4966
|
i18n?: Language;
|
|
@@ -4972,7 +5009,7 @@ declare class SwishElement extends QRLoaderContainer {
|
|
|
4972
5009
|
beforeRedirect?: (resolve: () => void, reject: () => void, redirectData: {
|
|
4973
5010
|
url: string;
|
|
4974
5011
|
method: string;
|
|
4975
|
-
data?:
|
|
5012
|
+
data?: Record<string, unknown>;
|
|
4976
5013
|
}) => void;
|
|
4977
5014
|
beforeSubmit?: (state: PaymentData, component: UIElement, actions: BeforeSubmitActions) => Promise<void> | void;
|
|
4978
5015
|
onSubmit?: (state: SubmitData, component: UIElement, actions: SubmitActions) => void;
|
|
@@ -5001,9 +5038,10 @@ declare class SwishElement extends QRLoaderContainer {
|
|
|
5001
5038
|
amount?: PaymentAmount;
|
|
5002
5039
|
secondaryAmount?: PaymentAmount;
|
|
5003
5040
|
showPayButton?: boolean;
|
|
5041
|
+
disclaimerMessage?: DisclaimerMsgObject;
|
|
5004
5042
|
payButton?: (options: PayButtonProps) => preact.JSX.Element;
|
|
5005
5043
|
loadingContext?: string;
|
|
5006
|
-
createFromAction?: (action: PaymentAction, props:
|
|
5044
|
+
createFromAction?: (action: PaymentAction, props: CreateFromActionOptions) => UIElement;
|
|
5007
5045
|
clientKey?: string;
|
|
5008
5046
|
elementRef?: UIElement;
|
|
5009
5047
|
i18n?: Language;
|
|
@@ -5361,7 +5399,7 @@ declare class OnlineBankingINElement extends IssuerListContainer {
|
|
|
5361
5399
|
beforeRedirect?: (resolve: () => void, reject: () => void, redirectData: {
|
|
5362
5400
|
url: string;
|
|
5363
5401
|
method: string;
|
|
5364
|
-
data?:
|
|
5402
|
+
data?: Record<string, unknown>;
|
|
5365
5403
|
}) => void;
|
|
5366
5404
|
beforeSubmit?: (state: PaymentData, component: UIElement, actions: BeforeSubmitActions) => Promise<void> | void;
|
|
5367
5405
|
onSubmit?: (state: SubmitData, component: UIElement, actions: SubmitActions) => void;
|
|
@@ -5391,9 +5429,10 @@ declare class OnlineBankingINElement extends IssuerListContainer {
|
|
|
5391
5429
|
amount?: PaymentAmount;
|
|
5392
5430
|
secondaryAmount?: PaymentAmount;
|
|
5393
5431
|
showPayButton?: boolean;
|
|
5432
|
+
disclaimerMessage?: DisclaimerMsgObject;
|
|
5394
5433
|
payButton?: (options: PayButtonProps) => preact.JSX.Element;
|
|
5395
5434
|
loadingContext?: string;
|
|
5396
|
-
createFromAction?: (action: PaymentAction, props:
|
|
5435
|
+
createFromAction?: (action: PaymentAction, props: CreateFromActionOptions) => UIElement;
|
|
5397
5436
|
clientKey?: string;
|
|
5398
5437
|
elementRef?: UIElement;
|
|
5399
5438
|
i18n?: Language;
|
|
@@ -5558,7 +5597,7 @@ declare class WalletINElement extends IssuerListContainer {
|
|
|
5558
5597
|
beforeRedirect?: (resolve: () => void, reject: () => void, redirectData: {
|
|
5559
5598
|
url: string;
|
|
5560
5599
|
method: string;
|
|
5561
|
-
data?:
|
|
5600
|
+
data?: Record<string, unknown>;
|
|
5562
5601
|
}) => void;
|
|
5563
5602
|
beforeSubmit?: (state: PaymentData, component: UIElement, actions: BeforeSubmitActions) => Promise<void> | void;
|
|
5564
5603
|
onSubmit?: (state: SubmitData, component: UIElement, actions: SubmitActions) => void;
|
|
@@ -5588,9 +5627,10 @@ declare class WalletINElement extends IssuerListContainer {
|
|
|
5588
5627
|
amount?: PaymentAmount;
|
|
5589
5628
|
secondaryAmount?: PaymentAmount;
|
|
5590
5629
|
showPayButton?: boolean;
|
|
5630
|
+
disclaimerMessage?: DisclaimerMsgObject;
|
|
5591
5631
|
payButton?: (options: PayButtonProps) => preact.JSX.Element;
|
|
5592
5632
|
loadingContext?: string;
|
|
5593
|
-
createFromAction?: (action: PaymentAction, props:
|
|
5633
|
+
createFromAction?: (action: PaymentAction, props: CreateFromActionOptions) => UIElement;
|
|
5594
5634
|
clientKey?: string;
|
|
5595
5635
|
elementRef?: UIElement;
|
|
5596
5636
|
i18n?: Language;
|
|
@@ -5641,7 +5681,7 @@ declare class OnlineBankingCZElement extends IssuerListContainer {
|
|
|
5641
5681
|
beforeRedirect?: (resolve: () => void, reject: () => void, redirectData: {
|
|
5642
5682
|
url: string;
|
|
5643
5683
|
method: string;
|
|
5644
|
-
data?:
|
|
5684
|
+
data?: Record<string, unknown>;
|
|
5645
5685
|
}) => void;
|
|
5646
5686
|
beforeSubmit?: (state: PaymentData, component: UIElement, actions: BeforeSubmitActions) => Promise<void> | void;
|
|
5647
5687
|
onSubmit?: (state: SubmitData, component: UIElement, actions: SubmitActions) => void;
|
|
@@ -5671,9 +5711,10 @@ declare class OnlineBankingCZElement extends IssuerListContainer {
|
|
|
5671
5711
|
amount?: PaymentAmount;
|
|
5672
5712
|
secondaryAmount?: PaymentAmount;
|
|
5673
5713
|
showPayButton?: boolean;
|
|
5714
|
+
disclaimerMessage?: DisclaimerMsgObject;
|
|
5674
5715
|
payButton?: (options: PayButtonProps) => preact.JSX.Element;
|
|
5675
5716
|
loadingContext?: string;
|
|
5676
|
-
createFromAction?: (action: PaymentAction, props:
|
|
5717
|
+
createFromAction?: (action: PaymentAction, props: CreateFromActionOptions) => UIElement;
|
|
5677
5718
|
clientKey?: string;
|
|
5678
5719
|
elementRef?: UIElement;
|
|
5679
5720
|
i18n?: Language;
|
|
@@ -5714,7 +5755,7 @@ declare class OnlineBankingSKElement extends IssuerListContainer {
|
|
|
5714
5755
|
beforeRedirect?: (resolve: () => void, reject: () => void, redirectData: {
|
|
5715
5756
|
url: string;
|
|
5716
5757
|
method: string;
|
|
5717
|
-
data?:
|
|
5758
|
+
data?: Record<string, unknown>;
|
|
5718
5759
|
}) => void;
|
|
5719
5760
|
beforeSubmit?: (state: PaymentData, component: UIElement, actions: BeforeSubmitActions) => Promise<void> | void;
|
|
5720
5761
|
onSubmit?: (state: SubmitData, component: UIElement, actions: SubmitActions) => void;
|
|
@@ -5744,9 +5785,10 @@ declare class OnlineBankingSKElement extends IssuerListContainer {
|
|
|
5744
5785
|
amount?: PaymentAmount;
|
|
5745
5786
|
secondaryAmount?: PaymentAmount;
|
|
5746
5787
|
showPayButton?: boolean;
|
|
5788
|
+
disclaimerMessage?: DisclaimerMsgObject;
|
|
5747
5789
|
payButton?: (options: PayButtonProps) => preact.JSX.Element;
|
|
5748
5790
|
loadingContext?: string;
|
|
5749
|
-
createFromAction?: (action: PaymentAction, props:
|
|
5791
|
+
createFromAction?: (action: PaymentAction, props: CreateFromActionOptions) => UIElement;
|
|
5750
5792
|
clientKey?: string;
|
|
5751
5793
|
elementRef?: UIElement;
|
|
5752
5794
|
i18n?: Language;
|
|
@@ -5796,7 +5838,7 @@ declare class PromptPayElement extends QRLoaderContainer {
|
|
|
5796
5838
|
beforeRedirect?: (resolve: () => void, reject: () => void, redirectData: {
|
|
5797
5839
|
url: string;
|
|
5798
5840
|
method: string;
|
|
5799
|
-
data?:
|
|
5841
|
+
data?: Record<string, unknown>;
|
|
5800
5842
|
}) => void;
|
|
5801
5843
|
beforeSubmit?: (state: PaymentData, component: UIElement, actions: BeforeSubmitActions) => Promise<void> | void;
|
|
5802
5844
|
onSubmit?: (state: SubmitData, component: UIElement, actions: SubmitActions) => void;
|
|
@@ -5825,9 +5867,10 @@ declare class PromptPayElement extends QRLoaderContainer {
|
|
|
5825
5867
|
amount?: PaymentAmount;
|
|
5826
5868
|
secondaryAmount?: PaymentAmount;
|
|
5827
5869
|
showPayButton?: boolean;
|
|
5870
|
+
disclaimerMessage?: DisclaimerMsgObject;
|
|
5828
5871
|
payButton?: (options: PayButtonProps) => preact.JSX.Element;
|
|
5829
5872
|
loadingContext?: string;
|
|
5830
|
-
createFromAction?: (action: PaymentAction, props:
|
|
5873
|
+
createFromAction?: (action: PaymentAction, props: CreateFromActionOptions) => UIElement;
|
|
5831
5874
|
clientKey?: string;
|
|
5832
5875
|
elementRef?: UIElement;
|
|
5833
5876
|
i18n?: Language;
|
|
@@ -5871,7 +5914,7 @@ declare class DuitNowElement extends QRLoaderContainer {
|
|
|
5871
5914
|
beforeRedirect?: (resolve: () => void, reject: () => void, redirectData: {
|
|
5872
5915
|
url: string;
|
|
5873
5916
|
method: string;
|
|
5874
|
-
data?:
|
|
5917
|
+
data?: Record<string, unknown>;
|
|
5875
5918
|
}) => void;
|
|
5876
5919
|
beforeSubmit?: (state: PaymentData, component: UIElement, actions: BeforeSubmitActions) => Promise<void> | void;
|
|
5877
5920
|
onSubmit?: (state: SubmitData, component: UIElement, actions: SubmitActions) => void;
|
|
@@ -5900,9 +5943,10 @@ declare class DuitNowElement extends QRLoaderContainer {
|
|
|
5900
5943
|
amount?: PaymentAmount;
|
|
5901
5944
|
secondaryAmount?: PaymentAmount;
|
|
5902
5945
|
showPayButton?: boolean;
|
|
5946
|
+
disclaimerMessage?: DisclaimerMsgObject;
|
|
5903
5947
|
payButton?: (options: PayButtonProps) => preact.JSX.Element;
|
|
5904
5948
|
loadingContext?: string;
|
|
5905
|
-
createFromAction?: (action: PaymentAction, props:
|
|
5949
|
+
createFromAction?: (action: PaymentAction, props: CreateFromActionOptions) => UIElement;
|
|
5906
5950
|
clientKey?: string;
|
|
5907
5951
|
elementRef?: UIElement;
|
|
5908
5952
|
i18n?: Language;
|
|
@@ -6152,7 +6196,7 @@ declare class PayToElement extends UIElement<PayToConfiguration> {
|
|
|
6152
6196
|
beforeRedirect?: (resolve: () => void, reject: () => void, redirectData: {
|
|
6153
6197
|
url: string;
|
|
6154
6198
|
method: string;
|
|
6155
|
-
data?:
|
|
6199
|
+
data?: Record<string, unknown>;
|
|
6156
6200
|
}) => void;
|
|
6157
6201
|
beforeSubmit?: (state: PaymentData, component: UIElement, actions: BeforeSubmitActions) => Promise<void> | void;
|
|
6158
6202
|
onSubmit?: (state: SubmitData, component: UIElement, actions: SubmitActions) => void;
|
|
@@ -6182,9 +6226,10 @@ declare class PayToElement extends UIElement<PayToConfiguration> {
|
|
|
6182
6226
|
amount?: PaymentAmount;
|
|
6183
6227
|
secondaryAmount?: PaymentAmount;
|
|
6184
6228
|
showPayButton?: boolean;
|
|
6229
|
+
disclaimerMessage?: DisclaimerMsgObject;
|
|
6185
6230
|
payButton?: (options: PayButtonProps) => h.JSX.Element;
|
|
6186
6231
|
loadingContext?: string;
|
|
6187
|
-
createFromAction?: (action: PaymentAction, props:
|
|
6232
|
+
createFromAction?: (action: PaymentAction, props: CreateFromActionOptions) => UIElement;
|
|
6188
6233
|
clientKey?: string;
|
|
6189
6234
|
elementRef?: UIElement;
|
|
6190
6235
|
i18n?: Language;
|
|
@@ -6350,6 +6395,10 @@ declare class PayByBankPixElement extends UIElement<PayByBankPixConfiguration> {
|
|
|
6350
6395
|
*/
|
|
6351
6396
|
private readonly payWithStoredPayment;
|
|
6352
6397
|
private readonly authorizePayment;
|
|
6398
|
+
/**
|
|
6399
|
+
* The enrollment flow is only rendered on the Adyen hosted page and it is always shown, regardless of the showPayButton configuration.
|
|
6400
|
+
*/
|
|
6401
|
+
private readonly enrollmentPayButton;
|
|
6353
6402
|
protected componentToRender(): h.JSX.Element;
|
|
6354
6403
|
}
|
|
6355
6404
|
|
|
@@ -6831,7 +6880,7 @@ type CheckoutSessionSetupResponse = {
|
|
|
6831
6880
|
countryCode?: string;
|
|
6832
6881
|
amount: Omit<PaymentAmount, 'currencyDisplay'>;
|
|
6833
6882
|
expiresAt: string;
|
|
6834
|
-
paymentMethods:
|
|
6883
|
+
paymentMethods: PaymentMethodsResponse;
|
|
6835
6884
|
returnUrl: string;
|
|
6836
6885
|
configuration: SessionConfiguration;
|
|
6837
6886
|
/**
|
|
@@ -6945,6 +6994,25 @@ declare class Session {
|
|
|
6945
6994
|
removeStoredSession(): void;
|
|
6946
6995
|
}
|
|
6947
6996
|
|
|
6997
|
+
/**
|
|
6998
|
+
* The subset of the merchant configuration that is forwarded to every Component (see GENERIC_OPTIONS).
|
|
6999
|
+
* Every property is optional, since only the ones set by the merchant are forwarded
|
|
7000
|
+
*/
|
|
7001
|
+
type GlobalOptions = Partial<Pick<CoreConfiguration, Extract<keyof CoreConfiguration, (typeof GENERIC_OPTIONS)[number]>>>;
|
|
7002
|
+
/**
|
|
7003
|
+
* @internal
|
|
7004
|
+
* The props that the Core provides to every Component it creates
|
|
7005
|
+
*/
|
|
7006
|
+
type CorePropsForComponent = Omit<GlobalOptions, 'session'> & {
|
|
7007
|
+
core: ICore;
|
|
7008
|
+
i18n: Language;
|
|
7009
|
+
modules: CoreModules;
|
|
7010
|
+
session?: Session;
|
|
7011
|
+
loadingContext: string;
|
|
7012
|
+
cdnContext: string;
|
|
7013
|
+
createFromAction: ICore['createFromAction'];
|
|
7014
|
+
};
|
|
7015
|
+
type CreateFromActionOptions = Partial<UIElementProps> & Pick<ThreeDS2ConfigProps, 'challengeWindowSize' | 'isMDFlow' | 'on3DS2RedirectFlowComplete' | 'usePasskeyIFrameAttributes'>;
|
|
6948
7016
|
interface ICore {
|
|
6949
7017
|
initialize(): Promise<ICore>;
|
|
6950
7018
|
register(...items: NewableComponent[]): void;
|
|
@@ -6953,9 +7021,9 @@ interface ICore {
|
|
|
6953
7021
|
}): Promise<ICore>;
|
|
6954
7022
|
remove(component: any): ICore;
|
|
6955
7023
|
submitDetails(details: AdditionalDetailsData['data']): void;
|
|
6956
|
-
getCorePropsForComponent():
|
|
7024
|
+
getCorePropsForComponent(): CorePropsForComponent;
|
|
6957
7025
|
getComponent(txVariant: string): NewableComponent | undefined;
|
|
6958
|
-
createFromAction(action: PaymentAction, options?:
|
|
7026
|
+
createFromAction(action: PaymentAction, options?: CreateFromActionOptions): UIElement;
|
|
6959
7027
|
storeElementReference(element: UIElement): void;
|
|
6960
7028
|
processPayment(data: PaymentData): void;
|
|
6961
7029
|
options: CoreConfiguration;
|
|
@@ -6994,7 +7062,7 @@ type AdditionalDetailsData = {
|
|
|
6994
7062
|
details: {
|
|
6995
7063
|
redirectResult?: string;
|
|
6996
7064
|
threeDSResult?: string;
|
|
6997
|
-
[key: string]:
|
|
7065
|
+
[key: string]: string | undefined;
|
|
6998
7066
|
};
|
|
6999
7067
|
paymentData?: string;
|
|
7000
7068
|
sessionData?: string;
|
|
@@ -7107,7 +7175,7 @@ interface CoreConfiguration {
|
|
|
7107
7175
|
beforeRedirect?(resolve: () => void, reject: () => void, redirectData: {
|
|
7108
7176
|
url: string;
|
|
7109
7177
|
method: string;
|
|
7110
|
-
data?:
|
|
7178
|
+
data?: Record<string, unknown>;
|
|
7111
7179
|
}): void;
|
|
7112
7180
|
/**
|
|
7113
7181
|
* Called when the shopper selects the Pay button (it only works on Sessions flow)
|
|
@@ -7918,11 +7986,6 @@ interface CardConfiguration extends UIElementProps {
|
|
|
7918
7986
|
* - merchant set config option
|
|
7919
7987
|
*/
|
|
7920
7988
|
disableIOSArrowKeys?: boolean;
|
|
7921
|
-
/**
|
|
7922
|
-
* Object to configure the message and text for a disclaimer message, added after the Card input fields
|
|
7923
|
-
* - merchant set config option
|
|
7924
|
-
*/
|
|
7925
|
-
disclaimerMessage?: DisclaimerMsgObject;
|
|
7926
7989
|
/**
|
|
7927
7990
|
* Allow binLookup process to occur
|
|
7928
7991
|
* @defaultValue `true`
|
|
@@ -8361,7 +8424,7 @@ declare class PayMeElement extends QRLoaderContainer {
|
|
|
8361
8424
|
beforeRedirect?: (resolve: () => void, reject: () => void, redirectData: {
|
|
8362
8425
|
url: string;
|
|
8363
8426
|
method: string;
|
|
8364
|
-
data?:
|
|
8427
|
+
data?: Record<string, unknown>;
|
|
8365
8428
|
}) => void;
|
|
8366
8429
|
beforeSubmit?: (state: PaymentData, component: UIElement, actions: BeforeSubmitActions) => Promise<void> | void;
|
|
8367
8430
|
onSubmit?: (state: SubmitData, component: UIElement, actions: SubmitActions) => void;
|
|
@@ -8390,9 +8453,10 @@ declare class PayMeElement extends QRLoaderContainer {
|
|
|
8390
8453
|
amount?: PaymentAmount;
|
|
8391
8454
|
secondaryAmount?: PaymentAmount;
|
|
8392
8455
|
showPayButton?: boolean;
|
|
8456
|
+
disclaimerMessage?: DisclaimerMsgObject;
|
|
8393
8457
|
payButton?: (options: PayButtonProps) => preact.JSX.Element;
|
|
8394
8458
|
loadingContext?: string;
|
|
8395
|
-
createFromAction?: (action: PaymentAction, props:
|
|
8459
|
+
createFromAction?: (action: PaymentAction, props: CreateFromActionOptions) => UIElement;
|
|
8396
8460
|
clientKey?: string;
|
|
8397
8461
|
elementRef?: UIElement;
|
|
8398
8462
|
i18n?: Language;
|
|
@@ -8453,7 +8517,7 @@ declare class DropinElement extends UIElement<DropinConfiguration> implements ID
|
|
|
8453
8517
|
beforeRedirect?: (resolve: () => void, reject: () => void, redirectData: {
|
|
8454
8518
|
url: string;
|
|
8455
8519
|
method: string;
|
|
8456
|
-
data?:
|
|
8520
|
+
data?: Record<string, unknown>;
|
|
8457
8521
|
}) => void;
|
|
8458
8522
|
beforeSubmit?: (state: PaymentData, component: UIElement, actions: BeforeSubmitActions) => Promise<void> | void;
|
|
8459
8523
|
onSubmit?: (state: SubmitData, component: UIElement, actions: SubmitActions) => void;
|
|
@@ -8483,9 +8547,10 @@ declare class DropinElement extends UIElement<DropinConfiguration> implements ID
|
|
|
8483
8547
|
amount?: PaymentAmount;
|
|
8484
8548
|
secondaryAmount?: PaymentAmount;
|
|
8485
8549
|
showPayButton?: boolean;
|
|
8550
|
+
disclaimerMessage?: DisclaimerMsgObject;
|
|
8486
8551
|
payButton?: (options: PayButtonProps) => h.JSX.Element;
|
|
8487
8552
|
loadingContext?: string;
|
|
8488
|
-
createFromAction?: (action: PaymentAction, props:
|
|
8553
|
+
createFromAction?: (action: PaymentAction, props: CreateFromActionOptions) => UIElement;
|
|
8489
8554
|
clientKey?: string;
|
|
8490
8555
|
elementRef?: UIElement;
|
|
8491
8556
|
i18n?: Language;
|
|
@@ -8795,7 +8860,7 @@ declare class Core implements ICore {
|
|
|
8795
8860
|
* @param options - options that will be merged to the global Checkout props
|
|
8796
8861
|
* @returns new UIElement
|
|
8797
8862
|
*/
|
|
8798
|
-
createFromAction(action: PaymentAction, options?:
|
|
8863
|
+
createFromAction(action: PaymentAction, options?: CreateFromActionOptions): UIElement;
|
|
8799
8864
|
/**
|
|
8800
8865
|
* Updates global configurations, resets the internal state and remounts each element.
|
|
8801
8866
|
*
|
|
@@ -8830,7 +8895,7 @@ declare class Core implements ICore {
|
|
|
8830
8895
|
* @internal
|
|
8831
8896
|
* @returns props for a new UIElement
|
|
8832
8897
|
*/
|
|
8833
|
-
getCorePropsForComponent():
|
|
8898
|
+
getCorePropsForComponent(): CorePropsForComponent;
|
|
8834
8899
|
processPayment(data: PaymentData): void;
|
|
8835
8900
|
storeElementReference(element: UIElement): void;
|
|
8836
8901
|
/**
|
|
@@ -8857,4 +8922,4 @@ declare namespace AdyenCheckout {
|
|
|
8857
8922
|
}
|
|
8858
8923
|
|
|
8859
8924
|
export { ANCVElement as ANCV, AchElement as Ach, AddressElement as Address, AdyenCheckout, AdyenCheckoutError, Affirm, AfterPay, AfterPayB2B, AmazonPayElement as AmazonPay, ApplePayElement as ApplePay, Atome, BacsElement as BacsDirectDebit, BancontactElement as Bancontact, BankTransferElement as BankTransfer, BCMCMobileElement as BcmcMobile, BillDeskOnlineElement as BillDeskOnline, BillDeskWalletElement as BillDeskWallet, BlikElement as Blik, BoletoElement as Boleto, CardElement as Card, CashAppPay, ClickToPayElement as ClickToPay, Core, CustomCard, DokuElement as Doku, DonationElement as Donation, DotpayElement as Dotpay, DragonpayElement as Dragonpay, DropinElement as Dropin, DuitNowElement as DuitNow, EPSElement as EPS, EcontextElement as Econtext, FacilyPay10x as FacilPay10x, FacilyPay12x as FacilPay12x, FacilyPay3x as FacilPay3x, FacilyPay4x as FacilPay4x, FacilyPay6x as FacilPay6x, Fastlane, FastlaneSDK, GiftcardElement as Giftcard, GiropayElement as Giropay, GooglePay, Iris, IrisMode, KlarnaPayments as Klarna, MBWayElement as MBWay, MealVoucherFRElement as MealVoucherFR, MolPayEBankingMYElement as MolPayEBankingMY, MolPayEBankingTHElement as MolPayEBankingTH, MolPayEbankingVNElement as MolPayEBankingVN, MultibancoElement as Multibanco, OnlineBankingCZElement as OnlineBankingCZ, OnlineBankingFI, OnlineBankingINElement as OnlineBankingIN, OnlineBankingPL, OnlineBankingSKElement as OnlineBankingSK, OxxoElement as Oxxo, PayByBank, PayByBankPixElement as PayByBankPix, PayByBankUS, PayMeElement as PayMe, PayNowElement as PayNow, PaypalElement as PayPal, PayToElement as PayTo, PayuNetCashcardElement as PayuCashcard, PayuNetBankingElement as PayuNetBanking, PersonalDetailsElement as PersonalDetails, PixElement as Pix, PreAuthorizedDebitCanada, PromptPayElement as PromptPay, RatePay, RatePayDirectDebit, RedirectElement as Redirect, Riverty, SepaElement as SepaDirectDebit, SwishElement as Swish, ThreeDS2Challenge, ThreeDS2DeviceFingerprint, TrustlyElement as Trustly, TwintElement as Twint, UIElement, UPI, VippsElement as Vipps, WalletINElement as WalletIN, WeChatPayElement as WeChat, index_d as components, initializeFastlane };
|
|
8860
|
-
export type { ANCVConfiguration, ANCVDataState, AchConfiguration, AchPlaceholders, ActionDescriptionType, ActionHandledReturnObject, AdditionalDetailsActions, AdditionalDetailsData, AddressData, AddressField, AmazonPayBackendConfiguration, AmazonPayButtonProps, AmazonPayButtonSettings, AmazonPayComponentProps, AmazonPayComponentRef, AmazonPayConfiguration, AmazonPayElementData, AmazonWindowObject, App, ApplePayButtonStyle, ApplePayButtonType, ApplePayConfiguration, ApplePayElementData, ApplePayPaymentAuthorizationResult, ApplePayPaymentOrderDetails, ApplePaySessionRequest, ApplePayWebConfiguration, AwaitComponentProps, AwaitConfiguration, BankDetailsSchema, BankTransferConfiguration, BankTransferSchema, BankTransferState, BeforeSubmitActions, BinLookupResponse, BinLookupResponseRaw, BoletoConfiguration, BoletoElementProps, BoletoInputDataState, BoletoInputErrorState, BoletoInputValidState, BrandConfiguration, BrandObject, BrowserInfo, CReqData, CardAllValidData, CardAutoCompleteData, CardBackendConfiguration, CardBinLookupData, CardBinValueData, CardBrandData, CardBrandsConfiguration, CardConfigSuccessData, CardConfiguration, CardElementData, CardErrorData, CardFieldValidData, CardFocusData, CardLoadData, CardPlaceholders, CashAppPayConfiguration, CashAppPayElementData, CashAppPayEventData, ChallengeData, ChallengeResolveData, ChallengeWindowSize, ChangeActionOptions, ChangePaymentDetailsButtonProps, ChargeAmount, CheckoutAdvancedFlowResponse, CheckoutDetailsRequest, CheckoutSession, CheckoutSessionConfig, ClickToPayConfiguration, ClickToPayPaymentData, ClickToPayProps, ClickToPayScheme, CommonVoucherProps, ComponentFocusObject, ComponentMethodsRef, CoreConfiguration, CoreModules, Currency, CustomCardConfiguration, CustomTranslations, DecodeObject, DeliverySpecifications, DokuVoucherResultProps, DonationCampaign, DonationCampaignOptions, DonationConfiguration, DonationOptions, DonationProps, DragonpayConfiguraton, DragonpayInputData, DragonpayInputIssuerItem, DragonpayInputProps, DragonpayVoucherResultProps, DropinComponentProps, DropinComponentState, DropinConfiguration, DropinStatus, DropinStatusProps, DualBrandButtons, DualBrandSelectElement, DualBrandingChangeHandler, EcontextConfiguration, EcontextInputSchema, EcontextVoucherResultProps, ErrorCodeObject, ExtendedMerchantInfo, FastlaneAddress, FastlaneAuthenticatedCustomerResult, FastlaneConfiguration, FastlaneConsentRenderState, FastlaneData, FastlaneOptions, FastlanePaymentMethodConfiguration, FastlaneProfile, FastlaneSDKConfiguration, FastlaneShipping, FastlaneShippingAddressSelectorResult, FastlaneSignupConfiguration, FastlaneWindowInstance, FieldsetVisibility, FingerPrintData, FingerprintResolveData, FundingSource, FundingSourceKeys, GiftCardBalanceCheckErrorType, GiftCardConfiguration, GiftCardElementData, GiftCardValidationError, GooglePayConfiguration, GooglePaymentDataRequest, ICore, IDropin, InstantPaymentTypes, Intent, IrisConfiguration, IrisData, IrisState, IssuerListConfiguration, IssuerListData, KlarnaAction, KlarnaAdditionalDetailsData, KlarnaComponentRef, KlarnaConfiguration, KlarnaSdkData, KlarnaWidgetAuthorizeResponse, KlarnaWidgetProps, LedgerCurrencies, MandateFrequencyType, MandateType, OnChangeData, OnChangeDataErrors, OpenInvoiceActiveFieldsets, OpenInvoiceConfiguration, OpenInvoiceFieldsetsRefs, OpenInvoiceProps, OpenInvoiceState, OpenInvoiceStateData, OpenInvoiceStateError, OpenInvoiceStateValid, OpenInvoiceVisibility, Order, OrderButtonProps, OrderStatus, PayPalConfiguration, PayToConfiguration, PayToData, PayToPlaceholdersType, PayloadJSON, PaymentAction, PaymentActionsType, PaymentAmount, PaymentCompletedData, PaymentData, PaymentFailedData, PaymentMethodBrand, PaymentMethodData, PaymentMethodDisplayMode, PaymentMethodGroup, PaymentMethodOptions, PaymentMethods, PaymentMethodsConfiguration, PaymentMethodsRequestData, PaymentMethodsResponse, PaymentResponseData, PersonalDetailsSchema, PixConfiguration, PixElementData, PostMsgParseErrorObject, PreAuthorizedDebitCanadaConfiguration, PreAuthorizedDebitCanadaPlaceholders, ProcessedPaymentStatusResponse, QRLoaderConfiguration, RawPaymentMethod, RawPaymentResponse, RawPaymentStatusResponse, RawStoredPaymentMethod, RecurringMetadata, RedirectConfiguration, Region, ResultCode, ResultObject, ResultValue, ReviewDetails, SepaConfiguration, SepaElementData, SessionsResponse, SignOutButtonProps, SocialSecurityMode, StatusFromAction, SubmitActions, SubmitData, SupportedLocale, SupportedPayPalFundingSources, ThreeDS2ActionProps, ThreeDS2ChallengeConfiguration, ThreeDS2ConfigProps, ThreeDS2DeviceFingerprintConfiguration, ThreeDS2FingerprintResponse, ThreeDS2FlowObject, ThreeDS2FlowProps, ThreeDS2Token, UIElementProps, UIElementStatus, UPIAppList, UPIConfiguration, UpdateAmazonCheckoutSessionRequest, UpiMode, UpiPaymentData, UpiType, ValidationError, VoucherConfiguration, VoucherDetail, VoucherProps, balanceCheckResponseType, onBalanceCheckCallbackType, onOrderCancelData, onOrderCancelInternalCallback, onOrderCancelType, onOrderRequestCallbackType, onOrderUpdatedCallbackType, onRequiringConfirmationCallbackType };
|
|
8925
|
+
export type { ANCVConfiguration, ANCVDataState, AchConfiguration, AchPlaceholders, ActionDescriptionType, ActionHandledReturnObject, AdditionalDetailsActions, AdditionalDetailsData, AddressData, AddressField, AmazonPayBackendConfiguration, AmazonPayButtonProps, AmazonPayButtonSettings, AmazonPayComponentProps, AmazonPayComponentRef, AmazonPayConfiguration, AmazonPayElementData, AmazonWindowObject, App, ApplePayButtonStyle, ApplePayButtonType, ApplePayConfiguration, ApplePayElementData, ApplePayPaymentAuthorizationResult, ApplePayPaymentOrderDetails, ApplePaySessionRequest, ApplePaySessionResponse, ApplePayWebConfiguration, AwaitComponentProps, AwaitConfiguration, BankDetailsSchema, BankTransferConfiguration, BankTransferSchema, BankTransferState, BeforeSubmitActions, BinLookupResponse, BinLookupResponseRaw, BoletoConfiguration, BoletoElementProps, BoletoInputDataState, BoletoInputErrorState, BoletoInputValidState, BrandConfiguration, BrandObject, BrowserInfo, CReqData, CardAllValidData, CardAutoCompleteData, CardBackendConfiguration, CardBinLookupData, CardBinValueData, CardBrandData, CardBrandsConfiguration, CardConfigSuccessData, CardConfiguration, CardElementData, CardErrorData, CardFieldValidData, CardFocusData, CardLoadData, CardPlaceholders, CashAppPayConfiguration, CashAppPayElementData, CashAppPayEventData, ChallengeData, ChallengeResolveData, ChallengeWindowSize, ChangeActionOptions, ChangePaymentDetailsButtonProps, ChargeAmount, CheckoutAdvancedFlowResponse, CheckoutDetailsRequest, CheckoutSession, CheckoutSessionConfig, ClickToPayConfiguration, ClickToPayPaymentData, ClickToPayProps, ClickToPayScheme, CommonVoucherProps, ComponentFocusObject, ComponentMethodsRef, CoreConfiguration, CoreModules, CorePropsForComponent, CreateFromActionOptions, Currency, CustomCardConfiguration, CustomTranslations, DecodeObject, DeliverySpecifications, DokuVoucherResultProps, DonationCampaign, DonationCampaignOptions, DonationConfiguration, DonationOptions, DonationProps, DragonpayConfiguraton, DragonpayInputData, DragonpayInputIssuerItem, DragonpayInputProps, DragonpayVoucherResultProps, DropinComponentProps, DropinComponentState, DropinConfiguration, DropinStatus, DropinStatusProps, DualBrandButtons, DualBrandSelectElement, DualBrandingChangeHandler, EcontextConfiguration, EcontextInputSchema, EcontextVoucherResultProps, ErrorCodeObject, ExtendedMerchantInfo, FastlaneAddress, FastlaneAuthenticatedCustomerResult, FastlaneConfiguration, FastlaneConsentRenderState, FastlaneData, FastlaneOptions, FastlanePaymentMethodConfiguration, FastlaneProfile, FastlaneSDKConfiguration, FastlaneShipping, FastlaneShippingAddressSelectorResult, FastlaneSignupConfiguration, FastlaneWindowInstance, FieldsetVisibility, FingerPrintData, FingerprintResolveData, FundingSource, FundingSourceKeys, GiftCardBalanceCheckErrorType, GiftCardConfiguration, GiftCardElementData, GiftCardValidationError, GlobalOptions, GooglePayConfiguration, GooglePaymentDataRequest, ICore, IDropin, InstantPaymentTypes, Intent, IrisConfiguration, IrisData, IrisState, IssuerListConfiguration, IssuerListData, KlarnaAction, KlarnaAdditionalDetailsData, KlarnaComponentRef, KlarnaConfiguration, KlarnaSdkData, KlarnaWidgetAuthorizeResponse, KlarnaWidgetProps, LedgerCurrencies, MandateFrequencyType, MandateType, OnChangeData, OnChangeDataErrors, OpenInvoiceActiveFieldsets, OpenInvoiceConfiguration, OpenInvoiceFieldsetsRefs, OpenInvoiceProps, OpenInvoiceState, OpenInvoiceStateData, OpenInvoiceStateError, OpenInvoiceStateValid, OpenInvoiceVisibility, Order, OrderButtonProps, OrderStatus, PayPalConfiguration, PayToConfiguration, PayToData, PayToPlaceholdersType, PayloadJSON, PaymentAction, PaymentActionsType, PaymentAmount, PaymentCompletedData, PaymentData, PaymentFailedData, PaymentMethodBrand, PaymentMethodData, PaymentMethodDisplayMode, PaymentMethodGroup, PaymentMethodOptions, PaymentMethods, PaymentMethodsConfiguration, PaymentMethodsRequestData, PaymentMethodsResponse, PaymentResponseData, PersonalDetailsSchema, PixConfiguration, PixElementData, PostMsgParseErrorObject, PreAuthorizedDebitCanadaConfiguration, PreAuthorizedDebitCanadaPlaceholders, ProcessedPaymentStatusResponse, QRLoaderConfiguration, RawPaymentMethod, RawPaymentResponse, RawPaymentStatusResponse, RawStoredPaymentMethod, RecurringMetadata, RedirectConfiguration, Region, ResultCode, ResultObject, ResultValue, ReviewDetails, SepaConfiguration, SepaElementData, SessionsResponse, SignOutButtonProps, SocialSecurityMode, StatusFromAction, SubmitActions, SubmitData, SupportedLocale, SupportedPayPalFundingSources, ThreeDS2ActionProps, ThreeDS2ChallengeConfiguration, ThreeDS2ConfigProps, ThreeDS2DeviceFingerprintConfiguration, ThreeDS2FingerprintResponse, ThreeDS2FlowObject, ThreeDS2FlowProps, ThreeDS2Token, UIElementProps, UIElementStatus, UPIAppList, UPIConfiguration, UpdateAmazonCheckoutSessionRequest, UpiMode, UpiPaymentData, UpiType, ValidationError, VoucherConfiguration, VoucherDetail, VoucherProps, balanceCheckResponseType, onBalanceCheckCallbackType, onOrderCancelData, onOrderCancelInternalCallback, onOrderCancelType, onOrderRequestCallbackType, onOrderUpdatedCallbackType, onRequiringConfirmationCallbackType };
|