@adyen/adyen-web 6.0.0-alpha.3 → 6.0.0-alpha.4
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 +4 -0
- package/auto/auto.cjs +7 -0
- package/auto/auto.js +5 -2
- package/dist/cjs/adyen.css +10 -10
- package/dist/cjs/index.cjs +2 -2
- package/dist/cjs/index.cjs.map +1 -1
- package/dist/cjs/index.d.cts +1515 -1464
- package/dist/es/adyen.css +10 -10
- 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/AchInput/AchInput.js +1 -1
- package/dist/es/components/Ach/components/AchInput/AchInput.js.map +1 -1
- package/dist/es/components/Ach/components/AchInput/components/AchSecuredFields.js +1 -1
- package/dist/es/components/Ach/components/AchInput/components/AchSecuredFields.js.map +1 -1
- package/dist/es/components/Address/Address.js +1 -1
- package/dist/es/components/Address/Address.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/AmazonPay/components/AmazonPayButton.js +1 -1
- package/dist/es/components/AmazonPay/components/AmazonPayButton.js.map +1 -1
- package/dist/es/components/AmazonPay/components/ChangePaymentDetailsButton.js +1 -1
- package/dist/es/components/AmazonPay/components/ChangePaymentDetailsButton.js.map +1 -1
- package/dist/es/components/AmazonPay/components/OrderButton.js +1 -1
- package/dist/es/components/AmazonPay/components/OrderButton.js.map +1 -1
- package/dist/es/components/AmazonPay/components/SignOutButton.js +1 -1
- package/dist/es/components/AmazonPay/components/SignOutButton.js.map +1 -1
- package/dist/es/components/AmazonPay/defaultProps.js +1 -1
- package/dist/es/components/AmazonPay/defaultProps.js.map +1 -1
- package/dist/es/components/ApplePay/ApplePay.js +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/BacsDD/components/BacsResult.js +1 -1
- package/dist/es/components/BacsDD/components/BacsResult.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/BankTransfer/components/BankTransferInput/BankTransferInput.js +1 -1
- package/dist/es/components/BankTransfer/components/BankTransferInput/BankTransferInput.js.map +1 -1
- package/dist/es/components/BankTransfer/components/BankTransferResult/BankTransferResult.js +1 -1
- package/dist/es/components/BankTransfer/components/BankTransferResult/BankTransferResult.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/Boleto.js +1 -1
- package/dist/es/components/Boleto/Boleto.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/Boleto/components/BoletoVoucherResult/BoletoVoucherResult.js +1 -1
- package/dist/es/components/Boleto/components/BoletoVoucherResult/BoletoVoucherResult.js.map +1 -1
- package/dist/es/components/Card/Bancontact.js +1 -1
- package/dist/es/components/Card/Bancontact.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/CVC.js +1 -1
- package/dist/es/components/Card/components/CardInput/components/CVC.js.map +1 -1
- package/dist/es/components/Card/components/CardInput/components/CardFields.js +1 -1
- package/dist/es/components/Card/components/CardInput/components/CardFields.js.map +1 -1
- package/dist/es/components/Card/components/CardInput/components/CardHolderName.js +1 -1
- package/dist/es/components/Card/components/CardInput/components/CardHolderName.js.map +1 -1
- package/dist/es/components/Card/components/CardInput/components/CardNumber.js +1 -1
- package/dist/es/components/Card/components/CardInput/components/CardNumber.js.map +1 -1
- package/dist/es/components/Card/components/CardInput/components/DataSfSpan.js +1 -1
- package/dist/es/components/Card/components/CardInput/components/DataSfSpan.js.map +1 -1
- package/dist/es/components/Card/components/CardInput/components/ExpirationDate.js +1 -1
- package/dist/es/components/Card/components/CardInput/components/ExpirationDate.js.map +1 -1
- package/dist/es/components/Card/components/CardInput/components/Installments/Installments.js +1 -1
- package/dist/es/components/Card/components/CardInput/components/Installments/Installments.js.map +1 -1
- package/dist/es/components/Card/components/CardInput/components/KCPAuthentication.js +1 -1
- package/dist/es/components/Card/components/CardInput/components/KCPAuthentication.js.map +1 -1
- package/dist/es/components/Card/components/CardInput/components/StoredCardFields.js +1 -1
- package/dist/es/components/Card/components/CardInput/components/StoredCardFields.js.map +1 -1
- package/dist/es/components/Card/components/CardInput/handlers.js +1 -1
- package/dist/es/components/Card/components/CardInput/handlers.js.map +1 -1
- package/dist/es/components/Card/components/CardInput/layouts.js +1 -1
- package/dist/es/components/Card/components/CardInput/layouts.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/Card/components/ClickToPayHolder.js +1 -1
- package/dist/es/components/Card/components/ClickToPayHolder.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/ClickToPay/ClickToPay.js +1 -1
- package/dist/es/components/ClickToPay/ClickToPay.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/Doku.js +1 -1
- package/dist/es/components/Doku/Doku.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/Doku/components/DokuVoucherResult/DokuVoucherResult.js +1 -1
- package/dist/es/components/Doku/components/DokuVoucherResult/DokuVoucherResult.js.map +1 -1
- package/dist/es/components/Donation/Donation.js +1 -1
- package/dist/es/components/Donation/Donation.js.map +1 -1
- package/dist/es/components/Donation/components/DonationComponent.js +1 -1
- package/dist/es/components/Donation/components/DonationComponent.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/Dragonpay/components/DragonpayVoucherResult/DragonpayVoucherResult.js +1 -1
- package/dist/es/components/Dragonpay/components/DragonpayVoucherResult/DragonpayVoucherResult.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/Dropin/components/DropinComponent.js +1 -1
- package/dist/es/components/Dropin/components/DropinComponent.js.map +1 -1
- package/dist/es/components/Dropin/components/PaymentMethod/DisableOneClickConfirmation.js +1 -1
- package/dist/es/components/Dropin/components/PaymentMethod/DisableOneClickConfirmation.js.map +1 -1
- package/dist/es/components/Dropin/components/PaymentMethod/OrderPaymentMethods.js +1 -1
- package/dist/es/components/Dropin/components/PaymentMethod/OrderPaymentMethods.js.map +1 -1
- package/dist/es/components/Dropin/components/PaymentMethod/PaymentMethodItem/PaymentMethodItem.js +1 -1
- package/dist/es/components/Dropin/components/PaymentMethod/PaymentMethodItem/PaymentMethodItem.js.map +1 -1
- package/dist/es/components/Dropin/components/PaymentMethod/PaymentMethodList.js +1 -1
- package/dist/es/components/Dropin/components/PaymentMethod/PaymentMethodList.js.map +1 -1
- package/dist/es/components/Dropin/components/PaymentMethod/PaymentMethodsContainer.js +1 -1
- package/dist/es/components/Dropin/components/PaymentMethod/PaymentMethodsContainer.js.map +1 -1
- package/dist/es/components/Dropin/components/status/Error.js +1 -1
- package/dist/es/components/Dropin/components/status/Error.js.map +1 -1
- package/dist/es/components/Dropin/components/status/Success.js +1 -1
- package/dist/es/components/Dropin/components/status/Success.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/Econtext/components/EcontextVoucherResult/EcontextVoucherResult.js +1 -1
- package/dist/es/components/Econtext/components/EcontextVoucherResult/EcontextVoucherResult.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/GooglePay/GooglePay.js +1 -1
- package/dist/es/components/GooglePay/GooglePay.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/MBWay/MBWay.js +1 -1
- package/dist/es/components/MBWay/MBWay.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/Multibanco/components/MultibancoVoucherResult/MultibancoVoucherResult.js +1 -1
- package/dist/es/components/Multibanco/components/MultibancoVoucherResult/MultibancoVoucherResult.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/Oxxo/components/OxxoVoucherResult/OxxoVoucherResult.js +1 -1
- package/dist/es/components/Oxxo/components/OxxoVoucherResult/OxxoVoucherResult.js.map +1 -1
- package/dist/es/components/PayMe/Instructions.js +1 -1
- package/dist/es/components/PayMe/Instructions.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/PayPal/components/PaypalButtons.js +1 -1
- package/dist/es/components/PayPal/components/PaypalButtons.js.map +1 -1
- package/dist/es/components/PersonalDetails/PersonalDetails.js +1 -1
- package/dist/es/components/PersonalDetails/PersonalDetails.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/PixInput/PixInput.js +1 -1
- package/dist/es/components/Pix/PixInput/PixInput.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/Riverty/Riverty.js +1 -1
- package/dist/es/components/Riverty/Riverty.js.map +1 -1
- package/dist/es/components/Sepa/Sepa.js +1 -1
- package/dist/es/components/Sepa/Sepa.js.map +1 -1
- package/dist/es/components/ThreeDS2/ThreeDS2Challenge.js +1 -1
- package/dist/es/components/ThreeDS2/ThreeDS2Challenge.js.map +1 -1
- package/dist/es/components/ThreeDS2/ThreeDS2DeviceFingerprint.js +1 -1
- package/dist/es/components/ThreeDS2/ThreeDS2DeviceFingerprint.js.map +1 -1
- package/dist/es/components/ThreeDS2/callSubmit3DS2Fingerprint.js +1 -1
- package/dist/es/components/ThreeDS2/callSubmit3DS2Fingerprint.js.map +1 -1
- package/dist/es/components/ThreeDS2/components/Challenge/DoChallenge3DS2.js +1 -1
- package/dist/es/components/ThreeDS2/components/Challenge/DoChallenge3DS2.js.map +1 -1
- package/dist/es/components/ThreeDS2/components/Challenge/PrepareChallenge3DS2.js +1 -1
- package/dist/es/components/ThreeDS2/components/Challenge/PrepareChallenge3DS2.js.map +1 -1
- package/dist/es/components/ThreeDS2/components/DeviceFingerprint/DoFingerprint3DS2.js +1 -1
- package/dist/es/components/ThreeDS2/components/DeviceFingerprint/DoFingerprint3DS2.js.map +1 -1
- package/dist/es/components/ThreeDS2/components/DeviceFingerprint/PrepareFingerprint3DS2.js +1 -1
- package/dist/es/components/ThreeDS2/components/DeviceFingerprint/PrepareFingerprint3DS2.js.map +1 -1
- package/dist/es/components/ThreeDS2/components/utils.js +1 -1
- package/dist/es/components/ThreeDS2/components/utils.js.map +1 -1
- package/dist/es/components/ThreeDS2/constants.js +2 -0
- package/dist/es/components/ThreeDS2/constants.js.map +1 -0
- 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/components-name-map.js +1 -1
- package/dist/es/components/components-name-map.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/OpenInvoiceContainer/OpenInvoiceContainer.js +1 -1
- package/dist/es/components/helpers/OpenInvoiceContainer/OpenInvoiceContainer.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/Address.js +1 -1
- package/dist/es/components/internal/Address/Address.js.map +1 -1
- package/dist/es/components/internal/Address/Specifications.js.map +1 -1
- package/dist/es/components/internal/Address/components/AddressSearch.js +1 -1
- package/dist/es/components/internal/Address/components/AddressSearch.js.map +1 -1
- package/dist/es/components/internal/Address/components/CountryField.js +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 +1 -1
- package/dist/es/components/internal/Address/components/StateField.js.map +1 -1
- package/dist/es/components/internal/Await/Await.js +1 -1
- package/dist/es/components/internal/Await/Await.js.map +1 -1
- package/dist/es/components/internal/Button/Button.js +1 -1
- package/dist/es/components/internal/Button/Button.js.map +1 -1
- package/dist/es/components/internal/ClickToPay/components/CtPCards/CtPCards.js +1 -1
- package/dist/es/components/internal/ClickToPay/components/CtPCards/CtPCards.js.map +1 -1
- package/dist/es/components/internal/ClickToPay/components/CtPCards/CtPCardsList/CtPCardsList.js +1 -1
- package/dist/es/components/internal/ClickToPay/components/CtPCards/CtPCardsList/CtPCardsList.js.map +1 -1
- package/dist/es/components/internal/ClickToPay/components/CtPCards/CtPSingleCard/CtPSingleCard.js +1 -1
- package/dist/es/components/internal/ClickToPay/components/CtPCards/CtPSingleCard/CtPSingleCard.js.map +1 -1
- package/dist/es/components/internal/ClickToPay/components/CtPInfo/CtPInfo.js +1 -1
- package/dist/es/components/internal/ClickToPay/components/CtPInfo/CtPInfo.js.map +1 -1
- package/dist/es/components/internal/ClickToPay/components/CtPInfo/CtPInfoModal/CtPInfoModal.js +1 -1
- package/dist/es/components/internal/ClickToPay/components/CtPInfo/CtPInfoModal/CtPInfoModal.js.map +1 -1
- package/dist/es/components/internal/ClickToPay/components/CtPLoader/CtPLoader.js +1 -1
- package/dist/es/components/internal/ClickToPay/components/CtPLoader/CtPLoader.js.map +1 -1
- package/dist/es/components/internal/ClickToPay/components/CtPLogin/CtPLogin.js +1 -1
- package/dist/es/components/internal/ClickToPay/components/CtPLogin/CtPLogin.js.map +1 -1
- package/dist/es/components/internal/ClickToPay/components/CtPLogin/CtPLoginInput.js +1 -1
- package/dist/es/components/internal/ClickToPay/components/CtPLogin/CtPLoginInput.js.map +1 -1
- package/dist/es/components/internal/ClickToPay/components/CtPOneTimePassword/CtPOneTimePassword.js +1 -1
- package/dist/es/components/internal/ClickToPay/components/CtPOneTimePassword/CtPOneTimePassword.js.map +1 -1
- package/dist/es/components/internal/ClickToPay/components/CtPOneTimePassword/CtPOneTimePasswordInput/CtPOneTimePasswordInput.js +1 -1
- package/dist/es/components/internal/ClickToPay/components/CtPOneTimePassword/CtPOneTimePasswordInput/CtPOneTimePasswordInput.js.map +1 -1
- package/dist/es/components/internal/ClickToPay/components/CtPOneTimePassword/CtPOneTimePasswordInput/CtPResendOtpLink.js +1 -1
- package/dist/es/components/internal/ClickToPay/components/CtPOneTimePassword/CtPOneTimePasswordInput/CtPResendOtpLink.js.map +1 -1
- package/dist/es/components/internal/ClickToPay/components/CtPOneTimePassword/CtPSaveCookiesCheckbox/CtPSaveCookiesCheckbox.js +1 -1
- package/dist/es/components/internal/ClickToPay/components/CtPOneTimePassword/CtPSaveCookiesCheckbox/CtPSaveCookiesCheckbox.js.map +1 -1
- package/dist/es/components/internal/ClickToPay/components/CtPSection/CtPLogoutLink.js +1 -1
- package/dist/es/components/internal/ClickToPay/components/CtPSection/CtPLogoutLink.js.map +1 -1
- package/dist/es/components/internal/CompanyDetails/CompanyDetails.js +1 -1
- package/dist/es/components/internal/CompanyDetails/CompanyDetails.js.map +1 -1
- package/dist/es/components/internal/ConsentCheckboxLabel/ConsentCheckboxLabel.js +1 -1
- package/dist/es/components/internal/ConsentCheckboxLabel/ConsentCheckboxLabel.js.map +1 -1
- package/dist/es/components/internal/ContentSeparator/ContentSeparator.js +1 -1
- package/dist/es/components/internal/ContentSeparator/ContentSeparator.js.map +1 -1
- package/dist/es/components/internal/Countdown/useCountdownA11yReporter.js +1 -1
- package/dist/es/components/internal/Countdown/useCountdownA11yReporter.js.map +1 -1
- package/dist/es/components/internal/FormFields/Field/Field.js +1 -1
- package/dist/es/components/internal/FormFields/Field/Field.js.map +1 -1
- package/dist/es/components/internal/FormFields/Fieldset/Fieldset.js +1 -1
- package/dist/es/components/internal/FormFields/Fieldset/Fieldset.js.map +1 -1
- package/dist/es/components/internal/FormFields/RadioGroup/RadioGroup.js +1 -1
- package/dist/es/components/internal/FormFields/RadioGroup/RadioGroup.js.map +1 -1
- package/dist/es/components/internal/FormFields/Select/components/SelectButton.js +1 -1
- package/dist/es/components/internal/FormFields/Select/components/SelectButton.js.map +1 -1
- package/dist/es/components/internal/FormFields/Select/components/SelectList.js +1 -1
- package/dist/es/components/internal/FormFields/Select/components/SelectList.js.map +1 -1
- package/dist/es/components/internal/FormInstruction/FormInstruction.js +1 -1
- package/dist/es/components/internal/FormInstruction/FormInstruction.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/IssuerButtonGroup/IssuerButtonGroup.js +1 -1
- package/dist/es/components/internal/IssuerList/IssuerButtonGroup/IssuerButtonGroup.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/utils.js +1 -1
- package/dist/es/components/internal/OpenInvoice/utils.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/PersonalDetails/PersonalDetails.js +1 -1
- package/dist/es/components/internal/PersonalDetails/PersonalDetails.js.map +1 -1
- package/dist/es/components/internal/PersonalDetails/utils.js +1 -1
- package/dist/es/components/internal/PersonalDetails/utils.js.map +1 -1
- package/dist/es/components/internal/PhoneInput/PhoneInput.js +1 -1
- package/dist/es/components/internal/PhoneInput/PhoneInput.js.map +1 -1
- package/dist/es/components/internal/PhoneInput/usePhonePrefixes.js +1 -1
- package/dist/es/components/internal/PhoneInput/usePhonePrefixes.js.map +1 -1
- package/dist/es/components/internal/QRLoader/QRLoader.js +1 -1
- package/dist/es/components/internal/QRLoader/QRLoader.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/SFPUtils.js +1 -1
- package/dist/es/components/internal/SecuredFields/SFP/SFPUtils.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/SFP/SecuredFieldsProviderHandlers.js +1 -1
- package/dist/es/components/internal/SecuredFields/SFP/SecuredFieldsProviderHandlers.js.map +1 -1
- package/dist/es/components/internal/SecuredFields/binLookup/extensions.js +1 -1
- package/dist/es/components/internal/SecuredFields/binLookup/extensions.js.map +1 -1
- package/dist/es/components/internal/SecuredFields/binLookup/triggerBinLookUp.js +1 -1
- package/dist/es/components/internal/SecuredFields/binLookup/triggerBinLookUp.js.map +1 -1
- package/dist/es/components/internal/SecuredFields/lib/CSF/extensions/createSecuredFields.js +1 -1
- package/dist/es/components/internal/SecuredFields/lib/CSF/extensions/createSecuredFields.js.map +1 -1
- package/dist/es/components/internal/SecuredFields/lib/CSF/extensions/handleBrandFromBinLookup.js +1 -1
- package/dist/es/components/internal/SecuredFields/lib/CSF/extensions/handleBrandFromBinLookup.js.map +1 -1
- package/dist/es/components/internal/SecuredFields/lib/CSF/extensions/handleConfig.js +1 -1
- package/dist/es/components/internal/SecuredFields/lib/CSF/extensions/handleConfig.js.map +1 -1
- package/dist/es/components/internal/SecuredFields/lib/CSF/extensions/handleEncryption.js +1 -1
- package/dist/es/components/internal/SecuredFields/lib/CSF/extensions/handleEncryption.js.map +1 -1
- package/dist/es/components/internal/SecuredFields/lib/CSF/extensions/handleValidation.js +1 -1
- package/dist/es/components/internal/SecuredFields/lib/CSF/extensions/handleValidation.js.map +1 -1
- package/dist/es/components/internal/SecuredFields/lib/CSF/partials/isConfigured.js +1 -1
- package/dist/es/components/internal/SecuredFields/lib/CSF/partials/isConfigured.js.map +1 -1
- package/dist/es/components/internal/SecuredFields/lib/CSF/partials/processAutoComplete.js +1 -1
- package/dist/es/components/internal/SecuredFields/lib/CSF/partials/processAutoComplete.js.map +1 -1
- package/dist/es/components/internal/SecuredFields/lib/CSF/partials/processBrand.js +1 -1
- package/dist/es/components/internal/SecuredFields/lib/CSF/partials/processBrand.js.map +1 -1
- package/dist/es/components/internal/SecuredFields/lib/CSF/utils/callbackUtils.js +1 -1
- package/dist/es/components/internal/SecuredFields/lib/CSF/utils/callbackUtils.js.map +1 -1
- package/dist/es/components/internal/SecuredFields/lib/CSF/utils/getCardGroupTypes.js +1 -1
- package/dist/es/components/internal/SecuredFields/lib/CSF/utils/getCardGroupTypes.js.map +1 -1
- package/dist/es/components/internal/SecuredFields/lib/CSF/utils/tabbing/tabScenarioACH.js +1 -1
- package/dist/es/components/internal/SecuredFields/lib/CSF/utils/tabbing/tabScenarioACH.js.map +1 -1
- package/dist/es/components/internal/SecuredFields/lib/CSF/utils/tabbing/tabScenarioCreditCard.js +1 -1
- package/dist/es/components/internal/SecuredFields/lib/CSF/utils/tabbing/tabScenarioCreditCard.js.map +1 -1
- package/dist/es/components/internal/SecuredFields/lib/CSF/utils/tabbing/tabScenarioGiftCard.js +1 -1
- package/dist/es/components/internal/SecuredFields/lib/CSF/utils/tabbing/tabScenarioGiftCard.js.map +1 -1
- package/dist/es/components/internal/SecuredFields/lib/CSF/utils/tabbing/tabScenarioKCP.js +1 -1
- package/dist/es/components/internal/SecuredFields/lib/CSF/utils/tabbing/tabScenarioKCP.js.map +1 -1
- package/dist/{es-legacy/components/internal/SecuredFields/lib/configuration → es/components/internal/SecuredFields/lib}/constants.js +1 -1
- package/dist/es/components/internal/SecuredFields/lib/constants.js.map +1 -0
- 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/SecuredFields/lib/securedField/utils/processAriaConfig.js +1 -1
- package/dist/es/components/internal/SecuredFields/lib/securedField/utils/processAriaConfig.js.map +1 -1
- package/dist/es/components/internal/SecuredFields/lib/securedField/utils/processPlaceholders.js +1 -1
- package/dist/es/components/internal/SecuredFields/lib/securedField/utils/processPlaceholders.js.map +1 -1
- package/dist/es/components/internal/SecuredFields/lib/utilities/addContextTranslations.js +1 -1
- package/dist/es/components/internal/SecuredFields/lib/utilities/addContextTranslations.js.map +1 -1
- package/dist/es/components/internal/SecuredFields/utils.js +1 -1
- package/dist/es/components/internal/SecuredFields/utils.js.map +1 -1
- package/dist/es/components/internal/SendCopyToEmail/SendCopyToEmail.js +1 -1
- package/dist/es/components/internal/SendCopyToEmail/SendCopyToEmail.js.map +1 -1
- package/dist/es/components/internal/SocialSecurityNumberBrazil/SocialSecurityNumberBrazil.js +1 -1
- package/dist/es/components/internal/SocialSecurityNumberBrazil/SocialSecurityNumberBrazil.js.map +1 -1
- package/dist/es/components/internal/StoreDetails/StoreDetails.js +1 -1
- package/dist/es/components/internal/StoreDetails/StoreDetails.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/components/internal/Voucher/Voucher.js +1 -1
- package/dist/es/components/internal/Voucher/Voucher.js.map +1 -1
- package/dist/es/components/tx-variants.js +1 -1
- package/dist/es/components/tx-variants.js.map +1 -1
- package/dist/es/core/Analytics/Analytics.js +1 -1
- package/dist/es/core/Analytics/Analytics.js.map +1 -1
- package/dist/es/core/Analytics/analyticsPreProcessor.js +1 -1
- package/dist/es/core/Analytics/analyticsPreProcessor.js.map +1 -1
- package/dist/es/core/Analytics/constants.js +1 -1
- package/dist/es/core/Analytics/constants.js.map +1 -1
- package/dist/es/core/Analytics/utils.js +1 -1
- package/dist/es/core/Analytics/utils.js.map +1 -1
- package/dist/es/core/Context/CoreProvider.js +1 -1
- package/dist/es/core/Context/CoreProvider.js.map +1 -1
- package/dist/es/core/Context/useImage.js +1 -1
- package/dist/es/core/Context/useImage.js.map +1 -1
- package/dist/es/core/Errors/AdyenCheckoutError.js +1 -1
- package/dist/es/core/Errors/AdyenCheckoutError.js.map +1 -1
- package/dist/es/core/Errors/SRMessages.js +1 -1
- package/dist/es/core/Errors/SRMessages.js.map +1 -1
- package/dist/es/core/Errors/SRPanel.js +1 -1
- package/dist/es/core/Errors/SRPanel.js.map +1 -1
- package/dist/es/core/Errors/SRPanelProvider.js +1 -1
- package/dist/es/core/Errors/SRPanelProvider.js.map +1 -1
- package/dist/es/core/Errors/constants.js +1 -1
- package/dist/es/core/Errors/constants.js.map +1 -1
- package/dist/es/core/Errors/utils.js +1 -1
- package/dist/es/core/Errors/utils.js.map +1 -1
- package/dist/es/core/ProcessResponse/PaymentAction/actionTypes.js +1 -1
- package/dist/es/core/ProcessResponse/PaymentAction/actionTypes.js.map +1 -1
- package/dist/es/core/Services/analytics/collect-id.js +1 -1
- package/dist/es/core/Services/analytics/log-event.js +1 -1
- package/dist/es/core/Services/get-translations.js +2 -0
- package/dist/es/core/Services/get-translations.js.map +1 -0
- package/dist/es/core/core.defaultProps.js +2 -0
- package/dist/es/core/core.defaultProps.js.map +1 -0
- package/dist/es/core/core.js +1 -1
- package/dist/es/core/core.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 +1515 -1464
- package/dist/es/index.js +1 -1
- package/dist/es/language/Language.js +1 -1
- package/dist/es/language/Language.js.map +1 -1
- package/dist/es/language/constants.js +2 -0
- package/dist/es/language/constants.js.map +1 -0
- package/dist/es/language/utils.js +1 -1
- package/dist/es/language/utils.js.map +1 -1
- package/dist/es/utils/validator-utils.js +1 -1
- package/dist/es/utils/validator-utils.js.map +1 -1
- package/dist/es-legacy/adyen.css +10 -10
- 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/AchInput/AchInput.js +1 -1
- package/dist/es-legacy/components/Ach/components/AchInput/AchInput.js.map +1 -1
- package/dist/es-legacy/components/Ach/components/AchInput/components/AchSecuredFields.js +1 -1
- package/dist/es-legacy/components/Ach/components/AchInput/components/AchSecuredFields.js.map +1 -1
- package/dist/es-legacy/components/Address/Address.js +1 -1
- package/dist/es-legacy/components/Address/Address.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/AmazonPay/components/AmazonPayButton.js +1 -1
- package/dist/es-legacy/components/AmazonPay/components/AmazonPayButton.js.map +1 -1
- package/dist/es-legacy/components/AmazonPay/components/ChangePaymentDetailsButton.js +1 -1
- package/dist/es-legacy/components/AmazonPay/components/ChangePaymentDetailsButton.js.map +1 -1
- package/dist/es-legacy/components/AmazonPay/components/OrderButton.js +1 -1
- package/dist/es-legacy/components/AmazonPay/components/OrderButton.js.map +1 -1
- package/dist/es-legacy/components/AmazonPay/components/SignOutButton.js +1 -1
- package/dist/es-legacy/components/AmazonPay/components/SignOutButton.js.map +1 -1
- package/dist/es-legacy/components/AmazonPay/defaultProps.js +1 -1
- package/dist/es-legacy/components/AmazonPay/defaultProps.js.map +1 -1
- package/dist/es-legacy/components/ApplePay/ApplePay.js +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/BacsDD/components/BacsResult.js +1 -1
- package/dist/es-legacy/components/BacsDD/components/BacsResult.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/BankTransfer/components/BankTransferInput/BankTransferInput.js +1 -1
- package/dist/es-legacy/components/BankTransfer/components/BankTransferInput/BankTransferInput.js.map +1 -1
- package/dist/es-legacy/components/BankTransfer/components/BankTransferResult/BankTransferResult.js +1 -1
- package/dist/es-legacy/components/BankTransfer/components/BankTransferResult/BankTransferResult.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/Boleto.js +1 -1
- package/dist/es-legacy/components/Boleto/Boleto.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/Boleto/components/BoletoVoucherResult/BoletoVoucherResult.js +1 -1
- package/dist/es-legacy/components/Boleto/components/BoletoVoucherResult/BoletoVoucherResult.js.map +1 -1
- package/dist/es-legacy/components/Card/Bancontact.js +1 -1
- package/dist/es-legacy/components/Card/Bancontact.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/CVC.js +1 -1
- package/dist/es-legacy/components/Card/components/CardInput/components/CVC.js.map +1 -1
- package/dist/es-legacy/components/Card/components/CardInput/components/CardFields.js +1 -1
- package/dist/es-legacy/components/Card/components/CardInput/components/CardFields.js.map +1 -1
- package/dist/es-legacy/components/Card/components/CardInput/components/CardHolderName.js +1 -1
- package/dist/es-legacy/components/Card/components/CardInput/components/CardHolderName.js.map +1 -1
- package/dist/es-legacy/components/Card/components/CardInput/components/CardNumber.js +1 -1
- package/dist/es-legacy/components/Card/components/CardInput/components/CardNumber.js.map +1 -1
- package/dist/es-legacy/components/Card/components/CardInput/components/DataSfSpan.js +1 -1
- package/dist/es-legacy/components/Card/components/CardInput/components/DataSfSpan.js.map +1 -1
- package/dist/es-legacy/components/Card/components/CardInput/components/ExpirationDate.js +1 -1
- package/dist/es-legacy/components/Card/components/CardInput/components/ExpirationDate.js.map +1 -1
- package/dist/es-legacy/components/Card/components/CardInput/components/Installments/Installments.js +1 -1
- package/dist/es-legacy/components/Card/components/CardInput/components/Installments/Installments.js.map +1 -1
- package/dist/es-legacy/components/Card/components/CardInput/components/KCPAuthentication.js +1 -1
- package/dist/es-legacy/components/Card/components/CardInput/components/KCPAuthentication.js.map +1 -1
- package/dist/es-legacy/components/Card/components/CardInput/components/StoredCardFields.js +1 -1
- package/dist/es-legacy/components/Card/components/CardInput/components/StoredCardFields.js.map +1 -1
- package/dist/es-legacy/components/Card/components/CardInput/handlers.js +1 -1
- package/dist/es-legacy/components/Card/components/CardInput/handlers.js.map +1 -1
- package/dist/es-legacy/components/Card/components/CardInput/layouts.js +1 -1
- package/dist/es-legacy/components/Card/components/CardInput/layouts.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/Card/components/ClickToPayHolder.js +1 -1
- package/dist/es-legacy/components/Card/components/ClickToPayHolder.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/ClickToPay/ClickToPay.js +1 -1
- package/dist/es-legacy/components/ClickToPay/ClickToPay.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/Doku.js +1 -1
- package/dist/es-legacy/components/Doku/Doku.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/Doku/components/DokuVoucherResult/DokuVoucherResult.js +1 -1
- package/dist/es-legacy/components/Doku/components/DokuVoucherResult/DokuVoucherResult.js.map +1 -1
- package/dist/es-legacy/components/Donation/Donation.js +1 -1
- package/dist/es-legacy/components/Donation/Donation.js.map +1 -1
- package/dist/es-legacy/components/Donation/components/DonationComponent.js +1 -1
- package/dist/es-legacy/components/Donation/components/DonationComponent.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/Dragonpay/components/DragonpayVoucherResult/DragonpayVoucherResult.js +1 -1
- package/dist/es-legacy/components/Dragonpay/components/DragonpayVoucherResult/DragonpayVoucherResult.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/Dropin/components/DropinComponent.js +1 -1
- package/dist/es-legacy/components/Dropin/components/DropinComponent.js.map +1 -1
- package/dist/es-legacy/components/Dropin/components/PaymentMethod/DisableOneClickConfirmation.js +1 -1
- package/dist/es-legacy/components/Dropin/components/PaymentMethod/DisableOneClickConfirmation.js.map +1 -1
- package/dist/es-legacy/components/Dropin/components/PaymentMethod/OrderPaymentMethods.js +1 -1
- package/dist/es-legacy/components/Dropin/components/PaymentMethod/OrderPaymentMethods.js.map +1 -1
- package/dist/es-legacy/components/Dropin/components/PaymentMethod/PaymentMethodItem/PaymentMethodItem.js +1 -1
- package/dist/es-legacy/components/Dropin/components/PaymentMethod/PaymentMethodItem/PaymentMethodItem.js.map +1 -1
- package/dist/es-legacy/components/Dropin/components/PaymentMethod/PaymentMethodList.js +1 -1
- package/dist/es-legacy/components/Dropin/components/PaymentMethod/PaymentMethodList.js.map +1 -1
- package/dist/es-legacy/components/Dropin/components/PaymentMethod/PaymentMethodsContainer.js +1 -1
- package/dist/es-legacy/components/Dropin/components/PaymentMethod/PaymentMethodsContainer.js.map +1 -1
- package/dist/es-legacy/components/Dropin/components/status/Error.js +1 -1
- package/dist/es-legacy/components/Dropin/components/status/Error.js.map +1 -1
- package/dist/es-legacy/components/Dropin/components/status/Success.js +1 -1
- package/dist/es-legacy/components/Dropin/components/status/Success.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/Econtext/components/EcontextVoucherResult/EcontextVoucherResult.js +1 -1
- package/dist/es-legacy/components/Econtext/components/EcontextVoucherResult/EcontextVoucherResult.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/GooglePay/GooglePay.js +1 -1
- package/dist/es-legacy/components/GooglePay/GooglePay.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/MBWay/MBWay.js +1 -1
- package/dist/es-legacy/components/MBWay/MBWay.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/Multibanco/components/MultibancoVoucherResult/MultibancoVoucherResult.js +1 -1
- package/dist/es-legacy/components/Multibanco/components/MultibancoVoucherResult/MultibancoVoucherResult.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/Oxxo/components/OxxoVoucherResult/OxxoVoucherResult.js +1 -1
- package/dist/es-legacy/components/Oxxo/components/OxxoVoucherResult/OxxoVoucherResult.js.map +1 -1
- package/dist/es-legacy/components/PayMe/Instructions.js +1 -1
- package/dist/es-legacy/components/PayMe/Instructions.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/PayPal/components/PaypalButtons.js +1 -1
- package/dist/es-legacy/components/PayPal/components/PaypalButtons.js.map +1 -1
- package/dist/es-legacy/components/PersonalDetails/PersonalDetails.js +1 -1
- package/dist/es-legacy/components/PersonalDetails/PersonalDetails.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/PixInput/PixInput.js +1 -1
- package/dist/es-legacy/components/Pix/PixInput/PixInput.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/Riverty/Riverty.js +1 -1
- package/dist/es-legacy/components/Riverty/Riverty.js.map +1 -1
- package/dist/es-legacy/components/Sepa/Sepa.js +1 -1
- package/dist/es-legacy/components/Sepa/Sepa.js.map +1 -1
- package/dist/es-legacy/components/ThreeDS2/ThreeDS2Challenge.js +1 -1
- package/dist/es-legacy/components/ThreeDS2/ThreeDS2Challenge.js.map +1 -1
- package/dist/es-legacy/components/ThreeDS2/ThreeDS2DeviceFingerprint.js +1 -1
- package/dist/es-legacy/components/ThreeDS2/ThreeDS2DeviceFingerprint.js.map +1 -1
- package/dist/es-legacy/components/ThreeDS2/callSubmit3DS2Fingerprint.js +1 -1
- package/dist/es-legacy/components/ThreeDS2/callSubmit3DS2Fingerprint.js.map +1 -1
- package/dist/es-legacy/components/ThreeDS2/components/Challenge/DoChallenge3DS2.js +1 -1
- package/dist/es-legacy/components/ThreeDS2/components/Challenge/DoChallenge3DS2.js.map +1 -1
- package/dist/es-legacy/components/ThreeDS2/components/Challenge/PrepareChallenge3DS2.js +1 -1
- package/dist/es-legacy/components/ThreeDS2/components/Challenge/PrepareChallenge3DS2.js.map +1 -1
- package/dist/es-legacy/components/ThreeDS2/components/DeviceFingerprint/DoFingerprint3DS2.js +1 -1
- package/dist/es-legacy/components/ThreeDS2/components/DeviceFingerprint/DoFingerprint3DS2.js.map +1 -1
- package/dist/es-legacy/components/ThreeDS2/components/DeviceFingerprint/PrepareFingerprint3DS2.js +1 -1
- package/dist/es-legacy/components/ThreeDS2/components/DeviceFingerprint/PrepareFingerprint3DS2.js.map +1 -1
- package/dist/es-legacy/components/ThreeDS2/components/utils.js +1 -1
- package/dist/es-legacy/components/ThreeDS2/components/utils.js.map +1 -1
- package/dist/es-legacy/components/ThreeDS2/constants.js +2 -0
- package/dist/es-legacy/components/ThreeDS2/constants.js.map +1 -0
- 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/components-name-map.js +1 -1
- package/dist/es-legacy/components/components-name-map.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/OpenInvoiceContainer/OpenInvoiceContainer.js +1 -1
- package/dist/es-legacy/components/helpers/OpenInvoiceContainer/OpenInvoiceContainer.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/Address.js +1 -1
- package/dist/es-legacy/components/internal/Address/Address.js.map +1 -1
- package/dist/es-legacy/components/internal/Address/Specifications.js.map +1 -1
- package/dist/es-legacy/components/internal/Address/components/AddressSearch.js +1 -1
- package/dist/es-legacy/components/internal/Address/components/AddressSearch.js.map +1 -1
- package/dist/es-legacy/components/internal/Address/components/CountryField.js +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 +1 -1
- package/dist/es-legacy/components/internal/Address/components/StateField.js.map +1 -1
- package/dist/es-legacy/components/internal/Await/Await.js +1 -1
- package/dist/es-legacy/components/internal/Await/Await.js.map +1 -1
- package/dist/es-legacy/components/internal/Button/Button.js +1 -1
- package/dist/es-legacy/components/internal/Button/Button.js.map +1 -1
- package/dist/es-legacy/components/internal/ClickToPay/components/CtPCards/CtPCards.js +1 -1
- package/dist/es-legacy/components/internal/ClickToPay/components/CtPCards/CtPCards.js.map +1 -1
- package/dist/es-legacy/components/internal/ClickToPay/components/CtPCards/CtPCardsList/CtPCardsList.js +1 -1
- package/dist/es-legacy/components/internal/ClickToPay/components/CtPCards/CtPCardsList/CtPCardsList.js.map +1 -1
- package/dist/es-legacy/components/internal/ClickToPay/components/CtPCards/CtPSingleCard/CtPSingleCard.js +1 -1
- package/dist/es-legacy/components/internal/ClickToPay/components/CtPCards/CtPSingleCard/CtPSingleCard.js.map +1 -1
- package/dist/es-legacy/components/internal/ClickToPay/components/CtPInfo/CtPInfo.js +1 -1
- package/dist/es-legacy/components/internal/ClickToPay/components/CtPInfo/CtPInfo.js.map +1 -1
- package/dist/es-legacy/components/internal/ClickToPay/components/CtPInfo/CtPInfoModal/CtPInfoModal.js +1 -1
- package/dist/es-legacy/components/internal/ClickToPay/components/CtPInfo/CtPInfoModal/CtPInfoModal.js.map +1 -1
- package/dist/es-legacy/components/internal/ClickToPay/components/CtPLoader/CtPLoader.js +1 -1
- package/dist/es-legacy/components/internal/ClickToPay/components/CtPLoader/CtPLoader.js.map +1 -1
- package/dist/es-legacy/components/internal/ClickToPay/components/CtPLogin/CtPLogin.js +1 -1
- package/dist/es-legacy/components/internal/ClickToPay/components/CtPLogin/CtPLogin.js.map +1 -1
- package/dist/es-legacy/components/internal/ClickToPay/components/CtPLogin/CtPLoginInput.js +1 -1
- package/dist/es-legacy/components/internal/ClickToPay/components/CtPLogin/CtPLoginInput.js.map +1 -1
- package/dist/es-legacy/components/internal/ClickToPay/components/CtPOneTimePassword/CtPOneTimePassword.js +1 -1
- package/dist/es-legacy/components/internal/ClickToPay/components/CtPOneTimePassword/CtPOneTimePassword.js.map +1 -1
- package/dist/es-legacy/components/internal/ClickToPay/components/CtPOneTimePassword/CtPOneTimePasswordInput/CtPOneTimePasswordInput.js +1 -1
- package/dist/es-legacy/components/internal/ClickToPay/components/CtPOneTimePassword/CtPOneTimePasswordInput/CtPOneTimePasswordInput.js.map +1 -1
- package/dist/es-legacy/components/internal/ClickToPay/components/CtPOneTimePassword/CtPOneTimePasswordInput/CtPResendOtpLink.js +1 -1
- package/dist/es-legacy/components/internal/ClickToPay/components/CtPOneTimePassword/CtPOneTimePasswordInput/CtPResendOtpLink.js.map +1 -1
- package/dist/es-legacy/components/internal/ClickToPay/components/CtPOneTimePassword/CtPSaveCookiesCheckbox/CtPSaveCookiesCheckbox.js +1 -1
- package/dist/es-legacy/components/internal/ClickToPay/components/CtPOneTimePassword/CtPSaveCookiesCheckbox/CtPSaveCookiesCheckbox.js.map +1 -1
- package/dist/es-legacy/components/internal/ClickToPay/components/CtPSection/CtPLogoutLink.js +1 -1
- package/dist/es-legacy/components/internal/ClickToPay/components/CtPSection/CtPLogoutLink.js.map +1 -1
- package/dist/es-legacy/components/internal/CompanyDetails/CompanyDetails.js +1 -1
- package/dist/es-legacy/components/internal/CompanyDetails/CompanyDetails.js.map +1 -1
- package/dist/es-legacy/components/internal/ConsentCheckboxLabel/ConsentCheckboxLabel.js +1 -1
- package/dist/es-legacy/components/internal/ConsentCheckboxLabel/ConsentCheckboxLabel.js.map +1 -1
- package/dist/es-legacy/components/internal/ContentSeparator/ContentSeparator.js +1 -1
- package/dist/es-legacy/components/internal/ContentSeparator/ContentSeparator.js.map +1 -1
- package/dist/es-legacy/components/internal/Countdown/useCountdownA11yReporter.js +1 -1
- package/dist/es-legacy/components/internal/Countdown/useCountdownA11yReporter.js.map +1 -1
- package/dist/es-legacy/components/internal/FormFields/Field/Field.js +1 -1
- package/dist/es-legacy/components/internal/FormFields/Field/Field.js.map +1 -1
- package/dist/es-legacy/components/internal/FormFields/Fieldset/Fieldset.js +1 -1
- package/dist/es-legacy/components/internal/FormFields/Fieldset/Fieldset.js.map +1 -1
- package/dist/es-legacy/components/internal/FormFields/RadioGroup/RadioGroup.js +1 -1
- package/dist/es-legacy/components/internal/FormFields/RadioGroup/RadioGroup.js.map +1 -1
- package/dist/es-legacy/components/internal/FormFields/Select/components/SelectButton.js +1 -1
- package/dist/es-legacy/components/internal/FormFields/Select/components/SelectButton.js.map +1 -1
- package/dist/es-legacy/components/internal/FormFields/Select/components/SelectList.js +1 -1
- package/dist/es-legacy/components/internal/FormFields/Select/components/SelectList.js.map +1 -1
- package/dist/es-legacy/components/internal/FormInstruction/FormInstruction.js +1 -1
- package/dist/es-legacy/components/internal/FormInstruction/FormInstruction.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/IssuerButtonGroup/IssuerButtonGroup.js +1 -1
- package/dist/es-legacy/components/internal/IssuerList/IssuerButtonGroup/IssuerButtonGroup.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/utils.js +1 -1
- package/dist/es-legacy/components/internal/OpenInvoice/utils.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/PersonalDetails/PersonalDetails.js +1 -1
- package/dist/es-legacy/components/internal/PersonalDetails/PersonalDetails.js.map +1 -1
- package/dist/es-legacy/components/internal/PersonalDetails/utils.js +1 -1
- package/dist/es-legacy/components/internal/PersonalDetails/utils.js.map +1 -1
- package/dist/es-legacy/components/internal/PhoneInput/PhoneInput.js +1 -1
- package/dist/es-legacy/components/internal/PhoneInput/PhoneInput.js.map +1 -1
- package/dist/es-legacy/components/internal/PhoneInput/usePhonePrefixes.js +1 -1
- package/dist/es-legacy/components/internal/PhoneInput/usePhonePrefixes.js.map +1 -1
- package/dist/es-legacy/components/internal/QRLoader/QRLoader.js +1 -1
- package/dist/es-legacy/components/internal/QRLoader/QRLoader.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/SFPUtils.js +1 -1
- package/dist/es-legacy/components/internal/SecuredFields/SFP/SFPUtils.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/SFP/SecuredFieldsProviderHandlers.js +1 -1
- package/dist/es-legacy/components/internal/SecuredFields/SFP/SecuredFieldsProviderHandlers.js.map +1 -1
- package/dist/es-legacy/components/internal/SecuredFields/binLookup/extensions.js +1 -1
- package/dist/es-legacy/components/internal/SecuredFields/binLookup/extensions.js.map +1 -1
- package/dist/es-legacy/components/internal/SecuredFields/binLookup/triggerBinLookUp.js +1 -1
- package/dist/es-legacy/components/internal/SecuredFields/binLookup/triggerBinLookUp.js.map +1 -1
- package/dist/es-legacy/components/internal/SecuredFields/lib/CSF/extensions/createSecuredFields.js +1 -1
- package/dist/es-legacy/components/internal/SecuredFields/lib/CSF/extensions/createSecuredFields.js.map +1 -1
- package/dist/es-legacy/components/internal/SecuredFields/lib/CSF/extensions/handleBrandFromBinLookup.js +1 -1
- package/dist/es-legacy/components/internal/SecuredFields/lib/CSF/extensions/handleBrandFromBinLookup.js.map +1 -1
- package/dist/es-legacy/components/internal/SecuredFields/lib/CSF/extensions/handleConfig.js +1 -1
- package/dist/es-legacy/components/internal/SecuredFields/lib/CSF/extensions/handleConfig.js.map +1 -1
- package/dist/es-legacy/components/internal/SecuredFields/lib/CSF/extensions/handleEncryption.js +1 -1
- package/dist/es-legacy/components/internal/SecuredFields/lib/CSF/extensions/handleEncryption.js.map +1 -1
- package/dist/es-legacy/components/internal/SecuredFields/lib/CSF/extensions/handleValidation.js +1 -1
- package/dist/es-legacy/components/internal/SecuredFields/lib/CSF/extensions/handleValidation.js.map +1 -1
- package/dist/es-legacy/components/internal/SecuredFields/lib/CSF/partials/isConfigured.js +1 -1
- package/dist/es-legacy/components/internal/SecuredFields/lib/CSF/partials/isConfigured.js.map +1 -1
- package/dist/es-legacy/components/internal/SecuredFields/lib/CSF/partials/processAutoComplete.js +1 -1
- package/dist/es-legacy/components/internal/SecuredFields/lib/CSF/partials/processAutoComplete.js.map +1 -1
- package/dist/es-legacy/components/internal/SecuredFields/lib/CSF/partials/processBrand.js +1 -1
- package/dist/es-legacy/components/internal/SecuredFields/lib/CSF/partials/processBrand.js.map +1 -1
- package/dist/es-legacy/components/internal/SecuredFields/lib/CSF/utils/callbackUtils.js +1 -1
- package/dist/es-legacy/components/internal/SecuredFields/lib/CSF/utils/callbackUtils.js.map +1 -1
- package/dist/es-legacy/components/internal/SecuredFields/lib/CSF/utils/getCardGroupTypes.js +1 -1
- package/dist/es-legacy/components/internal/SecuredFields/lib/CSF/utils/getCardGroupTypes.js.map +1 -1
- package/dist/es-legacy/components/internal/SecuredFields/lib/CSF/utils/tabbing/tabScenarioACH.js +1 -1
- package/dist/es-legacy/components/internal/SecuredFields/lib/CSF/utils/tabbing/tabScenarioACH.js.map +1 -1
- package/dist/es-legacy/components/internal/SecuredFields/lib/CSF/utils/tabbing/tabScenarioCreditCard.js +1 -1
- package/dist/es-legacy/components/internal/SecuredFields/lib/CSF/utils/tabbing/tabScenarioCreditCard.js.map +1 -1
- package/dist/es-legacy/components/internal/SecuredFields/lib/CSF/utils/tabbing/tabScenarioGiftCard.js +1 -1
- package/dist/es-legacy/components/internal/SecuredFields/lib/CSF/utils/tabbing/tabScenarioGiftCard.js.map +1 -1
- package/dist/es-legacy/components/internal/SecuredFields/lib/CSF/utils/tabbing/tabScenarioKCP.js +1 -1
- package/dist/es-legacy/components/internal/SecuredFields/lib/CSF/utils/tabbing/tabScenarioKCP.js.map +1 -1
- package/dist/{es/components/internal/SecuredFields/lib/configuration → es-legacy/components/internal/SecuredFields/lib}/constants.js +1 -1
- package/dist/es-legacy/components/internal/SecuredFields/lib/constants.js.map +1 -0
- 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/SecuredFields/lib/securedField/utils/processAriaConfig.js +1 -1
- package/dist/es-legacy/components/internal/SecuredFields/lib/securedField/utils/processAriaConfig.js.map +1 -1
- package/dist/es-legacy/components/internal/SecuredFields/lib/securedField/utils/processPlaceholders.js +1 -1
- package/dist/es-legacy/components/internal/SecuredFields/lib/securedField/utils/processPlaceholders.js.map +1 -1
- package/dist/es-legacy/components/internal/SecuredFields/lib/utilities/addContextTranslations.js +1 -1
- package/dist/es-legacy/components/internal/SecuredFields/lib/utilities/addContextTranslations.js.map +1 -1
- package/dist/es-legacy/components/internal/SecuredFields/utils.js +1 -1
- package/dist/es-legacy/components/internal/SecuredFields/utils.js.map +1 -1
- package/dist/es-legacy/components/internal/SendCopyToEmail/SendCopyToEmail.js +1 -1
- package/dist/es-legacy/components/internal/SendCopyToEmail/SendCopyToEmail.js.map +1 -1
- package/dist/es-legacy/components/internal/SocialSecurityNumberBrazil/SocialSecurityNumberBrazil.js +1 -1
- package/dist/es-legacy/components/internal/SocialSecurityNumberBrazil/SocialSecurityNumberBrazil.js.map +1 -1
- package/dist/es-legacy/components/internal/StoreDetails/StoreDetails.js +1 -1
- package/dist/es-legacy/components/internal/StoreDetails/StoreDetails.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/components/internal/Voucher/Voucher.js +1 -1
- package/dist/es-legacy/components/internal/Voucher/Voucher.js.map +1 -1
- package/dist/es-legacy/components/tx-variants.js +1 -1
- package/dist/es-legacy/components/tx-variants.js.map +1 -1
- package/dist/es-legacy/core/Analytics/Analytics.js +1 -1
- package/dist/es-legacy/core/Analytics/Analytics.js.map +1 -1
- package/dist/es-legacy/core/Analytics/analyticsPreProcessor.js +1 -1
- package/dist/es-legacy/core/Analytics/analyticsPreProcessor.js.map +1 -1
- package/dist/es-legacy/core/Analytics/constants.js +1 -1
- package/dist/es-legacy/core/Analytics/constants.js.map +1 -1
- package/dist/es-legacy/core/Analytics/utils.js +1 -1
- package/dist/es-legacy/core/Analytics/utils.js.map +1 -1
- package/dist/es-legacy/core/Context/CoreProvider.js +1 -1
- package/dist/es-legacy/core/Context/CoreProvider.js.map +1 -1
- package/dist/es-legacy/core/Context/useImage.js +1 -1
- package/dist/es-legacy/core/Context/useImage.js.map +1 -1
- package/dist/es-legacy/core/Errors/AdyenCheckoutError.js +1 -1
- package/dist/es-legacy/core/Errors/AdyenCheckoutError.js.map +1 -1
- package/dist/es-legacy/core/Errors/SRMessages.js +1 -1
- package/dist/es-legacy/core/Errors/SRMessages.js.map +1 -1
- package/dist/es-legacy/core/Errors/SRPanel.js +1 -1
- package/dist/es-legacy/core/Errors/SRPanel.js.map +1 -1
- package/dist/es-legacy/core/Errors/SRPanelProvider.js +1 -1
- package/dist/es-legacy/core/Errors/SRPanelProvider.js.map +1 -1
- package/dist/es-legacy/core/Errors/constants.js +1 -1
- package/dist/es-legacy/core/Errors/constants.js.map +1 -1
- package/dist/es-legacy/core/Errors/utils.js +1 -1
- package/dist/es-legacy/core/Errors/utils.js.map +1 -1
- package/dist/es-legacy/core/ProcessResponse/PaymentAction/actionTypes.js +1 -1
- package/dist/es-legacy/core/ProcessResponse/PaymentAction/actionTypes.js.map +1 -1
- package/dist/es-legacy/core/Services/analytics/collect-id.js +1 -1
- package/dist/es-legacy/core/Services/analytics/log-event.js +1 -1
- package/dist/es-legacy/core/Services/get-translations.js +2 -0
- package/dist/es-legacy/core/Services/get-translations.js.map +1 -0
- package/dist/es-legacy/core/core.defaultProps.js +2 -0
- package/dist/es-legacy/core/core.defaultProps.js.map +1 -0
- package/dist/es-legacy/core/core.js +1 -1
- package/dist/es-legacy/core/core.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/index.js +1 -1
- package/dist/es-legacy/language/Language.js +1 -1
- package/dist/es-legacy/language/Language.js.map +1 -1
- package/dist/es-legacy/language/constants.js +2 -0
- package/dist/es-legacy/language/constants.js.map +1 -0
- package/dist/es-legacy/language/utils.js +1 -1
- package/dist/es-legacy/language/utils.js.map +1 -1
- package/dist/es-legacy/utils/validator-utils.js +1 -1
- package/dist/es-legacy/utils/validator-utils.js.map +1 -1
- package/dist/umd/adyen.css +10 -10
- package/dist/umd/adyen.js +2 -2
- package/dist/umd/adyen.js.map +1 -1
- package/package.json +3 -4
- package/translations/ar.json +306 -0
- package/translations/cs-CZ.json +302 -0
- package/translations/da-DK.json +303 -0
- package/translations/de-DE.json +302 -0
- package/translations/el-GR.json +305 -0
- package/translations/en-US.json +307 -0
- package/translations/es-ES.json +300 -0
- package/translations/fi-FI.json +302 -0
- package/translations/fr-FR.json +305 -0
- package/translations/hr-HR.json +305 -0
- package/translations/hu-HU.json +305 -0
- package/translations/it-IT.json +305 -0
- package/translations/ja-JP.json +305 -0
- package/translations/ko-KR.json +305 -0
- package/translations/nl-NL.json +302 -0
- package/translations/no-NO.json +302 -0
- package/translations/pl-PL.json +305 -0
- package/translations/pt-BR.json +306 -0
- package/translations/pt-PT.json +307 -0
- package/translations/ro-RO.json +305 -0
- package/translations/ru-RU.json +303 -0
- package/translations/sk-SK.json +305 -0
- package/translations/sl-SI.json +305 -0
- package/translations/sv-SE.json +303 -0
- package/translations/zh-CN.json +305 -0
- package/translations/zh-TW.json +305 -0
- package/dist/es/components/ThreeDS2/config.js +0 -2
- package/dist/es/components/ThreeDS2/config.js.map +0 -1
- package/dist/es/components/internal/SecuredFields/lib/configuration/constants.js.map +0 -1
- package/dist/es/core/Context/CoreContext.js +0 -2
- package/dist/es/core/Context/CoreContext.js.map +0 -1
- package/dist/es/core/Context/useCoreContext.js +0 -2
- package/dist/es/core/Context/useCoreContext.js.map +0 -1
- package/dist/es/language/config.js +0 -2
- package/dist/es/language/config.js.map +0 -1
- package/dist/es/language/locales/ar.js +0 -2
- package/dist/es/language/locales/ar.js.map +0 -1
- package/dist/es/language/locales/ar.json.js +0 -2
- package/dist/es/language/locales/ar.json.js.map +0 -1
- package/dist/es/language/locales/cs-CZ.js +0 -2
- package/dist/es/language/locales/cs-CZ.js.map +0 -1
- package/dist/es/language/locales/cs-CZ.json.js +0 -2
- package/dist/es/language/locales/cs-CZ.json.js.map +0 -1
- package/dist/es/language/locales/da-DK.js +0 -2
- package/dist/es/language/locales/da-DK.js.map +0 -1
- package/dist/es/language/locales/da-DK.json.js +0 -2
- package/dist/es/language/locales/da-DK.json.js.map +0 -1
- package/dist/es/language/locales/de-DE.js +0 -2
- package/dist/es/language/locales/de-DE.js.map +0 -1
- package/dist/es/language/locales/de-DE.json.js +0 -2
- package/dist/es/language/locales/de-DE.json.js.map +0 -1
- package/dist/es/language/locales/el-GR.js +0 -2
- package/dist/es/language/locales/el-GR.js.map +0 -1
- package/dist/es/language/locales/el-GR.json.js +0 -2
- package/dist/es/language/locales/el-GR.json.js.map +0 -1
- package/dist/es/language/locales/en-US.js +0 -2
- package/dist/es/language/locales/en-US.js.map +0 -1
- package/dist/es/language/locales/en-US.json.js +0 -2
- package/dist/es/language/locales/en-US.json.js.map +0 -1
- package/dist/es/language/locales/es-ES.js +0 -2
- package/dist/es/language/locales/es-ES.js.map +0 -1
- package/dist/es/language/locales/es-ES.json.js +0 -2
- package/dist/es/language/locales/es-ES.json.js.map +0 -1
- package/dist/es/language/locales/fi-FI.js +0 -2
- package/dist/es/language/locales/fi-FI.js.map +0 -1
- package/dist/es/language/locales/fi-FI.json.js +0 -2
- package/dist/es/language/locales/fi-FI.json.js.map +0 -1
- package/dist/es/language/locales/fr-FR.js +0 -2
- package/dist/es/language/locales/fr-FR.js.map +0 -1
- package/dist/es/language/locales/fr-FR.json.js +0 -2
- package/dist/es/language/locales/fr-FR.json.js.map +0 -1
- package/dist/es/language/locales/hr-HR.js +0 -2
- package/dist/es/language/locales/hr-HR.js.map +0 -1
- package/dist/es/language/locales/hr-HR.json.js +0 -2
- package/dist/es/language/locales/hr-HR.json.js.map +0 -1
- package/dist/es/language/locales/hu-HU.js +0 -2
- package/dist/es/language/locales/hu-HU.js.map +0 -1
- package/dist/es/language/locales/hu-HU.json.js +0 -2
- package/dist/es/language/locales/hu-HU.json.js.map +0 -1
- package/dist/es/language/locales/it-IT.js +0 -2
- package/dist/es/language/locales/it-IT.js.map +0 -1
- package/dist/es/language/locales/it-IT.json.js +0 -2
- package/dist/es/language/locales/it-IT.json.js.map +0 -1
- package/dist/es/language/locales/ja-JP.js +0 -2
- package/dist/es/language/locales/ja-JP.js.map +0 -1
- package/dist/es/language/locales/ja-JP.json.js +0 -2
- package/dist/es/language/locales/ja-JP.json.js.map +0 -1
- package/dist/es/language/locales/ko-KR.js +0 -2
- package/dist/es/language/locales/ko-KR.js.map +0 -1
- package/dist/es/language/locales/ko-KR.json.js +0 -2
- package/dist/es/language/locales/ko-KR.json.js.map +0 -1
- package/dist/es/language/locales/nl-NL.js +0 -2
- package/dist/es/language/locales/nl-NL.js.map +0 -1
- package/dist/es/language/locales/nl-NL.json.js +0 -2
- package/dist/es/language/locales/nl-NL.json.js.map +0 -1
- package/dist/es/language/locales/no-NO.js +0 -2
- package/dist/es/language/locales/no-NO.js.map +0 -1
- package/dist/es/language/locales/no-NO.json.js +0 -2
- package/dist/es/language/locales/no-NO.json.js.map +0 -1
- package/dist/es/language/locales/pl-PL.js +0 -2
- package/dist/es/language/locales/pl-PL.js.map +0 -1
- package/dist/es/language/locales/pl-PL.json.js +0 -2
- package/dist/es/language/locales/pl-PL.json.js.map +0 -1
- package/dist/es/language/locales/pt-BR.js +0 -2
- package/dist/es/language/locales/pt-BR.js.map +0 -1
- package/dist/es/language/locales/pt-BR.json.js +0 -2
- package/dist/es/language/locales/pt-BR.json.js.map +0 -1
- package/dist/es/language/locales/pt-PT.js +0 -2
- package/dist/es/language/locales/pt-PT.js.map +0 -1
- package/dist/es/language/locales/pt-PT.json.js +0 -2
- package/dist/es/language/locales/pt-PT.json.js.map +0 -1
- package/dist/es/language/locales/ro-RO.js +0 -2
- package/dist/es/language/locales/ro-RO.js.map +0 -1
- package/dist/es/language/locales/ro-RO.json.js +0 -2
- package/dist/es/language/locales/ro-RO.json.js.map +0 -1
- package/dist/es/language/locales/ru-RU.js +0 -2
- package/dist/es/language/locales/ru-RU.js.map +0 -1
- package/dist/es/language/locales/ru-RU.json.js +0 -2
- package/dist/es/language/locales/ru-RU.json.js.map +0 -1
- package/dist/es/language/locales/sk-SK.js +0 -2
- package/dist/es/language/locales/sk-SK.js.map +0 -1
- package/dist/es/language/locales/sk-SK.json.js +0 -2
- package/dist/es/language/locales/sk-SK.json.js.map +0 -1
- package/dist/es/language/locales/sl-SI.js +0 -2
- package/dist/es/language/locales/sl-SI.js.map +0 -1
- package/dist/es/language/locales/sl-SI.json.js +0 -2
- package/dist/es/language/locales/sl-SI.json.js.map +0 -1
- package/dist/es/language/locales/sv-SE.js +0 -2
- package/dist/es/language/locales/sv-SE.js.map +0 -1
- package/dist/es/language/locales/sv-SE.json.js +0 -2
- package/dist/es/language/locales/sv-SE.json.js.map +0 -1
- package/dist/es/language/locales/zh-CN.js +0 -2
- package/dist/es/language/locales/zh-CN.js.map +0 -1
- package/dist/es/language/locales/zh-CN.json.js +0 -2
- package/dist/es/language/locales/zh-CN.json.js.map +0 -1
- package/dist/es/language/locales/zh-TW.js +0 -2
- package/dist/es/language/locales/zh-TW.js.map +0 -1
- package/dist/es/language/locales/zh-TW.json.js +0 -2
- package/dist/es/language/locales/zh-TW.json.js.map +0 -1
- package/dist/es/utils/getFlagEmoji.js +0 -2
- package/dist/es/utils/getFlagEmoji.js.map +0 -1
- package/dist/es-legacy/components/ThreeDS2/config.js +0 -2
- package/dist/es-legacy/components/ThreeDS2/config.js.map +0 -1
- package/dist/es-legacy/components/internal/SecuredFields/lib/configuration/constants.js.map +0 -1
- package/dist/es-legacy/core/Context/CoreContext.js +0 -2
- package/dist/es-legacy/core/Context/CoreContext.js.map +0 -1
- package/dist/es-legacy/core/Context/useCoreContext.js +0 -2
- package/dist/es-legacy/core/Context/useCoreContext.js.map +0 -1
- package/dist/es-legacy/language/config.js +0 -2
- package/dist/es-legacy/language/config.js.map +0 -1
- package/dist/es-legacy/language/locales/ar.js +0 -2
- package/dist/es-legacy/language/locales/ar.js.map +0 -1
- package/dist/es-legacy/language/locales/ar.json.js +0 -2
- package/dist/es-legacy/language/locales/ar.json.js.map +0 -1
- package/dist/es-legacy/language/locales/cs-CZ.js +0 -2
- package/dist/es-legacy/language/locales/cs-CZ.js.map +0 -1
- package/dist/es-legacy/language/locales/cs-CZ.json.js +0 -2
- package/dist/es-legacy/language/locales/cs-CZ.json.js.map +0 -1
- package/dist/es-legacy/language/locales/da-DK.js +0 -2
- package/dist/es-legacy/language/locales/da-DK.js.map +0 -1
- package/dist/es-legacy/language/locales/da-DK.json.js +0 -2
- package/dist/es-legacy/language/locales/da-DK.json.js.map +0 -1
- package/dist/es-legacy/language/locales/de-DE.js +0 -2
- package/dist/es-legacy/language/locales/de-DE.js.map +0 -1
- package/dist/es-legacy/language/locales/de-DE.json.js +0 -2
- package/dist/es-legacy/language/locales/de-DE.json.js.map +0 -1
- package/dist/es-legacy/language/locales/el-GR.js +0 -2
- package/dist/es-legacy/language/locales/el-GR.js.map +0 -1
- package/dist/es-legacy/language/locales/el-GR.json.js +0 -2
- package/dist/es-legacy/language/locales/el-GR.json.js.map +0 -1
- package/dist/es-legacy/language/locales/en-US.js +0 -2
- package/dist/es-legacy/language/locales/en-US.js.map +0 -1
- package/dist/es-legacy/language/locales/en-US.json.js +0 -2
- package/dist/es-legacy/language/locales/en-US.json.js.map +0 -1
- package/dist/es-legacy/language/locales/es-ES.js +0 -2
- package/dist/es-legacy/language/locales/es-ES.js.map +0 -1
- package/dist/es-legacy/language/locales/es-ES.json.js +0 -2
- package/dist/es-legacy/language/locales/es-ES.json.js.map +0 -1
- package/dist/es-legacy/language/locales/fi-FI.js +0 -2
- package/dist/es-legacy/language/locales/fi-FI.js.map +0 -1
- package/dist/es-legacy/language/locales/fi-FI.json.js +0 -2
- package/dist/es-legacy/language/locales/fi-FI.json.js.map +0 -1
- package/dist/es-legacy/language/locales/fr-FR.js +0 -2
- package/dist/es-legacy/language/locales/fr-FR.js.map +0 -1
- package/dist/es-legacy/language/locales/fr-FR.json.js +0 -2
- package/dist/es-legacy/language/locales/fr-FR.json.js.map +0 -1
- package/dist/es-legacy/language/locales/hr-HR.js +0 -2
- package/dist/es-legacy/language/locales/hr-HR.js.map +0 -1
- package/dist/es-legacy/language/locales/hr-HR.json.js +0 -2
- package/dist/es-legacy/language/locales/hr-HR.json.js.map +0 -1
- package/dist/es-legacy/language/locales/hu-HU.js +0 -2
- package/dist/es-legacy/language/locales/hu-HU.js.map +0 -1
- package/dist/es-legacy/language/locales/hu-HU.json.js +0 -2
- package/dist/es-legacy/language/locales/hu-HU.json.js.map +0 -1
- package/dist/es-legacy/language/locales/it-IT.js +0 -2
- package/dist/es-legacy/language/locales/it-IT.js.map +0 -1
- package/dist/es-legacy/language/locales/it-IT.json.js +0 -2
- package/dist/es-legacy/language/locales/it-IT.json.js.map +0 -1
- package/dist/es-legacy/language/locales/ja-JP.js +0 -2
- package/dist/es-legacy/language/locales/ja-JP.js.map +0 -1
- package/dist/es-legacy/language/locales/ja-JP.json.js +0 -2
- package/dist/es-legacy/language/locales/ja-JP.json.js.map +0 -1
- package/dist/es-legacy/language/locales/ko-KR.js +0 -2
- package/dist/es-legacy/language/locales/ko-KR.js.map +0 -1
- package/dist/es-legacy/language/locales/ko-KR.json.js +0 -2
- package/dist/es-legacy/language/locales/ko-KR.json.js.map +0 -1
- package/dist/es-legacy/language/locales/nl-NL.js +0 -2
- package/dist/es-legacy/language/locales/nl-NL.js.map +0 -1
- package/dist/es-legacy/language/locales/nl-NL.json.js +0 -2
- package/dist/es-legacy/language/locales/nl-NL.json.js.map +0 -1
- package/dist/es-legacy/language/locales/no-NO.js +0 -2
- package/dist/es-legacy/language/locales/no-NO.js.map +0 -1
- package/dist/es-legacy/language/locales/no-NO.json.js +0 -2
- package/dist/es-legacy/language/locales/no-NO.json.js.map +0 -1
- package/dist/es-legacy/language/locales/pl-PL.js +0 -2
- package/dist/es-legacy/language/locales/pl-PL.js.map +0 -1
- package/dist/es-legacy/language/locales/pl-PL.json.js +0 -2
- package/dist/es-legacy/language/locales/pl-PL.json.js.map +0 -1
- package/dist/es-legacy/language/locales/pt-BR.js +0 -2
- package/dist/es-legacy/language/locales/pt-BR.js.map +0 -1
- package/dist/es-legacy/language/locales/pt-BR.json.js +0 -2
- package/dist/es-legacy/language/locales/pt-BR.json.js.map +0 -1
- package/dist/es-legacy/language/locales/pt-PT.js +0 -2
- package/dist/es-legacy/language/locales/pt-PT.js.map +0 -1
- package/dist/es-legacy/language/locales/pt-PT.json.js +0 -2
- package/dist/es-legacy/language/locales/pt-PT.json.js.map +0 -1
- package/dist/es-legacy/language/locales/ro-RO.js +0 -2
- package/dist/es-legacy/language/locales/ro-RO.js.map +0 -1
- package/dist/es-legacy/language/locales/ro-RO.json.js +0 -2
- package/dist/es-legacy/language/locales/ro-RO.json.js.map +0 -1
- package/dist/es-legacy/language/locales/ru-RU.js +0 -2
- package/dist/es-legacy/language/locales/ru-RU.js.map +0 -1
- package/dist/es-legacy/language/locales/ru-RU.json.js +0 -2
- package/dist/es-legacy/language/locales/ru-RU.json.js.map +0 -1
- package/dist/es-legacy/language/locales/sk-SK.js +0 -2
- package/dist/es-legacy/language/locales/sk-SK.js.map +0 -1
- package/dist/es-legacy/language/locales/sk-SK.json.js +0 -2
- package/dist/es-legacy/language/locales/sk-SK.json.js.map +0 -1
- package/dist/es-legacy/language/locales/sl-SI.js +0 -2
- package/dist/es-legacy/language/locales/sl-SI.js.map +0 -1
- package/dist/es-legacy/language/locales/sl-SI.json.js +0 -2
- package/dist/es-legacy/language/locales/sl-SI.json.js.map +0 -1
- package/dist/es-legacy/language/locales/sv-SE.js +0 -2
- package/dist/es-legacy/language/locales/sv-SE.js.map +0 -1
- package/dist/es-legacy/language/locales/sv-SE.json.js +0 -2
- package/dist/es-legacy/language/locales/sv-SE.json.js.map +0 -1
- package/dist/es-legacy/language/locales/zh-CN.js +0 -2
- package/dist/es-legacy/language/locales/zh-CN.js.map +0 -1
- package/dist/es-legacy/language/locales/zh-CN.json.js +0 -2
- package/dist/es-legacy/language/locales/zh-CN.json.js.map +0 -1
- package/dist/es-legacy/language/locales/zh-TW.js +0 -2
- package/dist/es-legacy/language/locales/zh-TW.js.map +0 -1
- package/dist/es-legacy/language/locales/zh-TW.json.js +0 -2
- package/dist/es-legacy/language/locales/zh-TW.json.js.map +0 -1
- package/dist/es-legacy/utils/getFlagEmoji.js +0 -2
- package/dist/es-legacy/utils/getFlagEmoji.js.map +0 -1
package/dist/cjs/index.d.cts
CHANGED
|
@@ -4,21 +4,26 @@ import * as preact from 'preact';
|
|
|
4
4
|
import { h, ComponentChild, FunctionComponent } from 'preact';
|
|
5
5
|
|
|
6
6
|
type CustomTranslations = {
|
|
7
|
-
[
|
|
8
|
-
[message: string]: string;
|
|
9
|
-
};
|
|
7
|
+
[locale: string]: Translations;
|
|
10
8
|
};
|
|
11
|
-
type
|
|
12
|
-
[
|
|
9
|
+
type Translations = {
|
|
10
|
+
[translationKey: string]: string;
|
|
13
11
|
};
|
|
12
|
+
interface LanguageOptions {
|
|
13
|
+
locale: string;
|
|
14
|
+
translations: Translations;
|
|
15
|
+
customTranslations?: CustomTranslations;
|
|
16
|
+
}
|
|
14
17
|
|
|
15
18
|
declare class Language {
|
|
16
|
-
private readonly supportedLocales;
|
|
17
19
|
readonly locale: string;
|
|
18
20
|
readonly languageCode: string;
|
|
19
|
-
|
|
20
|
-
readonly customTranslations
|
|
21
|
-
|
|
21
|
+
private readonly translations;
|
|
22
|
+
private readonly customTranslations;
|
|
23
|
+
readonly timeFormatOptions: Intl.DateTimeFormatOptions;
|
|
24
|
+
readonly timeAndDateFormatOptions: Intl.DateTimeFormatOptions;
|
|
25
|
+
readonly timeAndDateFormatter: Intl.DateTimeFormat;
|
|
26
|
+
constructor(props: LanguageOptions);
|
|
22
27
|
/**
|
|
23
28
|
* Returns a translated string from a key in the current {@link Language.locale}
|
|
24
29
|
* @param key - Translation key
|
|
@@ -39,6 +44,11 @@ declare class Language {
|
|
|
39
44
|
* @param options - Options for {@link Date.toLocaleDateString}
|
|
40
45
|
*/
|
|
41
46
|
date(date: string, options?: object): string;
|
|
47
|
+
/**
|
|
48
|
+
* Returns a localized string for a date and time
|
|
49
|
+
* @param date - Date to be localized
|
|
50
|
+
*/
|
|
51
|
+
dateTime(date: string): string;
|
|
42
52
|
}
|
|
43
53
|
|
|
44
54
|
/**
|
|
@@ -85,6 +95,28 @@ interface Experiment {
|
|
|
85
95
|
experimentId: string;
|
|
86
96
|
experimentName?: string;
|
|
87
97
|
}
|
|
98
|
+
interface AnalyticsData {
|
|
99
|
+
/**
|
|
100
|
+
* Relates to PMs used within Plugins
|
|
101
|
+
* https://docs.adyen.com/development-resources/application-information/?tab=integrator_built_2#application-information-fields
|
|
102
|
+
* @internal
|
|
103
|
+
*/
|
|
104
|
+
applicationInfo?: {
|
|
105
|
+
externalPlatform: {
|
|
106
|
+
name: string;
|
|
107
|
+
version: string;
|
|
108
|
+
integrator: string;
|
|
109
|
+
};
|
|
110
|
+
merchantApplication: {
|
|
111
|
+
name: string;
|
|
112
|
+
version: string;
|
|
113
|
+
};
|
|
114
|
+
merchantDevice?: {
|
|
115
|
+
os: string;
|
|
116
|
+
osVersion: string;
|
|
117
|
+
};
|
|
118
|
+
};
|
|
119
|
+
}
|
|
88
120
|
interface AnalyticsOptions {
|
|
89
121
|
/**
|
|
90
122
|
* Enable/Disable all analytics
|
|
@@ -106,6 +138,10 @@ interface AnalyticsOptions {
|
|
|
106
138
|
* List of experiments to be sent in the collectId call // TODO - still used?
|
|
107
139
|
*/
|
|
108
140
|
experiments?: Experiment[];
|
|
141
|
+
/**
|
|
142
|
+
* A wrapper to pass data needed when analytics is setup
|
|
143
|
+
*/
|
|
144
|
+
analyticsData?: AnalyticsData;
|
|
109
145
|
}
|
|
110
146
|
interface AnalyticsObject {
|
|
111
147
|
timestamp: string;
|
|
@@ -123,6 +159,8 @@ interface AnalyticsObject {
|
|
|
123
159
|
validationErrorCode?: string;
|
|
124
160
|
validationErrorMessage?: string;
|
|
125
161
|
issuer?: string;
|
|
162
|
+
isExpress?: boolean;
|
|
163
|
+
expressPage?: string;
|
|
126
164
|
}
|
|
127
165
|
type ANALYTICS_EVENT = 'log' | 'error' | 'info';
|
|
128
166
|
type AnalyticsInitialEvent = {
|
|
@@ -785,6 +823,8 @@ declare class AdyenCheckoutError extends Error {
|
|
|
785
823
|
ERROR: string;
|
|
786
824
|
/** Script error. The browser failed to load 3rd party script */
|
|
787
825
|
SCRIPT_ERROR: string;
|
|
826
|
+
/** Something has gone wrong internally */
|
|
827
|
+
SDK_ERROR: string;
|
|
788
828
|
};
|
|
789
829
|
cause: unknown;
|
|
790
830
|
constructor(type: keyof typeof AdyenCheckoutError.errorTypes, message?: string, options?: CheckoutErrorOptions);
|
|
@@ -979,6 +1019,7 @@ declare enum TxVariants {
|
|
|
979
1019
|
facilypay_12x = "facilypay_12x",
|
|
980
1020
|
ratepay = "ratepay",
|
|
981
1021
|
ratepay_directdebit = "ratepay_directdebit",
|
|
1022
|
+
riverty = "riverty",
|
|
982
1023
|
/** Open Invoice */
|
|
983
1024
|
/** Wallets */
|
|
984
1025
|
amazonpay = "amazonpay",
|
|
@@ -1157,6 +1198,15 @@ interface AmazonPayConfiguration extends UIElementProps {
|
|
|
1157
1198
|
onClick?: (resolve: any, reject: any) => Promise<void>;
|
|
1158
1199
|
onError?: (error: any, component: any) => void;
|
|
1159
1200
|
onSignOut?: (resolve: any, reject: any) => Promise<void>;
|
|
1201
|
+
/**
|
|
1202
|
+
* Used for analytics
|
|
1203
|
+
*/
|
|
1204
|
+
expressPage?: 'cart' | 'minicart' | 'pdp' | 'checkout';
|
|
1205
|
+
/**
|
|
1206
|
+
* Used for analytics
|
|
1207
|
+
* @defaultValue false
|
|
1208
|
+
*/
|
|
1209
|
+
isExpress?: boolean;
|
|
1160
1210
|
}
|
|
1161
1211
|
interface AmazonPayComponentProps extends AmazonPayConfiguration {
|
|
1162
1212
|
showSignOutButton?: boolean;
|
|
@@ -1339,6 +1389,7 @@ declare class AmazonPayElement extends UIElement<AmazonPayConfiguration> {
|
|
|
1339
1389
|
* Formats the component data output
|
|
1340
1390
|
*/
|
|
1341
1391
|
formatData(): AmazonPayElementData;
|
|
1392
|
+
protected submitAnalytics(analyticsObj: SendAnalyticsObject): void;
|
|
1342
1393
|
getShopperDetails(): void | Promise<any>;
|
|
1343
1394
|
handleDeclineFlow(): void;
|
|
1344
1395
|
get isValid(): boolean;
|
|
@@ -1365,10 +1416,14 @@ type ApplePayPaymentAuthorizationResult = ApplePayJS.ApplePayPaymentAuthorizatio
|
|
|
1365
1416
|
type ApplePayButtonType = 'plain' | 'buy' | 'donate' | 'check-out' | 'book' | 'subscribe' | 'add-money' | 'contribute' | 'order' | 'reload' | 'rent' | 'support' | 'tip' | 'top-up';
|
|
1366
1417
|
interface ApplePayConfiguration extends UIElementProps {
|
|
1367
1418
|
/**
|
|
1368
|
-
* Enables the ApplePay Express Flow
|
|
1419
|
+
* Enables the ApplePay Express Flow & also used for analytics
|
|
1369
1420
|
* @defaultValue false
|
|
1370
1421
|
*/
|
|
1371
1422
|
isExpress?: boolean;
|
|
1423
|
+
/**
|
|
1424
|
+
* Used for analytics
|
|
1425
|
+
*/
|
|
1426
|
+
expressPage?: 'cart' | 'minicart' | 'pdp' | 'checkout';
|
|
1372
1427
|
/**
|
|
1373
1428
|
* The Apple Pay version number your website supports.
|
|
1374
1429
|
* @default highest supported version by the shopper device
|
|
@@ -1526,6 +1581,7 @@ declare class ApplePayElement extends UIElement<ApplePayConfiguration> {
|
|
|
1526
1581
|
* Formats the component data output
|
|
1527
1582
|
*/
|
|
1528
1583
|
protected formatData(): ApplePayElementData;
|
|
1584
|
+
protected submitAnalytics(analyticsObj: SendAnalyticsObject): void;
|
|
1529
1585
|
submit: () => void;
|
|
1530
1586
|
private startSession;
|
|
1531
1587
|
/**
|
|
@@ -1632,7 +1688,6 @@ declare class IssuerListContainer extends UIElement<IssuerListConfiguration> {
|
|
|
1632
1688
|
highlightedIssuers: any[];
|
|
1633
1689
|
loadingContext: string;
|
|
1634
1690
|
showPaymentMethodItemImages: boolean;
|
|
1635
|
-
showPayButton: boolean;
|
|
1636
1691
|
};
|
|
1637
1692
|
constructor(checkout: ICore, props?: IssuerListConfiguration);
|
|
1638
1693
|
formatProps(props: any): any;
|
|
@@ -1814,7 +1869,7 @@ declare class CashAppPay extends UIElement<CashAppPayConfiguration> {
|
|
|
1814
1869
|
isInstantPayment?: boolean;
|
|
1815
1870
|
isStoredPaymentMethod?: boolean;
|
|
1816
1871
|
oneClick?: boolean;
|
|
1817
|
-
statusType?: "redirect" | "
|
|
1872
|
+
statusType?: "redirect" | "custom" | "loading";
|
|
1818
1873
|
type?: string;
|
|
1819
1874
|
name?: string;
|
|
1820
1875
|
icon?: string;
|
|
@@ -1943,7 +1998,7 @@ declare class ClickToPayElement extends UIElement<ClickToPayConfiguration> {
|
|
|
1943
1998
|
isStoredPaymentMethod?: boolean;
|
|
1944
1999
|
oneClick?: boolean;
|
|
1945
2000
|
storedPaymentMethodId?: string;
|
|
1946
|
-
statusType?: "redirect" | "
|
|
2001
|
+
statusType?: "redirect" | "custom" | "loading";
|
|
1947
2002
|
type?: string;
|
|
1948
2003
|
name?: string;
|
|
1949
2004
|
icon?: string;
|
|
@@ -2128,7 +2183,7 @@ declare class BancontactElement extends CardElement {
|
|
|
2128
2183
|
isInstantPayment?: boolean;
|
|
2129
2184
|
isStoredPaymentMethod?: boolean;
|
|
2130
2185
|
oneClick?: boolean;
|
|
2131
|
-
statusType?: "redirect" | "
|
|
2186
|
+
statusType?: "redirect" | "custom" | "loading";
|
|
2132
2187
|
name?: string;
|
|
2133
2188
|
amount?: PaymentAmount;
|
|
2134
2189
|
secondaryAmount?: PaymentAmountExtended;
|
|
@@ -2235,7 +2290,11 @@ declare class GiropayElement extends RedirectElement {
|
|
|
2235
2290
|
interface GooglePayConfiguration extends UIElementProps {
|
|
2236
2291
|
type?: 'googlepay' | 'paywithgoogle';
|
|
2237
2292
|
/**
|
|
2238
|
-
*
|
|
2293
|
+
* Used for analytics
|
|
2294
|
+
*/
|
|
2295
|
+
expressPage?: 'cart' | 'minicart' | 'pdp' | 'checkout';
|
|
2296
|
+
/**
|
|
2297
|
+
* Enables the GooglePay Express Flow & also used for analytics
|
|
2239
2298
|
* @defaultValue false
|
|
2240
2299
|
*/
|
|
2241
2300
|
isExpress?: boolean;
|
|
@@ -2403,6 +2462,7 @@ declare class GooglePay extends UIElement<GooglePayConfiguration> {
|
|
|
2403
2462
|
browserInfo: BrowserInfo;
|
|
2404
2463
|
origin: string;
|
|
2405
2464
|
};
|
|
2465
|
+
protected submitAnalytics(analyticsObj: SendAnalyticsObject): void;
|
|
2406
2466
|
submit: () => void;
|
|
2407
2467
|
/**
|
|
2408
2468
|
* Method called when the payment is authorized in the payment sheet
|
|
@@ -2524,10 +2584,14 @@ interface PayPalConfiguration extends UIElementProps {
|
|
|
2524
2584
|
intent?: Intent;
|
|
2525
2585
|
};
|
|
2526
2586
|
/**
|
|
2527
|
-
* Identifies if the payment is Express.
|
|
2587
|
+
* Identifies if the payment is Express. Also used for analytics
|
|
2528
2588
|
* @defaultValue false
|
|
2529
2589
|
*/
|
|
2530
2590
|
isExpress?: boolean;
|
|
2591
|
+
/**
|
|
2592
|
+
* Used for analytics
|
|
2593
|
+
*/
|
|
2594
|
+
expressPage?: 'cart' | 'minicart' | 'pdp' | 'checkout';
|
|
2531
2595
|
/**
|
|
2532
2596
|
* Set to true to force the UI to not render PayPal Credit button
|
|
2533
2597
|
* @default false
|
|
@@ -2677,6 +2741,7 @@ declare class PaypalElement extends UIElement<PayPalConfiguration> {
|
|
|
2677
2741
|
protected static defaultProps: Partial<PayPalConfiguration>;
|
|
2678
2742
|
constructor(checkout: ICore, props?: PayPalConfiguration);
|
|
2679
2743
|
formatProps(props: PayPalConfiguration): PayPalConfiguration;
|
|
2744
|
+
protected submitAnalytics(analyticsObj: SendAnalyticsObject): void;
|
|
2680
2745
|
submit: () => void;
|
|
2681
2746
|
/**
|
|
2682
2747
|
* Updates the paymentData value. It must be used in the PayPal Express flow, when patching the amount
|
|
@@ -2750,10 +2815,9 @@ declare class CustomCard extends UIElement<CustomCardConfiguration> {
|
|
|
2750
2815
|
};
|
|
2751
2816
|
label?: string;
|
|
2752
2817
|
name?: string;
|
|
2818
|
+
countryCode?: string;
|
|
2753
2819
|
i18n?: Language;
|
|
2754
2820
|
loadingContext?: string;
|
|
2755
|
-
payButton?: (options: PayButtonFunctionProps) => h.JSX.Element;
|
|
2756
|
-
countryCode?: string;
|
|
2757
2821
|
beforeRedirect?: (resolve: () => void, reject: () => void, redirectData: {
|
|
2758
2822
|
url: string;
|
|
2759
2823
|
method: string;
|
|
@@ -2823,6 +2887,7 @@ declare class CustomCard extends UIElement<CustomCardConfiguration> {
|
|
|
2823
2887
|
brandsConfiguration?: CardBrandsConfiguration;
|
|
2824
2888
|
brands?: string[];
|
|
2825
2889
|
showStoreDetailsCheckbox?: boolean;
|
|
2890
|
+
payButton?: (options: PayButtonFunctionProps) => h.JSX.Element;
|
|
2826
2891
|
keypadFix?: boolean;
|
|
2827
2892
|
styles?: StylesObject;
|
|
2828
2893
|
disableIOSArrowKeys?: boolean;
|
|
@@ -2838,7 +2903,7 @@ declare class CustomCard extends UIElement<CustomCardConfiguration> {
|
|
|
2838
2903
|
doBinLookup?: boolean;
|
|
2839
2904
|
isInstantPayment?: boolean;
|
|
2840
2905
|
oneClick?: boolean;
|
|
2841
|
-
statusType?: "redirect" | "
|
|
2906
|
+
statusType?: "redirect" | "custom" | "loading";
|
|
2842
2907
|
paymentMethodType?: string;
|
|
2843
2908
|
onValidationError?: (validationErrors: ValidationError[]) => void;
|
|
2844
2909
|
};
|
|
@@ -2998,7 +3063,7 @@ declare class WeChatPayElement extends QRLoaderContainer {
|
|
|
2998
3063
|
isStoredPaymentMethod?: boolean;
|
|
2999
3064
|
oneClick?: boolean;
|
|
3000
3065
|
storedPaymentMethodId?: string;
|
|
3001
|
-
statusType?: "redirect" | "
|
|
3066
|
+
statusType?: "redirect" | "custom" | "loading";
|
|
3002
3067
|
name?: string;
|
|
3003
3068
|
icon?: string;
|
|
3004
3069
|
amount?: PaymentAmount;
|
|
@@ -3079,7 +3144,7 @@ declare class PayNowElement extends QRLoaderContainer {
|
|
|
3079
3144
|
isStoredPaymentMethod?: boolean;
|
|
3080
3145
|
oneClick?: boolean;
|
|
3081
3146
|
storedPaymentMethodId?: string;
|
|
3082
|
-
statusType?: "redirect" | "
|
|
3147
|
+
statusType?: "redirect" | "custom" | "loading";
|
|
3083
3148
|
name?: string;
|
|
3084
3149
|
icon?: string;
|
|
3085
3150
|
amount?: PaymentAmount;
|
|
@@ -3161,7 +3226,7 @@ declare class BCMCMobileElement extends QRLoaderContainer {
|
|
|
3161
3226
|
isStoredPaymentMethod?: boolean;
|
|
3162
3227
|
oneClick?: boolean;
|
|
3163
3228
|
storedPaymentMethodId?: string;
|
|
3164
|
-
statusType?: "redirect" | "
|
|
3229
|
+
statusType?: "redirect" | "custom" | "loading";
|
|
3165
3230
|
name?: string;
|
|
3166
3231
|
icon?: string;
|
|
3167
3232
|
amount?: PaymentAmount;
|
|
@@ -3302,7 +3367,7 @@ declare class DragonpayElement extends UIElement<DragonpayConfiguraton> {
|
|
|
3302
3367
|
isStoredPaymentMethod?: boolean;
|
|
3303
3368
|
oneClick?: boolean;
|
|
3304
3369
|
storedPaymentMethodId?: string;
|
|
3305
|
-
statusType?: "redirect" | "
|
|
3370
|
+
statusType?: "redirect" | "custom" | "loading";
|
|
3306
3371
|
name?: string;
|
|
3307
3372
|
icon?: string;
|
|
3308
3373
|
amount?: PaymentAmount;
|
|
@@ -3552,7 +3617,7 @@ declare class SwishElement extends QRLoaderContainer {
|
|
|
3552
3617
|
isStoredPaymentMethod?: boolean;
|
|
3553
3618
|
oneClick?: boolean;
|
|
3554
3619
|
storedPaymentMethodId?: string;
|
|
3555
|
-
statusType?: "redirect" | "
|
|
3620
|
+
statusType?: "redirect" | "custom" | "loading";
|
|
3556
3621
|
name?: string;
|
|
3557
3622
|
icon?: string;
|
|
3558
3623
|
amount?: PaymentAmount;
|
|
@@ -3633,11 +3698,13 @@ declare class AchElement extends UIElement<AchConfiguration> {
|
|
|
3633
3698
|
onError?: (error: AdyenCheckoutError, element?: UIElement<UIElementProps>) => void;
|
|
3634
3699
|
environment?: string;
|
|
3635
3700
|
session?: Session;
|
|
3636
|
-
onComplete?: (state: any, element: UIElement<UIElementProps>) => void;
|
|
3701
|
+
onComplete?: (state: any, element: UIElement<UIElementProps>) => void; /**
|
|
3702
|
+
* Formats the component data output
|
|
3703
|
+
*/
|
|
3637
3704
|
isInstantPayment?: boolean;
|
|
3638
3705
|
isStoredPaymentMethod?: boolean;
|
|
3639
3706
|
oneClick?: boolean;
|
|
3640
|
-
statusType?: "redirect" | "
|
|
3707
|
+
statusType?: "redirect" | "custom" | "loading";
|
|
3641
3708
|
type?: string;
|
|
3642
3709
|
name?: string;
|
|
3643
3710
|
icon?: string;
|
|
@@ -4113,7 +4180,7 @@ declare class PromptPayElement extends QRLoaderContainer {
|
|
|
4113
4180
|
isStoredPaymentMethod?: boolean;
|
|
4114
4181
|
oneClick?: boolean;
|
|
4115
4182
|
storedPaymentMethodId?: string;
|
|
4116
|
-
statusType?: "redirect" | "
|
|
4183
|
+
statusType?: "redirect" | "custom" | "loading";
|
|
4117
4184
|
name?: string;
|
|
4118
4185
|
icon?: string;
|
|
4119
4186
|
amount?: PaymentAmount;
|
|
@@ -4194,7 +4261,7 @@ declare class DuitNowElement extends QRLoaderContainer {
|
|
|
4194
4261
|
isStoredPaymentMethod?: boolean;
|
|
4195
4262
|
oneClick?: boolean;
|
|
4196
4263
|
storedPaymentMethodId?: string;
|
|
4197
|
-
statusType?: "redirect" | "
|
|
4264
|
+
statusType?: "redirect" | "custom" | "loading";
|
|
4198
4265
|
name?: string;
|
|
4199
4266
|
icon?: string;
|
|
4200
4267
|
amount?: PaymentAmount;
|
|
@@ -4217,1551 +4284,1533 @@ declare class TrustlyElement extends RedirectElement {
|
|
|
4217
4284
|
render(): h.JSX.Element;
|
|
4218
4285
|
}
|
|
4219
4286
|
|
|
4220
|
-
|
|
4287
|
+
interface ANCVConfiguration extends UIElementProps {
|
|
4288
|
+
paymentData?: any;
|
|
4289
|
+
data: ANCVDataState;
|
|
4290
|
+
onOrderRequest?: any;
|
|
4291
|
+
onOrderUpdated?: any;
|
|
4292
|
+
}
|
|
4293
|
+
interface ANCVDataState {
|
|
4294
|
+
beneficiaryId: string;
|
|
4295
|
+
}
|
|
4296
|
+
|
|
4297
|
+
interface BoletoElementProps {
|
|
4298
|
+
type: string;
|
|
4299
|
+
i18n: Language;
|
|
4300
|
+
loadingContext: string;
|
|
4301
|
+
reference?: string;
|
|
4302
|
+
}
|
|
4303
|
+
interface BoletoInputDataState {
|
|
4304
|
+
firstName?: string;
|
|
4305
|
+
lastName?: string;
|
|
4306
|
+
shopperEmail?: string;
|
|
4307
|
+
socialSecurityNumber?: string;
|
|
4308
|
+
billingAddress?: AddressData;
|
|
4309
|
+
}
|
|
4310
|
+
interface BoletoInputValidState {
|
|
4311
|
+
firstName?: boolean;
|
|
4312
|
+
lastName?: boolean;
|
|
4313
|
+
shopperEmail?: boolean;
|
|
4314
|
+
socialSecurityNumber?: boolean;
|
|
4315
|
+
billingAddress?: boolean;
|
|
4316
|
+
}
|
|
4317
|
+
interface BoletoInputErrorState {
|
|
4318
|
+
firstName?: boolean;
|
|
4319
|
+
lastName?: boolean;
|
|
4320
|
+
shopperEmail?: boolean;
|
|
4321
|
+
socialSecurityNumber?: boolean;
|
|
4322
|
+
}
|
|
4323
|
+
|
|
4324
|
+
interface DokuVoucherResultProps {
|
|
4325
|
+
reference?: string;
|
|
4326
|
+
totalAmount?: PaymentAmount;
|
|
4327
|
+
expiresAt?: string;
|
|
4328
|
+
paymentMethodType?: string;
|
|
4329
|
+
maskedTelephoneNumber?: string;
|
|
4330
|
+
instructionsUrl?: string;
|
|
4331
|
+
shopperName?: string;
|
|
4332
|
+
merchantName?: string;
|
|
4333
|
+
outputDetails?: any;
|
|
4334
|
+
ref?: any;
|
|
4335
|
+
}
|
|
4336
|
+
|
|
4337
|
+
interface MultibancoVoucherResultProps {
|
|
4338
|
+
entity?: string;
|
|
4339
|
+
reference?: string;
|
|
4340
|
+
expiresAt?: string;
|
|
4341
|
+
merchantReference?: string;
|
|
4342
|
+
totalAmount?: PaymentAmount;
|
|
4343
|
+
paymentMethodType?: string;
|
|
4344
|
+
downloadUrl?: string;
|
|
4345
|
+
ref?: any;
|
|
4346
|
+
}
|
|
4347
|
+
|
|
4348
|
+
declare enum Analytics3DS2Errors {
|
|
4349
|
+
ACTION_IS_MISSING_PAYMENT_DATA = "700",// Missing 'paymentData' property from threeDS2 action
|
|
4350
|
+
ACTION_IS_MISSING_TOKEN = "701",// Missing 'token' property from threeDS2 action
|
|
4351
|
+
TOKEN_IS_MISSING_THREEDSMETHODURL = "702",// Decoded token is missing a valid threeDSMethodURL property
|
|
4352
|
+
/**
|
|
4353
|
+
* Decoded token is missing one or more of the following properties:
|
|
4354
|
+
* fingerprint: (threeDSMethodNotificationURL | postMessageDomain | threeDSServerTransID)
|
|
4355
|
+
* challenge: (acsTransID | messageVersion | threeDSServerTransID)
|
|
4356
|
+
*/
|
|
4357
|
+
TOKEN_IS_MISSING_OTHER_PROPS = "703",
|
|
4358
|
+
TOKEN_DECODE_OR_PARSING_FAILED = "704",// token decoding or parsing has failed. ('not base64', 'malformed URI sequence' or 'Could not JSON parse token')
|
|
4359
|
+
THREEDS2_TIMEOUT = "705",// 3DS2 process has timed out
|
|
4360
|
+
TOKEN_IS_MISSING_ACSURL = "800",// Decoded token is missing a valid acsURL property
|
|
4361
|
+
NO_TRANSSTATUS = "801",// Challenge has resulted in an error (no transStatus could be retrieved by the backend)
|
|
4362
|
+
NO_DETAILS_FOR_FRICTIONLESS_OR_REFUSED = "802",// callSubmit3DS2Fingerprint has received a response indicating either a "frictionless" flow, or a "refused" response, but without a details object
|
|
4363
|
+
NO_COMPONENT_FOR_ACTION = "803",// callSubmit3DS2Fingerprint cannot find a component to handle the action response
|
|
4364
|
+
NO_ACTION_FOR_CHALLENGE = "804"
|
|
4365
|
+
}
|
|
4221
4366
|
|
|
4367
|
+
interface ThreeDS2DeviceFingerprintConfiguration {
|
|
4368
|
+
dataKey?: string;
|
|
4369
|
+
token?: string;
|
|
4370
|
+
notificationURL?: string;
|
|
4371
|
+
onError?: (error: AdyenCheckoutError, element?: UIElement) => void;
|
|
4372
|
+
paymentData?: string;
|
|
4373
|
+
showSpinner: boolean;
|
|
4374
|
+
type?: string;
|
|
4375
|
+
isMDFlow?: boolean;
|
|
4376
|
+
loadingContext?: string;
|
|
4377
|
+
clientKey?: string;
|
|
4378
|
+
elementRef?: UIElement;
|
|
4379
|
+
onActionHandled: (rtnObj: ActionHandledReturnObject) => void;
|
|
4380
|
+
modules?: {
|
|
4381
|
+
analytics: AnalyticsModule;
|
|
4382
|
+
};
|
|
4383
|
+
}
|
|
4384
|
+
interface ThreeDS2ChallengeConfiguration {
|
|
4385
|
+
token?: string;
|
|
4386
|
+
dataKey?: string;
|
|
4387
|
+
notificationURL?: string;
|
|
4388
|
+
onError?: (error: AdyenCheckoutError, element?: UIElement) => void;
|
|
4389
|
+
paymentData?: string;
|
|
4390
|
+
size?: string;
|
|
4391
|
+
challengeWindowSize?: '01' | '02' | '03' | '04' | '05';
|
|
4392
|
+
type?: string;
|
|
4393
|
+
loadingContext?: string;
|
|
4394
|
+
isMDFlow?: boolean;
|
|
4395
|
+
i18n?: Language;
|
|
4396
|
+
onActionHandled: (rtnObj: ActionHandledReturnObject) => void;
|
|
4397
|
+
modules?: {
|
|
4398
|
+
analytics: AnalyticsModule;
|
|
4399
|
+
};
|
|
4400
|
+
}
|
|
4222
4401
|
/**
|
|
4223
|
-
*
|
|
4224
|
-
*
|
|
4225
|
-
*
|
|
4226
|
-
* - The utility function 'createComponent' for UMD bundle (UMD bundle does not have tree-shaking, so this use-case is fine)
|
|
4227
|
-
* - Generating Drop-in Typescript types (Typescript types do not break tree-shaking)
|
|
4402
|
+
* See
|
|
4403
|
+
* https://docs.adyen.com/checkout/3d-secure/api-reference#threeds2result
|
|
4404
|
+
* Indicates whether a transaction was authenticated, or whether additional verification is required.
|
|
4228
4405
|
*/
|
|
4229
|
-
|
|
4230
|
-
|
|
4231
|
-
|
|
4232
|
-
|
|
4233
|
-
|
|
4234
|
-
|
|
4235
|
-
|
|
4236
|
-
/** Card */
|
|
4237
|
-
bcmc: typeof BancontactElement;
|
|
4238
|
-
card: typeof CardElement;
|
|
4239
|
-
scheme: typeof CardElement;
|
|
4240
|
-
storedCard: typeof CardElement;
|
|
4241
|
-
customcard: typeof CustomCard;
|
|
4242
|
-
/** Card */
|
|
4243
|
-
/** Direct debit */
|
|
4244
|
-
ach: typeof AchElement;
|
|
4245
|
-
directdebit_GB: typeof BacsElement;
|
|
4246
|
-
sepadirectdebit: typeof SepaElement;
|
|
4247
|
-
/** Direct debit */
|
|
4248
|
-
/** Open Invoice */
|
|
4249
|
-
affirm: typeof Affirm;
|
|
4250
|
-
afterpay: typeof AfterPay;
|
|
4251
|
-
afterpay_default: typeof AfterPay;
|
|
4252
|
-
afterpay_b2b: typeof AfterPayB2B;
|
|
4253
|
-
atome: typeof Atome;
|
|
4254
|
-
facilypay_3x: typeof FacilyPay3x;
|
|
4255
|
-
facilypay_4x: typeof FacilyPay4x;
|
|
4256
|
-
facilypay_6x: typeof FacilyPay6x;
|
|
4257
|
-
facilypay_10x: typeof FacilyPay10x;
|
|
4258
|
-
facilypay_12x: typeof FacilyPay12x;
|
|
4259
|
-
ratepay: typeof RatePay;
|
|
4260
|
-
ratepay_directdebit: typeof RatePayDirectDebit;
|
|
4261
|
-
/** Open Invoice */
|
|
4262
|
-
/** Wallets */
|
|
4263
|
-
amazonpay: typeof AmazonPayElement;
|
|
4264
|
-
applepay: typeof ApplePayElement;
|
|
4265
|
-
cashapp: typeof CashAppPay;
|
|
4266
|
-
clicktopay: typeof ClickToPayElement;
|
|
4267
|
-
googlepay: typeof GooglePay;
|
|
4268
|
-
paypal: typeof PaypalElement;
|
|
4269
|
-
paywithgoogle: typeof GooglePay;
|
|
4270
|
-
/** Wallets */
|
|
4271
|
-
/** Voucher */
|
|
4272
|
-
boletobancario: typeof BoletoElement;
|
|
4273
|
-
boletobancario_itau: typeof BoletoElement;
|
|
4274
|
-
boletobancario_santander: typeof BoletoElement;
|
|
4275
|
-
doku: typeof DokuElement;
|
|
4276
|
-
doku_alfamart: typeof DokuElement;
|
|
4277
|
-
doku_permata_lite_atm: typeof DokuElement;
|
|
4278
|
-
doku_indomaret: typeof DokuElement;
|
|
4279
|
-
doku_atm_mandiri_va: typeof DokuElement;
|
|
4280
|
-
doku_sinarmas_va: typeof DokuElement;
|
|
4281
|
-
doku_mandiri_va: typeof DokuElement;
|
|
4282
|
-
doku_cimb_va: typeof DokuElement;
|
|
4283
|
-
doku_danamon_va: typeof DokuElement;
|
|
4284
|
-
doku_bri_va: typeof DokuElement;
|
|
4285
|
-
doku_bni_va: typeof DokuElement;
|
|
4286
|
-
doku_bca_va: typeof DokuElement;
|
|
4287
|
-
doku_wallet: typeof DokuElement;
|
|
4288
|
-
oxxo: typeof OxxoElement;
|
|
4289
|
-
primeiropay_boleto: typeof BoletoElement;
|
|
4290
|
-
/** Voucher */
|
|
4291
|
-
/** issuerList */
|
|
4292
|
-
billdesk_online: typeof BillDeskOnlineElement;
|
|
4293
|
-
billdesk_wallet: typeof BillDeskWalletElement;
|
|
4294
|
-
dotpay: typeof DotpayElement;
|
|
4295
|
-
eps: typeof EPSElement;
|
|
4296
|
-
ideal: typeof IdealElement;
|
|
4297
|
-
molpay_ebanking_fpx_MY: typeof MolPayEBankingMYElement;
|
|
4298
|
-
molpay_ebanking_TH: typeof MolPayEBankingTHElement;
|
|
4299
|
-
molpay_ebanking_VN: typeof MolPayEbankingVNElement;
|
|
4300
|
-
onlineBanking_CZ: typeof OnlineBankingCZElement;
|
|
4301
|
-
onlinebanking_IN: typeof OnlineBankingINElement;
|
|
4302
|
-
onlineBanking_PL: typeof OnlineBankingPL;
|
|
4303
|
-
onlineBanking_SK: typeof OnlineBankingSKElement;
|
|
4304
|
-
paybybank: typeof PayByBank;
|
|
4305
|
-
payu_IN_cashcard: typeof PayuNetCashcardElement;
|
|
4306
|
-
payu_IN_nb: typeof PayuNetBankingElement;
|
|
4307
|
-
wallet_IN: typeof WalletINElement;
|
|
4308
|
-
/** issuerList */
|
|
4309
|
-
/** Dragonpay */
|
|
4310
|
-
dragonpay_ebanking: typeof DragonpayElement;
|
|
4311
|
-
dragonpay_otc_banking: typeof DragonpayElement;
|
|
4312
|
-
dragonpay_otc_non_banking: typeof DragonpayElement;
|
|
4313
|
-
dragonpay_otc_philippines: typeof DragonpayElement;
|
|
4314
|
-
/** Dragonpay */
|
|
4315
|
-
/** Econtext */
|
|
4316
|
-
econtext_atm: typeof EcontextElement;
|
|
4317
|
-
econtext_online: typeof EcontextElement;
|
|
4318
|
-
econtext_seven_eleven: typeof EcontextElement;
|
|
4319
|
-
econtext_stores: typeof EcontextElement;
|
|
4320
|
-
/** Econtext */
|
|
4321
|
-
/** Redirect */
|
|
4322
|
-
giropay: typeof GiropayElement;
|
|
4323
|
-
multibanco: typeof MultibancoElement;
|
|
4324
|
-
redirect: typeof RedirectElement;
|
|
4325
|
-
twint: typeof TwintElement;
|
|
4326
|
-
vipps: typeof VippsElement;
|
|
4327
|
-
trustly: typeof TrustlyElement;
|
|
4328
|
-
/** Redirect */
|
|
4329
|
-
/** Klarna */
|
|
4330
|
-
klarna: typeof KlarnaPayments;
|
|
4331
|
-
klarna_account: typeof KlarnaPayments;
|
|
4332
|
-
klarna_paynow: typeof KlarnaPayments;
|
|
4333
|
-
/** Klarna */
|
|
4334
|
-
/** QRLoader */
|
|
4335
|
-
bcmc_mobile: typeof BCMCMobileElement;
|
|
4336
|
-
bcmc_mobile_QR: typeof BCMCMobileElement;
|
|
4337
|
-
pix: typeof PixElement;
|
|
4338
|
-
swish: typeof SwishElement;
|
|
4339
|
-
wechatpay: typeof WeChatPayElement;
|
|
4340
|
-
wechatpayQR: typeof WeChatPayElement;
|
|
4341
|
-
promptpay: typeof PromptPayElement;
|
|
4342
|
-
paynow: typeof PayNowElement;
|
|
4343
|
-
duitnow: typeof DuitNowElement;
|
|
4344
|
-
/** QRLoader */
|
|
4345
|
-
/** Await */
|
|
4346
|
-
blik: typeof BlikElement;
|
|
4347
|
-
mbway: typeof MBWayElement;
|
|
4348
|
-
upi: typeof UPI;
|
|
4349
|
-
upi_qr: typeof UPI;
|
|
4350
|
-
upi_collect: typeof UPI;
|
|
4351
|
-
/** Await */
|
|
4352
|
-
/** Giftcard */
|
|
4353
|
-
giftcard: typeof GiftcardElement;
|
|
4354
|
-
mealVoucher_FR_natixis: typeof MealVoucherFRElement;
|
|
4355
|
-
mealVoucher_FR_sodexo: typeof MealVoucherFRElement;
|
|
4356
|
-
mealVoucher_FR_groupeup: typeof MealVoucherFRElement;
|
|
4357
|
-
};
|
|
4358
|
-
|
|
4359
|
-
/**
|
|
4360
|
-
* Available components
|
|
4361
|
-
*/
|
|
4362
|
-
type PaymentMethods = typeof ComponentsMap;
|
|
4363
|
-
/**
|
|
4364
|
-
* Options for a component
|
|
4365
|
-
*/
|
|
4366
|
-
type PaymentMethodOptions<P extends keyof PaymentMethods> = InstanceType<PaymentMethods[P]>['props'];
|
|
4367
|
-
type PaymentMethodsConfigurationMap = {
|
|
4368
|
-
[key in keyof PaymentMethods]?: Partial<PaymentMethodOptions<key>>;
|
|
4369
|
-
};
|
|
4370
|
-
type PaymentActionTypesMap = {
|
|
4371
|
-
[key in PaymentActionsType]?: Partial<UIElementProps>;
|
|
4372
|
-
};
|
|
4373
|
-
/**
|
|
4374
|
-
* Type must be loose, otherwise it will take priority over the rest
|
|
4375
|
-
*/
|
|
4376
|
-
type NonMappedPaymentMethodsMap = {
|
|
4377
|
-
[key: string]: any;
|
|
4378
|
-
};
|
|
4379
|
-
type PaymentMethodsConfiguration = PaymentMethodsConfigurationMap & PaymentActionTypesMap & NonMappedPaymentMethodsMap;
|
|
4380
|
-
type InstantPaymentTypes = 'paywithgoogle' | 'googlepay' | 'applepay';
|
|
4381
|
-
interface DropinConfiguration extends UIElementProps {
|
|
4382
|
-
/**
|
|
4383
|
-
* Configure each payment method displayed on the Drop-in
|
|
4384
|
-
*/
|
|
4385
|
-
paymentMethodsConfiguration?: PaymentMethodsConfiguration;
|
|
4386
|
-
/**
|
|
4387
|
-
* Pass the payment method classes that are going to be used as part of the Drop-in.
|
|
4388
|
-
*/
|
|
4389
|
-
paymentMethodComponents?: NewableComponent[];
|
|
4390
|
-
order?: Order;
|
|
4391
|
-
/**
|
|
4392
|
-
* Show/Hide stored payment methods
|
|
4393
|
-
* @defaultValue true
|
|
4394
|
-
*/
|
|
4395
|
-
showStoredPaymentMethods?: boolean;
|
|
4396
|
-
/**
|
|
4397
|
-
* Disable the final animation when the payment is successful or if it fails.
|
|
4398
|
-
* @defaultValue false
|
|
4399
|
-
*/
|
|
4400
|
-
disableFinalAnimation?: boolean;
|
|
4401
|
-
/**
|
|
4402
|
-
* Show/Hide regular (non-stored) payment methods
|
|
4403
|
-
* @defaultValue true
|
|
4404
|
-
*/
|
|
4405
|
-
showPaymentMethods?: boolean;
|
|
4406
|
-
/**
|
|
4407
|
-
* Show wallet payment methods to show on top of the regular payment
|
|
4408
|
-
* method list.
|
|
4409
|
-
*
|
|
4410
|
-
* @defaultValue []
|
|
4411
|
-
*/
|
|
4412
|
-
instantPaymentTypes?: InstantPaymentTypes[];
|
|
4413
|
-
openFirstStoredPaymentMethod?: boolean;
|
|
4414
|
-
openFirstPaymentMethod?: boolean;
|
|
4415
|
-
onSubmit?: (data: any, component: any) => void;
|
|
4416
|
-
onReady?: () => void;
|
|
4417
|
-
onSelect?: (paymentMethod: UIElement) => void;
|
|
4418
|
-
/**
|
|
4419
|
-
* Show/Hide the remove payment method button on stored payment methods
|
|
4420
|
-
* Requires {@link DropinConfiguration.onDisableStoredPaymentMethod}
|
|
4421
|
-
* @defaultValue false
|
|
4422
|
-
*/
|
|
4423
|
-
showRemovePaymentMethodButton?: boolean;
|
|
4424
|
-
/**
|
|
4425
|
-
* Show/Hide the radio in the payment method list
|
|
4426
|
-
* @defaultValue false
|
|
4427
|
-
*/
|
|
4428
|
-
showRadioButton?: boolean;
|
|
4429
|
-
/**
|
|
4430
|
-
* Called when a shopper clicks Remove on a stored payment method
|
|
4431
|
-
* Use this to call the {@link https://docs.adyen.com/api-explorer/#/Recurring/v49/post/disable /disable endpoint}
|
|
4432
|
-
* Call resolve() if the removal was successful, or call reject() if there was an error
|
|
4433
|
-
* @defaultValue false
|
|
4434
|
-
*/
|
|
4435
|
-
onDisableStoredPaymentMethod?: (storedPaymentMethod: any, resolve: any, reject: any) => void;
|
|
4406
|
+
type ResultValue = 'Y' | 'N' | 'U' | 'A' | 'C' | 'R';
|
|
4407
|
+
interface CReqData {
|
|
4408
|
+
acsTransID: string;
|
|
4409
|
+
messageVersion: string;
|
|
4410
|
+
threeDSServerTransID: string;
|
|
4411
|
+
messageType: string;
|
|
4412
|
+
challengeWindowSize: string;
|
|
4436
4413
|
}
|
|
4437
|
-
interface
|
|
4438
|
-
|
|
4439
|
-
|
|
4440
|
-
|
|
4441
|
-
|
|
4414
|
+
interface ChallengeData {
|
|
4415
|
+
acsURL: string;
|
|
4416
|
+
cReqData: CReqData;
|
|
4417
|
+
iframeSizeArr: string[];
|
|
4418
|
+
postMessageDomain: string;
|
|
4442
4419
|
}
|
|
4443
|
-
|
|
4444
|
-
|
|
4445
|
-
|
|
4446
|
-
|
|
4447
|
-
|
|
4448
|
-
}) => void;
|
|
4449
|
-
interface DropinComponentProps extends DropinConfiguration {
|
|
4450
|
-
core: ICore;
|
|
4451
|
-
onCreateElements: any;
|
|
4452
|
-
onChange: (newState?: object) => void;
|
|
4453
|
-
onOrderCancel?: onOrderCancelType;
|
|
4420
|
+
interface ResultObject {
|
|
4421
|
+
threeDSCompInd?: ResultValue;
|
|
4422
|
+
transStatus?: ResultValue;
|
|
4423
|
+
errorCode?: string;
|
|
4424
|
+
errorDescription?: string;
|
|
4454
4425
|
}
|
|
4455
|
-
interface
|
|
4456
|
-
|
|
4457
|
-
|
|
4426
|
+
interface ThreeDS2FlowObject {
|
|
4427
|
+
result: ResultObject;
|
|
4428
|
+
type: 'ChallengeShopper' | 'IdentifyShopper' | 'challengeResult' | 'fingerPrintResult';
|
|
4429
|
+
errorCode?: string;
|
|
4430
|
+
threeDSServerTransID?: string;
|
|
4458
4431
|
}
|
|
4459
|
-
interface
|
|
4460
|
-
|
|
4432
|
+
interface PostMsgParseErrorObject {
|
|
4433
|
+
type?: string;
|
|
4434
|
+
comment?: string;
|
|
4435
|
+
extraInfo?: string;
|
|
4436
|
+
eventDataRaw?: string;
|
|
4461
4437
|
}
|
|
4462
|
-
interface
|
|
4463
|
-
|
|
4464
|
-
|
|
4465
|
-
|
|
4466
|
-
|
|
4467
|
-
|
|
4468
|
-
|
|
4469
|
-
|
|
4470
|
-
orderStatus: OrderStatus;
|
|
4438
|
+
interface ThreeDS2Token {
|
|
4439
|
+
acsTransID?: string;
|
|
4440
|
+
acsURL?: string;
|
|
4441
|
+
messageVersion?: string;
|
|
4442
|
+
threeDSNotificationURL?: string;
|
|
4443
|
+
threeDSServerTransID?: string;
|
|
4444
|
+
threeDSMethodNotificationURL?: string;
|
|
4445
|
+
threeDSMethodUrl?: string;
|
|
4471
4446
|
}
|
|
4472
|
-
interface
|
|
4473
|
-
|
|
4474
|
-
|
|
4475
|
-
|
|
4476
|
-
|
|
4477
|
-
* @param type - animation type
|
|
4478
|
-
*/
|
|
4479
|
-
displayFinalAnimation(type: 'success' | 'error'): void;
|
|
4480
|
-
activePaymentMethod: () => null;
|
|
4481
|
-
closeActivePaymentMethod: () => void;
|
|
4447
|
+
interface FingerPrintData {
|
|
4448
|
+
threeDSServerTransID: string;
|
|
4449
|
+
threeDSMethodURL: string;
|
|
4450
|
+
threeDSMethodNotificationURL: string;
|
|
4451
|
+
postMessageDomain: string;
|
|
4482
4452
|
}
|
|
4483
|
-
|
|
4484
|
-
|
|
4485
|
-
|
|
4486
|
-
|
|
4487
|
-
|
|
4488
|
-
|
|
4489
|
-
|
|
4490
|
-
|
|
4491
|
-
|
|
4492
|
-
|
|
4493
|
-
|
|
4494
|
-
|
|
4495
|
-
|
|
4496
|
-
|
|
4453
|
+
type ThreeDS2FingerprintResponse = {
|
|
4454
|
+
type: 'action' | 'completed';
|
|
4455
|
+
action?: CheckoutRedirectAction | CheckoutThreeDS2Action;
|
|
4456
|
+
details?: Record<string, string>;
|
|
4457
|
+
};
|
|
4458
|
+
type CheckoutRedirectAction = {
|
|
4459
|
+
type: 'redirect';
|
|
4460
|
+
data: Record<string, string>;
|
|
4461
|
+
method: string;
|
|
4462
|
+
paymentData: string;
|
|
4463
|
+
};
|
|
4464
|
+
type CheckoutThreeDS2Action = {
|
|
4465
|
+
type: 'threeDS2';
|
|
4466
|
+
token: string;
|
|
4467
|
+
subtype: string;
|
|
4468
|
+
authorisationToken: string;
|
|
4469
|
+
};
|
|
4470
|
+
interface FingerprintResolveData {
|
|
4471
|
+
data: {
|
|
4472
|
+
[key: string]: string;
|
|
4473
|
+
paymentData: string;
|
|
4474
|
+
};
|
|
4497
4475
|
}
|
|
4498
|
-
|
|
4499
|
-
|
|
4500
|
-
|
|
4501
|
-
|
|
4502
|
-
|
|
4503
|
-
*/
|
|
4504
|
-
environment?: AdyenEnvironment;
|
|
4505
|
-
/**
|
|
4506
|
-
* Used internally by Pay By Link in order to set its own URL's instead of using the ones mapped in our codebase.
|
|
4507
|
-
*
|
|
4508
|
-
* @internal
|
|
4509
|
-
*/
|
|
4510
|
-
environmentUrls?: {
|
|
4511
|
-
api?: string;
|
|
4512
|
-
analytics?: string;
|
|
4476
|
+
interface ChallengeResolveData {
|
|
4477
|
+
data: {
|
|
4478
|
+
details: {
|
|
4479
|
+
[key: string]: string;
|
|
4480
|
+
};
|
|
4513
4481
|
};
|
|
4482
|
+
}
|
|
4483
|
+
interface ErrorCodeObject {
|
|
4484
|
+
errorCode: string | Analytics3DS2Errors;
|
|
4485
|
+
message: string;
|
|
4486
|
+
}
|
|
4487
|
+
|
|
4488
|
+
declare class Riverty extends OpenInvoiceContainer {
|
|
4489
|
+
static readonly type = TxVariants.riverty;
|
|
4490
|
+
protected static defaultProps: {
|
|
4491
|
+
consentCheckboxLabel?: h.JSX.Element;
|
|
4492
|
+
billingAddressRequiredFields?: string[];
|
|
4493
|
+
billingAddressSpecification?: AddressSpecifications;
|
|
4494
|
+
allowedCountries?: string[];
|
|
4495
|
+
countryCode?: string;
|
|
4496
|
+
data?: {
|
|
4497
|
+
companyDetails?: CompanyDetailsSchema;
|
|
4498
|
+
personalDetails?: PersonalDetailsSchema;
|
|
4499
|
+
billingAddress?: AddressData;
|
|
4500
|
+
deliveryAddress?: AddressData;
|
|
4501
|
+
bankAccount?: BankDetailsSchema;
|
|
4502
|
+
};
|
|
4503
|
+
onChange?: (state: any, element?: UIElement<UIElementProps>) => void;
|
|
4504
|
+
payButton?: any;
|
|
4505
|
+
visibility?: OpenInvoiceVisibility;
|
|
4506
|
+
personalDetailsRequiredFields: string[];
|
|
4507
|
+
deliveryAddressRequiredFields?: string[];
|
|
4508
|
+
deliveryAddressSpecification: AddressSpecifications;
|
|
4509
|
+
setComponentRef?: (ref: any) => void;
|
|
4510
|
+
showFormInstruction?: boolean;
|
|
4511
|
+
order?: Order;
|
|
4512
|
+
modules?: {
|
|
4513
|
+
srPanel?: SRPanel;
|
|
4514
|
+
analytics?: AnalyticsModule;
|
|
4515
|
+
resources?: Resources;
|
|
4516
|
+
risk?: RiskElement;
|
|
4517
|
+
};
|
|
4518
|
+
isDropin?: boolean;
|
|
4519
|
+
beforeRedirect?: (resolve: () => void, reject: () => void, redirectData: {
|
|
4520
|
+
url: string;
|
|
4521
|
+
method: string;
|
|
4522
|
+
data?: any;
|
|
4523
|
+
}) => void;
|
|
4524
|
+
beforeSubmit?: (state: any, element: UIElement<UIElementProps>, actions: {
|
|
4525
|
+
resolve: (data: any) => void;
|
|
4526
|
+
reject: () => void;
|
|
4527
|
+
}) => void;
|
|
4528
|
+
onSubmit?: (state: any, element: UIElement<UIElementProps>, actions: {
|
|
4529
|
+
resolve: (response: CheckoutAdvancedFlowResponse) => void;
|
|
4530
|
+
reject: (error?: Pick<CheckoutAdvancedFlowResponse, "error">) => void;
|
|
4531
|
+
}) => void;
|
|
4532
|
+
onAdditionalDetails?: (state: AdditionalDetailsStateData, element: UIElement<UIElementProps>, actions: {
|
|
4533
|
+
resolve: (response: CheckoutAdvancedFlowResponse) => void;
|
|
4534
|
+
reject: () => void;
|
|
4535
|
+
}) => void;
|
|
4536
|
+
onPaymentFailed?: (data?: SessionsResponse | {
|
|
4537
|
+
resultCode: ResultCode;
|
|
4538
|
+
}, element?: UIElement<UIElementProps>) => void;
|
|
4539
|
+
onPaymentCompleted?: (data: SessionsResponse | {
|
|
4540
|
+
resultCode: ResultCode;
|
|
4541
|
+
donationToken?: string;
|
|
4542
|
+
}, element?: UIElement<UIElementProps>) => void;
|
|
4543
|
+
onOrderUpdated?: (data: {
|
|
4544
|
+
order: Order;
|
|
4545
|
+
}) => void;
|
|
4546
|
+
onPaymentMethodsRequest?: (data: PaymentMethodsRequestData, actions: {
|
|
4547
|
+
resolve: (response: PaymentMethodsResponse) => void;
|
|
4548
|
+
reject: () => void;
|
|
4549
|
+
}) => void;
|
|
4550
|
+
onActionHandled?: (data: ActionHandledReturnObject) => void;
|
|
4551
|
+
onError?: (error: AdyenCheckoutError, element?: UIElement<UIElementProps>) => void;
|
|
4552
|
+
environment?: string;
|
|
4553
|
+
session?: Session;
|
|
4554
|
+
onComplete?: (state: any, element: UIElement<UIElementProps>) => void;
|
|
4555
|
+
isInstantPayment?: boolean;
|
|
4556
|
+
isStoredPaymentMethod?: boolean;
|
|
4557
|
+
oneClick?: boolean;
|
|
4558
|
+
storedPaymentMethodId?: string;
|
|
4559
|
+
statusType?: "redirect" | "custom" | "loading";
|
|
4560
|
+
type?: string;
|
|
4561
|
+
name?: string;
|
|
4562
|
+
icon?: string;
|
|
4563
|
+
amount?: PaymentAmount;
|
|
4564
|
+
secondaryAmount?: PaymentAmountExtended;
|
|
4565
|
+
showPayButton?: boolean;
|
|
4566
|
+
loadingContext?: string;
|
|
4567
|
+
createFromAction?: (action: PaymentAction, props: object) => UIElement<UIElementProps>;
|
|
4568
|
+
clientKey?: string;
|
|
4569
|
+
elementRef?: any;
|
|
4570
|
+
i18n?: Language;
|
|
4571
|
+
label?: string;
|
|
4572
|
+
paymentMethodType?: string;
|
|
4573
|
+
};
|
|
4574
|
+
formatProps(props: OpenInvoiceConfiguration): any;
|
|
4575
|
+
}
|
|
4576
|
+
|
|
4577
|
+
/** Components */
|
|
4578
|
+
|
|
4579
|
+
/**
|
|
4580
|
+
* Maps each tx variant to a Component element.
|
|
4581
|
+
*
|
|
4582
|
+
* WARNING: This mapping must be imported carefully as it breaks the tree-shaking. It is now used in:
|
|
4583
|
+
* - The utility function 'createComponent' for UMD bundle (UMD bundle does not have tree-shaking, so this use-case is fine)
|
|
4584
|
+
* - Generating Drop-in Typescript types (Typescript types do not break tree-shaking)
|
|
4585
|
+
*/
|
|
4586
|
+
declare const ComponentsMap: {
|
|
4587
|
+
/** internal */
|
|
4588
|
+
address: typeof AddressElement;
|
|
4589
|
+
bankTransfer_IBAN: typeof BankTransferElement;
|
|
4590
|
+
donation: typeof DonationElement;
|
|
4591
|
+
personal_details: typeof PersonalDetailsElement;
|
|
4592
|
+
/** internal */
|
|
4593
|
+
/** Card */
|
|
4594
|
+
bcmc: typeof BancontactElement;
|
|
4595
|
+
card: typeof CardElement;
|
|
4596
|
+
scheme: typeof CardElement;
|
|
4597
|
+
storedCard: typeof CardElement;
|
|
4598
|
+
customcard: typeof CustomCard;
|
|
4599
|
+
/** Card */
|
|
4600
|
+
/** Direct debit */
|
|
4601
|
+
ach: typeof AchElement;
|
|
4602
|
+
directdebit_GB: typeof BacsElement;
|
|
4603
|
+
sepadirectdebit: typeof SepaElement;
|
|
4604
|
+
/** Direct debit */
|
|
4605
|
+
/** Open Invoice */
|
|
4606
|
+
affirm: typeof Affirm;
|
|
4607
|
+
afterpay: typeof AfterPay;
|
|
4608
|
+
afterpay_default: typeof AfterPay;
|
|
4609
|
+
afterpay_b2b: typeof AfterPayB2B;
|
|
4610
|
+
atome: typeof Atome;
|
|
4611
|
+
facilypay_3x: typeof FacilyPay3x;
|
|
4612
|
+
facilypay_4x: typeof FacilyPay4x;
|
|
4613
|
+
facilypay_6x: typeof FacilyPay6x;
|
|
4614
|
+
facilypay_10x: typeof FacilyPay10x;
|
|
4615
|
+
facilypay_12x: typeof FacilyPay12x;
|
|
4616
|
+
ratepay: typeof RatePay;
|
|
4617
|
+
ratepay_directdebit: typeof RatePayDirectDebit;
|
|
4618
|
+
riverty: typeof Riverty;
|
|
4619
|
+
/** Open Invoice */
|
|
4620
|
+
/** Wallets */
|
|
4621
|
+
amazonpay: typeof AmazonPayElement;
|
|
4622
|
+
applepay: typeof ApplePayElement;
|
|
4623
|
+
cashapp: typeof CashAppPay;
|
|
4624
|
+
clicktopay: typeof ClickToPayElement;
|
|
4625
|
+
googlepay: typeof GooglePay;
|
|
4626
|
+
paypal: typeof PaypalElement;
|
|
4627
|
+
paywithgoogle: typeof GooglePay;
|
|
4628
|
+
/** Wallets */
|
|
4629
|
+
/** Voucher */
|
|
4630
|
+
boletobancario: typeof BoletoElement;
|
|
4631
|
+
boletobancario_itau: typeof BoletoElement;
|
|
4632
|
+
boletobancario_santander: typeof BoletoElement;
|
|
4633
|
+
doku: typeof DokuElement;
|
|
4634
|
+
doku_alfamart: typeof DokuElement;
|
|
4635
|
+
doku_permata_lite_atm: typeof DokuElement;
|
|
4636
|
+
doku_indomaret: typeof DokuElement;
|
|
4637
|
+
doku_atm_mandiri_va: typeof DokuElement;
|
|
4638
|
+
doku_sinarmas_va: typeof DokuElement;
|
|
4639
|
+
doku_mandiri_va: typeof DokuElement;
|
|
4640
|
+
doku_cimb_va: typeof DokuElement;
|
|
4641
|
+
doku_danamon_va: typeof DokuElement;
|
|
4642
|
+
doku_bri_va: typeof DokuElement;
|
|
4643
|
+
doku_bni_va: typeof DokuElement;
|
|
4644
|
+
doku_bca_va: typeof DokuElement;
|
|
4645
|
+
doku_wallet: typeof DokuElement;
|
|
4646
|
+
oxxo: typeof OxxoElement;
|
|
4647
|
+
primeiropay_boleto: typeof BoletoElement;
|
|
4648
|
+
/** Voucher */
|
|
4649
|
+
/** issuerList */
|
|
4650
|
+
billdesk_online: typeof BillDeskOnlineElement;
|
|
4651
|
+
billdesk_wallet: typeof BillDeskWalletElement;
|
|
4652
|
+
dotpay: typeof DotpayElement;
|
|
4653
|
+
eps: typeof EPSElement;
|
|
4654
|
+
ideal: typeof IdealElement;
|
|
4655
|
+
molpay_ebanking_fpx_MY: typeof MolPayEBankingMYElement;
|
|
4656
|
+
molpay_ebanking_TH: typeof MolPayEBankingTHElement;
|
|
4657
|
+
molpay_ebanking_VN: typeof MolPayEbankingVNElement;
|
|
4658
|
+
onlineBanking_CZ: typeof OnlineBankingCZElement;
|
|
4659
|
+
onlinebanking_IN: typeof OnlineBankingINElement;
|
|
4660
|
+
onlineBanking_PL: typeof OnlineBankingPL;
|
|
4661
|
+
onlineBanking_SK: typeof OnlineBankingSKElement;
|
|
4662
|
+
paybybank: typeof PayByBank;
|
|
4663
|
+
payu_IN_cashcard: typeof PayuNetCashcardElement;
|
|
4664
|
+
payu_IN_nb: typeof PayuNetBankingElement;
|
|
4665
|
+
wallet_IN: typeof WalletINElement;
|
|
4666
|
+
/** issuerList */
|
|
4667
|
+
/** Dragonpay */
|
|
4668
|
+
dragonpay_ebanking: typeof DragonpayElement;
|
|
4669
|
+
dragonpay_otc_banking: typeof DragonpayElement;
|
|
4670
|
+
dragonpay_otc_non_banking: typeof DragonpayElement;
|
|
4671
|
+
dragonpay_otc_philippines: typeof DragonpayElement;
|
|
4672
|
+
/** Dragonpay */
|
|
4673
|
+
/** Econtext */
|
|
4674
|
+
econtext_atm: typeof EcontextElement;
|
|
4675
|
+
econtext_online: typeof EcontextElement;
|
|
4676
|
+
econtext_seven_eleven: typeof EcontextElement;
|
|
4677
|
+
econtext_stores: typeof EcontextElement;
|
|
4678
|
+
/** Econtext */
|
|
4679
|
+
/** Redirect */
|
|
4680
|
+
giropay: typeof GiropayElement;
|
|
4681
|
+
multibanco: typeof MultibancoElement;
|
|
4682
|
+
redirect: typeof RedirectElement;
|
|
4683
|
+
twint: typeof TwintElement;
|
|
4684
|
+
vipps: typeof VippsElement;
|
|
4685
|
+
trustly: typeof TrustlyElement;
|
|
4686
|
+
/** Redirect */
|
|
4687
|
+
/** Klarna */
|
|
4688
|
+
klarna: typeof KlarnaPayments;
|
|
4689
|
+
klarna_account: typeof KlarnaPayments;
|
|
4690
|
+
klarna_paynow: typeof KlarnaPayments;
|
|
4691
|
+
/** Klarna */
|
|
4692
|
+
/** QRLoader */
|
|
4693
|
+
bcmc_mobile: typeof BCMCMobileElement;
|
|
4694
|
+
bcmc_mobile_QR: typeof BCMCMobileElement;
|
|
4695
|
+
pix: typeof PixElement;
|
|
4696
|
+
swish: typeof SwishElement;
|
|
4697
|
+
wechatpay: typeof WeChatPayElement;
|
|
4698
|
+
wechatpayQR: typeof WeChatPayElement;
|
|
4699
|
+
promptpay: typeof PromptPayElement;
|
|
4700
|
+
paynow: typeof PayNowElement;
|
|
4701
|
+
duitnow: typeof DuitNowElement;
|
|
4702
|
+
/** QRLoader */
|
|
4703
|
+
/** Await */
|
|
4704
|
+
blik: typeof BlikElement;
|
|
4705
|
+
mbway: typeof MBWayElement;
|
|
4706
|
+
upi: typeof UPI;
|
|
4707
|
+
upi_qr: typeof UPI;
|
|
4708
|
+
upi_collect: typeof UPI;
|
|
4709
|
+
/** Await */
|
|
4710
|
+
/** Giftcard */
|
|
4711
|
+
giftcard: typeof GiftcardElement;
|
|
4712
|
+
mealVoucher_FR_natixis: typeof MealVoucherFRElement;
|
|
4713
|
+
mealVoucher_FR_sodexo: typeof MealVoucherFRElement;
|
|
4714
|
+
mealVoucher_FR_groupeup: typeof MealVoucherFRElement;
|
|
4715
|
+
};
|
|
4716
|
+
|
|
4717
|
+
/**
|
|
4718
|
+
* Available components
|
|
4719
|
+
*/
|
|
4720
|
+
type PaymentMethods = typeof ComponentsMap;
|
|
4721
|
+
/**
|
|
4722
|
+
* Options for a component
|
|
4723
|
+
*/
|
|
4724
|
+
type PaymentMethodOptions<P extends keyof PaymentMethods> = InstanceType<PaymentMethods[P]>['props'];
|
|
4725
|
+
type PaymentMethodsConfigurationMap = {
|
|
4726
|
+
[key in keyof PaymentMethods]?: Partial<PaymentMethodOptions<key>>;
|
|
4727
|
+
};
|
|
4728
|
+
type PaymentActionTypesMap = {
|
|
4729
|
+
[key in PaymentActionsType]?: Partial<UIElementProps>;
|
|
4730
|
+
};
|
|
4731
|
+
/**
|
|
4732
|
+
* Type must be loose, otherwise it will take priority over the rest
|
|
4733
|
+
*/
|
|
4734
|
+
type NonMappedPaymentMethodsMap = {
|
|
4735
|
+
[key: string]: any;
|
|
4736
|
+
};
|
|
4737
|
+
type PaymentMethodsConfiguration = PaymentMethodsConfigurationMap & PaymentActionTypesMap & NonMappedPaymentMethodsMap;
|
|
4738
|
+
type InstantPaymentTypes = 'paywithgoogle' | 'googlepay' | 'applepay';
|
|
4739
|
+
interface DropinConfiguration extends UIElementProps {
|
|
4514
4740
|
/**
|
|
4515
|
-
*
|
|
4516
|
-
*/
|
|
4517
|
-
showPayButton?: boolean;
|
|
4518
|
-
/**
|
|
4519
|
-
* A public key linked to your web service user, used for {@link https://docs.adyen.com/user-management/client-side-authentication | client-side authentication}.
|
|
4520
|
-
*/
|
|
4521
|
-
clientKey?: string;
|
|
4522
|
-
/**
|
|
4523
|
-
* The shopper's locale. This is used to set the language rendered in the UI.
|
|
4524
|
-
* For a list of supported locales, see {@link https://docs.adyen.com/checkout/components-web/localization-components | Localization}.
|
|
4525
|
-
* For adding a custom locale, see {@link https://docs.adyen.com/checkout/components-web/localization-components#create-localization | Create localization}.*
|
|
4526
|
-
*/
|
|
4527
|
-
locale?: string;
|
|
4528
|
-
/**
|
|
4529
|
-
* Translation file which contains the translations to a certain locale.
|
|
4530
|
-
* @default en_US
|
|
4531
|
-
*/
|
|
4532
|
-
translationFile?: Translation;
|
|
4533
|
-
/**
|
|
4534
|
-
* Custom translations and localizations
|
|
4535
|
-
* See {@link https://docs.adyen.com/checkout/components-web/localization-components | Localizing Components}
|
|
4536
|
-
*/
|
|
4537
|
-
translations?: CustomTranslations;
|
|
4538
|
-
/**
|
|
4539
|
-
* The full `/paymentMethods` response
|
|
4540
|
-
*/
|
|
4541
|
-
paymentMethodsResponse?: PaymentMethodsResponse;
|
|
4542
|
-
/**
|
|
4543
|
-
* Amount of the payment
|
|
4544
|
-
*/
|
|
4545
|
-
amount?: PaymentAmountExtended;
|
|
4546
|
-
/**
|
|
4547
|
-
* Secondary amount of the payment - alternative currency & value converted according to rate
|
|
4548
|
-
*/
|
|
4549
|
-
secondaryAmount?: PaymentAmountExtended;
|
|
4550
|
-
/**
|
|
4551
|
-
* The shopper's country code. A valid value is an ISO two-character country code (e.g. 'NL').
|
|
4741
|
+
* Configure each payment method displayed on the Drop-in
|
|
4552
4742
|
*/
|
|
4553
|
-
|
|
4743
|
+
paymentMethodsConfiguration?: PaymentMethodsConfiguration;
|
|
4554
4744
|
/**
|
|
4555
|
-
*
|
|
4745
|
+
* Pass the payment method classes that are going to be used as part of the Drop-in.
|
|
4556
4746
|
*/
|
|
4557
|
-
|
|
4747
|
+
paymentMethodComponents?: NewableComponent[];
|
|
4748
|
+
order?: Order;
|
|
4558
4749
|
/**
|
|
4559
|
-
*
|
|
4750
|
+
* Show/Hide stored payment methods
|
|
4751
|
+
* @defaultValue true
|
|
4560
4752
|
*/
|
|
4561
|
-
|
|
4753
|
+
showStoredPaymentMethods?: boolean;
|
|
4562
4754
|
/**
|
|
4563
|
-
*
|
|
4755
|
+
* Disable the final animation when the payment is successful or if it fails.
|
|
4756
|
+
* @defaultValue false
|
|
4564
4757
|
*/
|
|
4565
|
-
|
|
4758
|
+
disableFinalAnimation?: boolean;
|
|
4566
4759
|
/**
|
|
4567
|
-
*
|
|
4760
|
+
* Show/Hide regular (non-stored) payment methods
|
|
4761
|
+
* @defaultValue true
|
|
4568
4762
|
*/
|
|
4569
|
-
|
|
4570
|
-
resourceEnvironment?: string;
|
|
4571
|
-
analytics?: AnalyticsOptions;
|
|
4572
|
-
risk?: RiskModuleOptions;
|
|
4573
|
-
order?: Order;
|
|
4763
|
+
showPaymentMethods?: boolean;
|
|
4574
4764
|
/**
|
|
4575
|
-
*
|
|
4576
|
-
*
|
|
4765
|
+
* Show wallet payment methods to show on top of the regular payment
|
|
4766
|
+
* method list.
|
|
4577
4767
|
*
|
|
4578
|
-
* @
|
|
4768
|
+
* @defaultValue []
|
|
4579
4769
|
*/
|
|
4580
|
-
|
|
4581
|
-
|
|
4582
|
-
|
|
4583
|
-
|
|
4584
|
-
|
|
4585
|
-
|
|
4586
|
-
beforeSubmit?(state: any, element: UIElement, actions: {
|
|
4587
|
-
resolve: (data: any) => void;
|
|
4588
|
-
reject: () => void;
|
|
4589
|
-
}): void;
|
|
4770
|
+
instantPaymentTypes?: InstantPaymentTypes[];
|
|
4771
|
+
openFirstStoredPaymentMethod?: boolean;
|
|
4772
|
+
openFirstPaymentMethod?: boolean;
|
|
4773
|
+
onSubmit?: (data: any, component: any) => void;
|
|
4774
|
+
onReady?: () => void;
|
|
4775
|
+
onSelect?: (paymentMethod: UIElement) => void;
|
|
4590
4776
|
/**
|
|
4591
|
-
*
|
|
4592
|
-
*
|
|
4593
|
-
*
|
|
4594
|
-
*
|
|
4595
|
-
* @param data
|
|
4596
|
-
* @param element
|
|
4777
|
+
* Show/Hide the remove payment method button on stored payment methods
|
|
4778
|
+
* Requires {@link DropinConfiguration.onDisableStoredPaymentMethod}
|
|
4779
|
+
* @defaultValue false
|
|
4597
4780
|
*/
|
|
4598
|
-
|
|
4599
|
-
resultCode: ResultCode;
|
|
4600
|
-
donationToken?: string;
|
|
4601
|
-
}, element?: UIElement): void;
|
|
4781
|
+
showRemovePaymentMethodButton?: boolean;
|
|
4602
4782
|
/**
|
|
4603
|
-
*
|
|
4604
|
-
*
|
|
4605
|
-
* The first parameter is populated when merchant is using sessions, or when the payment was rejected
|
|
4606
|
-
* with an object. (Ex: 'action.reject(obj)' ). Otherwise, it will be empty.
|
|
4607
|
-
*
|
|
4608
|
-
* @param data - session response or resultCode. It can also be undefined if payment was rejected without argument ('action.reject()')
|
|
4609
|
-
* @param element
|
|
4783
|
+
* Show/Hide the radio in the payment method list
|
|
4784
|
+
* @defaultValue false
|
|
4610
4785
|
*/
|
|
4611
|
-
|
|
4612
|
-
resultCode: ResultCode;
|
|
4613
|
-
}, element?: UIElement): void;
|
|
4614
|
-
onSubmit?(state: any, element: UIElement, actions: {
|
|
4615
|
-
resolve: (response: CheckoutAdvancedFlowResponse) => void;
|
|
4616
|
-
reject: (error?: Pick<CheckoutAdvancedFlowResponse, 'error'>) => void;
|
|
4617
|
-
}): void;
|
|
4786
|
+
showRadioButton?: boolean;
|
|
4618
4787
|
/**
|
|
4619
|
-
*
|
|
4620
|
-
*
|
|
4621
|
-
*
|
|
4622
|
-
* @
|
|
4623
|
-
* @param actions
|
|
4788
|
+
* Called when a shopper clicks Remove on a stored payment method
|
|
4789
|
+
* Use this to call the {@link https://docs.adyen.com/api-explorer/#/Recurring/v49/post/disable /disable endpoint}
|
|
4790
|
+
* Call resolve() if the removal was successful, or call reject() if there was an error
|
|
4791
|
+
* @defaultValue false
|
|
4624
4792
|
*/
|
|
4625
|
-
|
|
4626
|
-
|
|
4627
|
-
|
|
4628
|
-
|
|
4629
|
-
|
|
4630
|
-
|
|
4631
|
-
|
|
4632
|
-
|
|
4633
|
-
|
|
4634
|
-
|
|
4635
|
-
|
|
4636
|
-
|
|
4637
|
-
|
|
4793
|
+
onDisableStoredPaymentMethod?: (storedPaymentMethod: any, resolve: any, reject: any) => void;
|
|
4794
|
+
}
|
|
4795
|
+
interface onOrderCancelData {
|
|
4796
|
+
order: {
|
|
4797
|
+
orderData: string;
|
|
4798
|
+
pspReference: string;
|
|
4799
|
+
};
|
|
4800
|
+
}
|
|
4801
|
+
type onOrderCancelType = (data: onOrderCancelData, actions: {
|
|
4802
|
+
resolve: (data: {
|
|
4803
|
+
amount: PaymentAmount;
|
|
4804
|
+
}) => void;
|
|
4805
|
+
reject: (error: string) => void;
|
|
4806
|
+
}) => void;
|
|
4807
|
+
interface DropinComponentProps extends DropinConfiguration {
|
|
4808
|
+
core: ICore;
|
|
4809
|
+
onCreateElements: any;
|
|
4810
|
+
onChange: (newState?: object) => void;
|
|
4638
4811
|
onOrderCancel?: onOrderCancelType;
|
|
4639
|
-
/**
|
|
4640
|
-
* Called when the gift card balance is less than the transaction amount.
|
|
4641
|
-
* Returns an Order object that includes the remaining amount to be paid.
|
|
4642
|
-
* https://docs.adyen.com/payment-methods/gift-cards/web-component?tab=config-sessions_1
|
|
4643
|
-
*/
|
|
4644
|
-
onOrderUpdated?(data: {
|
|
4645
|
-
order: Order;
|
|
4646
|
-
}): void;
|
|
4647
|
-
/**
|
|
4648
|
-
* @internal
|
|
4649
|
-
*/
|
|
4650
|
-
loadingContext?: string;
|
|
4651
4812
|
}
|
|
4652
|
-
|
|
4653
|
-
|
|
4654
|
-
|
|
4655
|
-
props: P;
|
|
4656
|
-
state: any;
|
|
4657
|
-
_component: any;
|
|
4658
|
-
protected _node: HTMLElement;
|
|
4659
|
-
protected readonly core: ICore;
|
|
4660
|
-
protected static defaultProps: {};
|
|
4661
|
-
constructor(checkout: ICore, props?: P);
|
|
4662
|
-
protected buildElementProps(componentProps?: P): void;
|
|
4663
|
-
/**
|
|
4664
|
-
* Executed during creation of any payment element.
|
|
4665
|
-
* Gives a chance to any paymentMethod to format the props we're receiving.
|
|
4666
|
-
*/
|
|
4667
|
-
protected formatProps(props: P): P;
|
|
4668
|
-
/**
|
|
4669
|
-
* Executed on the `data` getter.
|
|
4670
|
-
* Returns the component data necessary for the /payments request
|
|
4671
|
-
*
|
|
4672
|
-
* TODO: Replace 'any' by type PaymentMethodData<T> - this change requires updating all payment methods,
|
|
4673
|
-
* properly adding the type of the formatData function
|
|
4674
|
-
*/
|
|
4675
|
-
protected formatData(): any;
|
|
4676
|
-
protected setUpAnalytics(setUpAnalyticsObj: AnalyticsInitialEvent): any;
|
|
4677
|
-
protected submitAnalytics(analyticsObj?: SendAnalyticsObject): any;
|
|
4678
|
-
protected setState(newState: object): void;
|
|
4679
|
-
/**
|
|
4680
|
-
* Returns the component payment data ready to submit to the Checkout API
|
|
4681
|
-
* Note: this does not ensure validity, check isValid first
|
|
4682
|
-
*/
|
|
4683
|
-
get data(): PaymentData;
|
|
4684
|
-
render(): ComponentChild | Error;
|
|
4685
|
-
/**
|
|
4686
|
-
* Mounts an element into the dom
|
|
4687
|
-
* @param domNode - Node (or selector) where we will mount the payment element
|
|
4688
|
-
* @returns this - the payment element instance we mounted
|
|
4689
|
-
*/
|
|
4690
|
-
mount(domNode: HTMLElement | string): this;
|
|
4691
|
-
/**
|
|
4692
|
-
* Updates props, resets the internal state and remounts the element.
|
|
4693
|
-
*
|
|
4694
|
-
* @param props - props to update
|
|
4695
|
-
* @returns this - the element instance
|
|
4696
|
-
*/
|
|
4697
|
-
update(props: Partial<P>): this;
|
|
4698
|
-
/**
|
|
4699
|
-
* Unmounts a payment element from the DOM
|
|
4700
|
-
*/
|
|
4701
|
-
unmount(): this;
|
|
4702
|
-
/**
|
|
4703
|
-
* Unmounts an element and removes it from the parent instance
|
|
4704
|
-
* For "destroy" type cleanup - when you don't intend to use the component again
|
|
4705
|
-
*/
|
|
4706
|
-
remove(): void;
|
|
4813
|
+
interface DropinStatus {
|
|
4814
|
+
type: UIElementStatus;
|
|
4815
|
+
props?: DropinStatusProps;
|
|
4707
4816
|
}
|
|
4708
|
-
|
|
4709
|
-
|
|
4710
|
-
|
|
4711
|
-
|
|
4712
|
-
|
|
4713
|
-
|
|
4714
|
-
|
|
4715
|
-
|
|
4716
|
-
|
|
4717
|
-
|
|
4718
|
-
|
|
4719
|
-
|
|
4720
|
-
|
|
4721
|
-
|
|
4722
|
-
setState(newState: object): void;
|
|
4723
|
-
showValidation(): this;
|
|
4724
|
-
setElementStatus(status: UIElementStatus, props?: any): this;
|
|
4725
|
-
setStatus(status: UIElementStatus, props?: any): this;
|
|
4726
|
-
protected onChange(): object;
|
|
4727
|
-
protected setUpAnalytics(setUpAnalyticsObj: AnalyticsInitialEvent): Promise<any>;
|
|
4728
|
-
/**
|
|
4729
|
-
* A function for all UIElements, or BaseElement, to use to create an analytics action for when it's been:
|
|
4730
|
-
* - mounted,
|
|
4731
|
-
* - a PM has been selected
|
|
4732
|
-
* - onSubmit has been called (as a result of the pay button being pressed)
|
|
4733
|
-
*
|
|
4734
|
-
* In some other cases e.g. 3DS2 components, this function is overridden to allow more specific analytics actions to be created
|
|
4735
|
-
*/
|
|
4736
|
-
protected submitAnalytics(analyticsObj: SendAnalyticsObject): void;
|
|
4737
|
-
submit(): void;
|
|
4738
|
-
protected makePaymentsCall(): Promise<CheckoutAdvancedFlowResponse | CheckoutSessionPaymentResponse>;
|
|
4739
|
-
private submitUsingAdvancedFlow;
|
|
4740
|
-
private submitUsingSessionsFlow;
|
|
4741
|
-
protected onComplete(state: any): void;
|
|
4742
|
-
protected handleError: (error: AdyenCheckoutError) => void;
|
|
4743
|
-
protected handleAdditionalDetails(state: AdditionalDetailsStateData): void;
|
|
4744
|
-
private makeAdditionalDetailsCall;
|
|
4745
|
-
private submitAdditionalDetailsUsingSessionsFlow;
|
|
4746
|
-
handleAction(action: PaymentAction, props?: {}): UIElement<P> | null;
|
|
4747
|
-
protected handleOrder: (response: PaymentResponseData) => void;
|
|
4748
|
-
/**
|
|
4749
|
-
* Handles when the payment fails. The payment fails when:
|
|
4750
|
-
* - adv flow: the merchant rejects the payment due to a critical error
|
|
4751
|
-
* - adv flow: the merchant resolves the payment with a failed resultCode
|
|
4752
|
-
* - sessions: a network error occurs when making the payment
|
|
4753
|
-
* - sessions: the payment fails with a failed resultCode
|
|
4754
|
-
*
|
|
4755
|
-
* @param result
|
|
4756
|
-
*/
|
|
4757
|
-
protected handleFailedResult: (result?: PaymentResponseData) => void;
|
|
4758
|
-
protected handleSuccessResult: (result: PaymentResponseData) => void;
|
|
4817
|
+
interface DropinStatusProps {
|
|
4818
|
+
component?: UIElement;
|
|
4819
|
+
}
|
|
4820
|
+
interface DropinComponentState {
|
|
4821
|
+
elements: any[];
|
|
4822
|
+
instantPaymentElements: UIElement[];
|
|
4823
|
+
storedPaymentElements: UIElement[];
|
|
4824
|
+
status: DropinStatus;
|
|
4825
|
+
activePaymentMethod: UIElement;
|
|
4826
|
+
cachedPaymentMethods: object;
|
|
4827
|
+
isDisabling: boolean;
|
|
4828
|
+
orderStatus: OrderStatus;
|
|
4829
|
+
}
|
|
4830
|
+
interface IDropin {
|
|
4759
4831
|
/**
|
|
4760
|
-
*
|
|
4761
|
-
* The component will handle automatically actions, orders, and final results.
|
|
4832
|
+
* Used to make the Dropin display the final animation
|
|
4762
4833
|
*
|
|
4763
|
-
* @
|
|
4834
|
+
* @internal
|
|
4835
|
+
* @param type - animation type
|
|
4764
4836
|
*/
|
|
4765
|
-
|
|
4837
|
+
displayFinalAnimation(type: 'success' | 'error'): void;
|
|
4838
|
+
activePaymentMethod: () => null;
|
|
4839
|
+
closeActivePaymentMethod: () => void;
|
|
4840
|
+
}
|
|
4841
|
+
|
|
4842
|
+
interface ICore {
|
|
4843
|
+
initialize(): Promise<ICore>;
|
|
4844
|
+
register(...items: NewableComponent[]): void;
|
|
4845
|
+
update(options: CoreConfiguration): Promise<ICore>;
|
|
4846
|
+
remove(component: any): ICore;
|
|
4847
|
+
submitDetails(details: any): void;
|
|
4848
|
+
getCorePropsForComponent(): any;
|
|
4849
|
+
getComponent(txVariant: string): NewableComponent | undefined;
|
|
4850
|
+
createFromAction(action: PaymentAction, options: any): any;
|
|
4851
|
+
storeElementReference(element: UIElement): void;
|
|
4852
|
+
options: CoreConfiguration;
|
|
4853
|
+
paymentMethodsResponse: PaymentMethods$1;
|
|
4854
|
+
session?: Session;
|
|
4855
|
+
}
|
|
4856
|
+
type AdyenEnvironment = 'test' | 'live' | 'live-us' | 'live-au' | 'live-apse' | 'live-in' | string;
|
|
4857
|
+
interface CoreConfiguration {
|
|
4858
|
+
session?: any;
|
|
4766
4859
|
/**
|
|
4767
|
-
*
|
|
4768
|
-
* This function exist to make safe access to the protect _parentInstance
|
|
4769
|
-
* @param options - CoreOptions
|
|
4860
|
+
* Use test. When you're ready to accept live payments, change the value to one of our {@link https://docs.adyen.com/checkout/drop-in-web#testing-your-integration | live environments}.
|
|
4770
4861
|
*/
|
|
4771
|
-
|
|
4772
|
-
setComponentRef: (ref: ComponentMethodsRef) => void;
|
|
4862
|
+
environment?: AdyenEnvironment;
|
|
4773
4863
|
/**
|
|
4774
|
-
*
|
|
4864
|
+
* Used internally by Pay By Link in order to set its own URL's instead of using the ones mapped in our codebase.
|
|
4865
|
+
*
|
|
4866
|
+
* @internal
|
|
4775
4867
|
*/
|
|
4776
|
-
|
|
4868
|
+
environmentUrls?: {
|
|
4869
|
+
api?: string;
|
|
4870
|
+
analytics?: string;
|
|
4871
|
+
};
|
|
4777
4872
|
/**
|
|
4778
|
-
*
|
|
4873
|
+
* Show or hides a Pay Button for each payment method
|
|
4874
|
+
* @default true
|
|
4779
4875
|
*/
|
|
4780
|
-
|
|
4876
|
+
showPayButton?: boolean;
|
|
4781
4877
|
/**
|
|
4782
|
-
*
|
|
4878
|
+
* A public key linked to your web service user, used for {@link https://docs.adyen.com/user-management/client-side-authentication | client-side authentication}.
|
|
4783
4879
|
*/
|
|
4784
|
-
|
|
4880
|
+
clientKey?: string;
|
|
4785
4881
|
/**
|
|
4786
|
-
*
|
|
4882
|
+
* The shopper's locale. This is used to set the language rendered in the UI.
|
|
4883
|
+
* For a list of supported locales, see {@link https://docs.adyen.com/checkout/components-web/localization-components | Localization}.
|
|
4884
|
+
* For adding a custom locale, see {@link https://docs.adyen.com/checkout/components-web/localization-components#create-localization | Create localization}.*
|
|
4787
4885
|
*/
|
|
4788
|
-
|
|
4886
|
+
locale?: string;
|
|
4789
4887
|
/**
|
|
4790
|
-
*
|
|
4888
|
+
* Custom translations and localizations
|
|
4889
|
+
* See {@link https://docs.adyen.com/checkout/components-web/localization-components | Localizing Components}
|
|
4791
4890
|
*/
|
|
4792
|
-
|
|
4891
|
+
translations?: CustomTranslations;
|
|
4793
4892
|
/**
|
|
4794
|
-
*
|
|
4893
|
+
* The full `/paymentMethods` response
|
|
4795
4894
|
*/
|
|
4796
|
-
|
|
4895
|
+
paymentMethodsResponse?: PaymentMethodsResponse;
|
|
4797
4896
|
/**
|
|
4798
|
-
*
|
|
4897
|
+
* Amount of the payment
|
|
4799
4898
|
*/
|
|
4800
|
-
|
|
4899
|
+
amount?: PaymentAmountExtended;
|
|
4801
4900
|
/**
|
|
4802
|
-
*
|
|
4803
|
-
* When the Order is updated, the merchant can request new payment methods based on the new remaining amount
|
|
4804
|
-
*
|
|
4805
|
-
* @private
|
|
4901
|
+
* Secondary amount of the payment - alternative currency & value converted according to rate
|
|
4806
4902
|
*/
|
|
4807
|
-
|
|
4808
|
-
}
|
|
4809
|
-
|
|
4810
|
-
type PayButtonFunctionProps = Omit<PayButtonProps, 'amount'>;
|
|
4811
|
-
type CoreCallbacks = Pick<CoreConfiguration, 'beforeRedirect' | 'beforeSubmit' | 'onSubmit' | 'onAdditionalDetails' | 'onPaymentFailed' | 'onPaymentCompleted' | 'onOrderUpdated' | 'onPaymentMethodsRequest' | 'onChange' | 'onActionHandled' | 'onError'>;
|
|
4812
|
-
type UIElementProps = BaseElementProps & CoreCallbacks & {
|
|
4813
|
-
environment?: string;
|
|
4814
|
-
session?: Session;
|
|
4815
|
-
onComplete?: (state: any, element: UIElement) => void;
|
|
4816
|
-
isInstantPayment?: boolean;
|
|
4903
|
+
secondaryAmount?: PaymentAmountExtended;
|
|
4817
4904
|
/**
|
|
4818
|
-
*
|
|
4819
|
-
* @internal
|
|
4905
|
+
* The shopper's country code. A valid value is an ISO two-character country code (e.g. 'NL').
|
|
4820
4906
|
*/
|
|
4821
|
-
|
|
4907
|
+
countryCode?: string;
|
|
4822
4908
|
/**
|
|
4823
|
-
*
|
|
4824
|
-
* Perhaps can be deprecated and we use the one above?
|
|
4825
|
-
* @internal
|
|
4909
|
+
* Display only these payment methods
|
|
4826
4910
|
*/
|
|
4827
|
-
|
|
4911
|
+
allowPaymentMethods?: string[];
|
|
4828
4912
|
/**
|
|
4829
|
-
*
|
|
4830
|
-
* @internal
|
|
4913
|
+
* Never display these payment methods
|
|
4831
4914
|
*/
|
|
4832
|
-
|
|
4915
|
+
removePaymentMethods?: string[];
|
|
4916
|
+
/**
|
|
4917
|
+
* Screen Reader configuration
|
|
4918
|
+
*/
|
|
4919
|
+
srConfig?: SRPanelConfig;
|
|
4833
4920
|
/**
|
|
4834
|
-
* Status set when creating the Component from action
|
|
4835
4921
|
* @internal
|
|
4836
4922
|
*/
|
|
4837
|
-
|
|
4838
|
-
|
|
4839
|
-
|
|
4840
|
-
|
|
4841
|
-
|
|
4842
|
-
secondaryAmount?: PaymentAmountExtended;
|
|
4923
|
+
cdnContext?: string;
|
|
4924
|
+
resourceEnvironment?: string;
|
|
4925
|
+
analytics?: AnalyticsOptions;
|
|
4926
|
+
risk?: RiskModuleOptions;
|
|
4927
|
+
order?: Order;
|
|
4843
4928
|
/**
|
|
4844
|
-
*
|
|
4845
|
-
*
|
|
4929
|
+
* Add @adyen/web metadata to the window object.
|
|
4930
|
+
* It helps to identify version number and bundle type in the merchant environment
|
|
4931
|
+
*
|
|
4932
|
+
* @default true
|
|
4846
4933
|
*/
|
|
4847
|
-
|
|
4848
|
-
|
|
4849
|
-
|
|
4850
|
-
|
|
4851
|
-
|
|
4852
|
-
|
|
4853
|
-
|
|
4854
|
-
|
|
4855
|
-
|
|
4856
|
-
|
|
4857
|
-
elementRef?: any;
|
|
4858
|
-
/** @internal */
|
|
4859
|
-
i18n?: Language;
|
|
4934
|
+
exposeLibraryMetadata?: boolean;
|
|
4935
|
+
beforeRedirect?(resolve: () => void, reject: () => void, redirectData: {
|
|
4936
|
+
url: string;
|
|
4937
|
+
method: string;
|
|
4938
|
+
data?: any;
|
|
4939
|
+
}): void;
|
|
4940
|
+
beforeSubmit?(state: any, element: UIElement, actions: {
|
|
4941
|
+
resolve: (data: any) => void;
|
|
4942
|
+
reject: () => void;
|
|
4943
|
+
}): void;
|
|
4860
4944
|
/**
|
|
4861
|
-
*
|
|
4862
|
-
*
|
|
4945
|
+
* Called when the payment succeeds.
|
|
4946
|
+
*
|
|
4947
|
+
* The first parameter is the sessions response (when using sessions flow), or the result code.
|
|
4948
|
+
*
|
|
4949
|
+
* @param data
|
|
4950
|
+
* @param element
|
|
4863
4951
|
*/
|
|
4864
|
-
|
|
4952
|
+
onPaymentCompleted?(data: SessionsResponse | {
|
|
4953
|
+
resultCode: ResultCode;
|
|
4954
|
+
donationToken?: string;
|
|
4955
|
+
}, element?: UIElement): void;
|
|
4865
4956
|
/**
|
|
4866
|
-
*
|
|
4867
|
-
*
|
|
4868
|
-
*
|
|
4957
|
+
* Called when the payment fails.
|
|
4958
|
+
*
|
|
4959
|
+
* The first parameter is populated when merchant is using sessions, or when the payment was rejected
|
|
4960
|
+
* with an object. (Ex: 'action.reject(obj)' ). Otherwise, it will be empty.
|
|
4961
|
+
*
|
|
4962
|
+
* @param data - session response or resultCode. It can also be undefined if payment was rejected without argument ('action.reject()')
|
|
4963
|
+
* @param element
|
|
4869
4964
|
*/
|
|
4870
|
-
|
|
4871
|
-
|
|
4872
|
-
|
|
4873
|
-
|
|
4874
|
-
|
|
4875
|
-
|
|
4876
|
-
|
|
4877
|
-
icon: string;
|
|
4878
|
-
elementRef: IUIElement;
|
|
4879
|
-
submit(): void;
|
|
4880
|
-
setComponentRef(ref: any): void;
|
|
4881
|
-
updateParent(options?: CoreConfiguration): Promise<ICore>;
|
|
4882
|
-
setElementStatus(status: UIElementStatus, props: any): UIElement;
|
|
4883
|
-
setStatus(status: UIElementStatus, props?: {
|
|
4884
|
-
message?: string;
|
|
4885
|
-
[key: string]: any;
|
|
4886
|
-
}): UIElement;
|
|
4887
|
-
handleAction(action: PaymentAction): UIElement | null;
|
|
4888
|
-
showValidation(): void;
|
|
4889
|
-
setState(newState: object): void;
|
|
4890
|
-
isAvailable(): Promise<void>;
|
|
4891
|
-
}
|
|
4892
|
-
type UIElementStatus = 'ready' | 'loading' | 'error' | 'success';
|
|
4893
|
-
interface ComponentMethodsRef {
|
|
4894
|
-
showValidation?: () => void;
|
|
4895
|
-
setStatus?(status: UIElementStatus): void;
|
|
4896
|
-
}
|
|
4897
|
-
|
|
4898
|
-
declare const actionTypes: {
|
|
4899
|
-
readonly redirect: (core: ICore, registry: any, action: PaymentAction, props: any) => IUIElement;
|
|
4900
|
-
readonly threeDS2: (core: ICore, registry: any, action: PaymentAction, props: any) => IUIElement;
|
|
4901
|
-
readonly voucher: (core: ICore, registry: IRegistry, action: PaymentAction, props: any) => IUIElement;
|
|
4902
|
-
readonly qrCode: (core: ICore, registry: IRegistry, action: PaymentAction, props: any) => IUIElement;
|
|
4903
|
-
readonly await: (core: ICore, registry: IRegistry, action: PaymentAction, props: any) => IUIElement;
|
|
4904
|
-
readonly bankTransfer: (core: ICore, registry: IRegistry, action: PaymentAction, props: any) => IUIElement;
|
|
4905
|
-
readonly sdk: (core: ICore, registry: IRegistry, action: PaymentAction, props: any) => IUIElement;
|
|
4906
|
-
};
|
|
4907
|
-
|
|
4908
|
-
interface CAActions {
|
|
4909
|
-
channel: 'Web';
|
|
4910
|
-
platform: 'Web';
|
|
4911
|
-
info: AnalyticsObject[];
|
|
4912
|
-
errors: AnalyticsObject[];
|
|
4913
|
-
logs: AnalyticsObject[];
|
|
4914
|
-
}
|
|
4915
|
-
interface EventsQueueModule {
|
|
4916
|
-
add: (t: string, o: AnalyticsObject) => void;
|
|
4917
|
-
run: (id: string) => Promise<any>;
|
|
4918
|
-
getQueue: () => CAActions;
|
|
4919
|
-
}
|
|
4920
|
-
|
|
4921
|
-
type PaymentActionsType = keyof typeof actionTypes;
|
|
4922
|
-
/**
|
|
4923
|
-
* {@link https://docs.adyen.com/api-explorer/#/PaymentSetupAndVerificationService/v51/payments__resParam_action API Explorer /payments action}
|
|
4924
|
-
*/
|
|
4925
|
-
interface PaymentAction {
|
|
4965
|
+
onPaymentFailed?(data?: SessionsResponse | {
|
|
4966
|
+
resultCode: ResultCode;
|
|
4967
|
+
}, element?: UIElement): void;
|
|
4968
|
+
onSubmit?(state: any, element: UIElement, actions: {
|
|
4969
|
+
resolve: (response: CheckoutAdvancedFlowResponse) => void;
|
|
4970
|
+
reject: (error?: Pick<CheckoutAdvancedFlowResponse, 'error'>) => void;
|
|
4971
|
+
}): void;
|
|
4926
4972
|
/**
|
|
4927
|
-
*
|
|
4973
|
+
* Callback used in the Advanced flow to perform the /payments/details API call.
|
|
4974
|
+
*
|
|
4975
|
+
* @param state
|
|
4976
|
+
* @param element - Component submitting details. It is undefined when using checkout.submitDetails()
|
|
4977
|
+
* @param actions
|
|
4928
4978
|
*/
|
|
4929
|
-
|
|
4979
|
+
onAdditionalDetails?(state: AdditionalDetailsStateData, element: UIElement, actions: {
|
|
4980
|
+
resolve: (response: CheckoutAdvancedFlowResponse) => void;
|
|
4981
|
+
reject: () => void;
|
|
4982
|
+
}): void;
|
|
4983
|
+
onActionHandled?(data: ActionHandledReturnObject): void;
|
|
4984
|
+
onChange?(state: any, element: UIElement): void;
|
|
4985
|
+
onError?(error: AdyenCheckoutError, element?: UIElement): void;
|
|
4986
|
+
onBalanceCheck?: onBalanceCheckCallbackType;
|
|
4987
|
+
onOrderRequest?: onOrderRequestCallbackType;
|
|
4988
|
+
onPaymentMethodsRequest?(data: PaymentMethodsRequestData, actions: {
|
|
4989
|
+
resolve: (response: PaymentMethodsResponse) => void;
|
|
4990
|
+
reject: () => void;
|
|
4991
|
+
}): void;
|
|
4992
|
+
onOrderCancel?: onOrderCancelType;
|
|
4930
4993
|
/**
|
|
4931
|
-
*
|
|
4994
|
+
* Called when the gift card balance is less than the transaction amount.
|
|
4995
|
+
* Returns an Order object that includes the remaining amount to be paid.
|
|
4996
|
+
* https://docs.adyen.com/payment-methods/gift-cards/web-component?tab=config-sessions_1
|
|
4932
4997
|
*/
|
|
4933
|
-
|
|
4998
|
+
onOrderUpdated?(data: {
|
|
4999
|
+
order: Order;
|
|
5000
|
+
}): void;
|
|
4934
5001
|
/**
|
|
4935
|
-
*
|
|
5002
|
+
* @internal
|
|
4936
5003
|
*/
|
|
4937
|
-
|
|
5004
|
+
loadingContext?: string;
|
|
4938
5005
|
/**
|
|
4939
|
-
*
|
|
5006
|
+
* Distinguish between loading translations directly from CDN or from the local web server
|
|
5007
|
+
* Used only internally
|
|
5008
|
+
*
|
|
5009
|
+
* @internal
|
|
5010
|
+
* @default 'local' if library is in dev mode ; 'remote' if is bundled
|
|
4940
5011
|
*/
|
|
4941
|
-
|
|
4942
|
-
|
|
5012
|
+
_translationEnvironment?: 'local' | 'remote';
|
|
5013
|
+
}
|
|
5014
|
+
|
|
5015
|
+
declare class BaseElement<P extends BaseElementProps> implements IBaseElement {
|
|
5016
|
+
readonly _id: string;
|
|
5017
|
+
props: P;
|
|
5018
|
+
state: any;
|
|
5019
|
+
_component: any;
|
|
5020
|
+
protected _node: HTMLElement;
|
|
5021
|
+
protected readonly core: ICore;
|
|
5022
|
+
protected static defaultProps: {};
|
|
5023
|
+
constructor(checkout: ICore, props?: P);
|
|
5024
|
+
protected buildElementProps(componentProps?: P): void;
|
|
4943
5025
|
/**
|
|
4944
|
-
*
|
|
5026
|
+
* Executed during creation of any payment element.
|
|
5027
|
+
* Gives a chance to any paymentMethod to format the props we're receiving.
|
|
4945
5028
|
*/
|
|
4946
|
-
|
|
5029
|
+
protected formatProps(props: P): P;
|
|
4947
5030
|
/**
|
|
4948
|
-
*
|
|
5031
|
+
* Executed on the `data` getter.
|
|
5032
|
+
* Returns the component data necessary for the /payments request
|
|
5033
|
+
*
|
|
5034
|
+
* TODO: Replace 'any' by type PaymentMethodData<T> - this change requires updating all payment methods,
|
|
5035
|
+
* properly adding the type of the formatData function
|
|
4949
5036
|
*/
|
|
4950
|
-
|
|
4951
|
-
|
|
4952
|
-
|
|
4953
|
-
|
|
4954
|
-
expiresAt?: string;
|
|
4955
|
-
instructionsUrl?: string;
|
|
4956
|
-
issuer?: string;
|
|
4957
|
-
maskedTelephoneNumber?: string;
|
|
4958
|
-
merchantName?: string;
|
|
4959
|
-
merchantReference?: string;
|
|
4960
|
-
reference?: string;
|
|
4961
|
-
shopperEmail?: string;
|
|
4962
|
-
shopperName?: string;
|
|
4963
|
-
qrCodeData?: string;
|
|
5037
|
+
protected formatData(): any;
|
|
5038
|
+
protected setUpAnalytics(setUpAnalyticsObj: AnalyticsInitialEvent): any;
|
|
5039
|
+
protected submitAnalytics(analyticsObj?: SendAnalyticsObject): any;
|
|
5040
|
+
protected setState(newState: object): void;
|
|
4964
5041
|
/**
|
|
4965
|
-
*
|
|
5042
|
+
* Returns the component payment data ready to submit to the Checkout API
|
|
5043
|
+
* Note: this does not ensure validity, check isValid first
|
|
4966
5044
|
*/
|
|
4967
|
-
|
|
5045
|
+
get data(): PaymentData;
|
|
5046
|
+
render(): ComponentChild | Error;
|
|
4968
5047
|
/**
|
|
4969
|
-
*
|
|
5048
|
+
* Mounts an element into the dom
|
|
5049
|
+
* @param domNode - Node (or selector) where we will mount the payment element
|
|
5050
|
+
* @returns this - the payment element instance we mounted
|
|
4970
5051
|
*/
|
|
4971
|
-
|
|
4972
|
-
[key: string]: any;
|
|
4973
|
-
};
|
|
4974
|
-
}
|
|
4975
|
-
type Issuer = {
|
|
4976
|
-
id: string;
|
|
4977
|
-
name: string;
|
|
4978
|
-
disabled?: boolean;
|
|
4979
|
-
};
|
|
4980
|
-
interface PaymentMethod {
|
|
5052
|
+
mount(domNode: HTMLElement | string): this;
|
|
4981
5053
|
/**
|
|
4982
|
-
*
|
|
5054
|
+
* Updates props, resets the internal state and remounts the element.
|
|
5055
|
+
*
|
|
5056
|
+
* @param props - props to update
|
|
5057
|
+
* @returns this - the element instance
|
|
4983
5058
|
*/
|
|
4984
|
-
|
|
5059
|
+
update(props: Partial<P>): this;
|
|
4985
5060
|
/**
|
|
4986
|
-
*
|
|
5061
|
+
* Unmounts a payment element from the DOM
|
|
4987
5062
|
*/
|
|
4988
|
-
|
|
5063
|
+
unmount(): this;
|
|
4989
5064
|
/**
|
|
4990
|
-
*
|
|
5065
|
+
* Unmounts an element and removes it from the parent instance
|
|
5066
|
+
* For "destroy" type cleanup - when you don't intend to use the component again
|
|
4991
5067
|
*/
|
|
4992
|
-
|
|
5068
|
+
remove(): void;
|
|
5069
|
+
}
|
|
5070
|
+
|
|
5071
|
+
declare abstract class UIElement<P extends UIElementProps = UIElementProps> extends BaseElement<P> implements IUIElement {
|
|
5072
|
+
protected componentRef: any;
|
|
5073
|
+
protected resources: Resources;
|
|
5074
|
+
elementRef: UIElement;
|
|
5075
|
+
static type: any;
|
|
4993
5076
|
/**
|
|
4994
|
-
*
|
|
5077
|
+
* Defines all txVariants that the Component supports (in case it support multiple ones besides the 'type' one)
|
|
4995
5078
|
*/
|
|
4996
|
-
|
|
5079
|
+
static txVariants: string[];
|
|
5080
|
+
constructor(checkout: ICore, props?: P);
|
|
5081
|
+
protected buildElementProps(componentProps?: P): void;
|
|
5082
|
+
protected storeElementRefOnCore(props?: P): void;
|
|
5083
|
+
isAvailable(): Promise<void>;
|
|
5084
|
+
setState(newState: object): void;
|
|
5085
|
+
showValidation(): this;
|
|
5086
|
+
setElementStatus(status: UIElementStatus, props?: any): this;
|
|
5087
|
+
setStatus(status: UIElementStatus, props?: any): this;
|
|
5088
|
+
protected onChange(): object;
|
|
5089
|
+
protected setUpAnalytics(setUpAnalyticsObj: AnalyticsInitialEvent): Promise<any>;
|
|
4997
5090
|
/**
|
|
4998
|
-
*
|
|
5091
|
+
* A function for all UIElements, or BaseElement, to use to create an analytics action for when it's been:
|
|
5092
|
+
* - mounted,
|
|
5093
|
+
* - a PM has been selected
|
|
5094
|
+
* - onSubmit has been called (as a result of the pay button being pressed)
|
|
5095
|
+
*
|
|
5096
|
+
* In some other cases e.g. 3DS2 components, this function is overridden to allow more specific analytics actions to be created
|
|
4999
5097
|
*/
|
|
5000
|
-
|
|
5098
|
+
protected submitAnalytics(analyticsObj: SendAnalyticsObject, uiElementProps?: any): void;
|
|
5099
|
+
submit(): void;
|
|
5100
|
+
protected makePaymentsCall(): Promise<CheckoutAdvancedFlowResponse | CheckoutSessionPaymentResponse>;
|
|
5101
|
+
private submitUsingAdvancedFlow;
|
|
5102
|
+
private submitUsingSessionsFlow;
|
|
5103
|
+
protected onComplete(state: any): void;
|
|
5104
|
+
protected handleError: (error: AdyenCheckoutError) => void;
|
|
5105
|
+
protected handleAdditionalDetails(state: AdditionalDetailsStateData): void;
|
|
5106
|
+
private makeAdditionalDetailsCall;
|
|
5107
|
+
private submitAdditionalDetailsUsingSessionsFlow;
|
|
5108
|
+
handleAction(action: PaymentAction, props?: {}): UIElement<P> | null;
|
|
5109
|
+
protected handleOrder: (response: PaymentResponseData) => void;
|
|
5001
5110
|
/**
|
|
5002
|
-
*
|
|
5111
|
+
* Handles when the payment fails. The payment fails when:
|
|
5112
|
+
* - adv flow: the merchant rejects the payment due to a critical error
|
|
5113
|
+
* - adv flow: the merchant resolves the payment with a failed resultCode
|
|
5114
|
+
* - sessions: a network error occurs when making the payment
|
|
5115
|
+
* - sessions: the payment fails with a failed resultCode
|
|
5116
|
+
*
|
|
5117
|
+
* @param result
|
|
5003
5118
|
*/
|
|
5004
|
-
|
|
5119
|
+
protected handleFailedResult: (result?: PaymentResponseData) => void;
|
|
5120
|
+
protected handleSuccessResult: (result: PaymentResponseData) => void;
|
|
5005
5121
|
/**
|
|
5006
|
-
*
|
|
5122
|
+
* Handles a session /payments or /payments/details response.
|
|
5123
|
+
* The component will handle automatically actions, orders, and final results.
|
|
5124
|
+
*
|
|
5125
|
+
* @param rawResponse -
|
|
5007
5126
|
*/
|
|
5008
|
-
|
|
5127
|
+
protected handleResponse(rawResponse: RawPaymentResponse): void;
|
|
5009
5128
|
/**
|
|
5010
|
-
*
|
|
5129
|
+
* Call update on parent instance
|
|
5130
|
+
* This function exist to make safe access to the protect _parentInstance
|
|
5131
|
+
* @param options - CoreOptions
|
|
5011
5132
|
*/
|
|
5012
|
-
|
|
5013
|
-
|
|
5014
|
-
/**
|
|
5015
|
-
* List of the available payment methods
|
|
5016
|
-
* {@link https://docs.adyen.com/api-explorer/Checkout/70/post/paymentMethods API Explorer /paymentMethods}.
|
|
5017
|
-
*/
|
|
5018
|
-
interface PaymentMethodsResponse {
|
|
5133
|
+
updateParent(options?: CoreConfiguration): Promise<ICore>;
|
|
5134
|
+
setComponentRef: (ref: ComponentMethodsRef) => void;
|
|
5019
5135
|
/**
|
|
5020
|
-
*
|
|
5136
|
+
* Get the current validation status of the element
|
|
5021
5137
|
*/
|
|
5022
|
-
|
|
5138
|
+
get isValid(): boolean;
|
|
5023
5139
|
/**
|
|
5024
|
-
*
|
|
5140
|
+
* Get the element icon URL for the current environment
|
|
5025
5141
|
*/
|
|
5026
|
-
|
|
5027
|
-
}
|
|
5028
|
-
interface StoredPaymentMethod extends PaymentMethod {
|
|
5029
|
-
id: string;
|
|
5030
|
-
name: string;
|
|
5031
|
-
supportedShopperInteractions: string[];
|
|
5032
|
-
expiryMonth?: string;
|
|
5033
|
-
expiryYear?: string;
|
|
5034
|
-
holderName?: string;
|
|
5035
|
-
iban?: string;
|
|
5036
|
-
lastFour?: string;
|
|
5037
|
-
networkTxReference?: string;
|
|
5038
|
-
ownerName?: string;
|
|
5039
|
-
shopperEmail?: string;
|
|
5040
|
-
/** The shopper’s issuer account label */
|
|
5041
|
-
label?: string;
|
|
5142
|
+
get icon(): string;
|
|
5042
5143
|
/**
|
|
5043
|
-
*
|
|
5044
|
-
* @internal
|
|
5144
|
+
* Get the element's displayable name
|
|
5045
5145
|
*/
|
|
5046
|
-
|
|
5146
|
+
get displayName(): string;
|
|
5047
5147
|
/**
|
|
5048
|
-
*
|
|
5049
|
-
* @internal
|
|
5148
|
+
* Get the element accessible name, used in the aria-label of the button that controls selected payment method
|
|
5050
5149
|
*/
|
|
5051
|
-
|
|
5052
|
-
}
|
|
5053
|
-
/**
|
|
5054
|
-
* The group where this payment method belongs to.
|
|
5055
|
-
*/
|
|
5056
|
-
interface PaymentMethodGroup {
|
|
5150
|
+
get accessibleName(): string;
|
|
5057
5151
|
/**
|
|
5058
|
-
*
|
|
5152
|
+
* Used to display the second line of a payment method item
|
|
5059
5153
|
*/
|
|
5060
|
-
|
|
5154
|
+
get additionalInfo(): string;
|
|
5061
5155
|
/**
|
|
5062
|
-
*
|
|
5156
|
+
* Return the type of an element
|
|
5063
5157
|
*/
|
|
5064
|
-
|
|
5158
|
+
get type(): string;
|
|
5065
5159
|
/**
|
|
5066
|
-
*
|
|
5160
|
+
* Get the payButton component for the current element
|
|
5067
5161
|
*/
|
|
5068
|
-
|
|
5069
|
-
}
|
|
5070
|
-
interface ProcessedResponse {
|
|
5071
|
-
type: string;
|
|
5072
|
-
props?: object;
|
|
5073
|
-
}
|
|
5074
|
-
/**
|
|
5075
|
-
* {@link https://docs.adyen.com/api-explorer/#/PaymentSetupAndVerificationService/v52/payments__reqParam_amount API Explorer /payments amount}
|
|
5076
|
-
*/
|
|
5077
|
-
interface PaymentAmount {
|
|
5078
|
-
value: number;
|
|
5079
|
-
currency: string;
|
|
5080
|
-
}
|
|
5081
|
-
interface PaymentAmountExtended extends PaymentAmount {
|
|
5162
|
+
protected payButton: (props: PayButtonFunctionProps) => h.JSX.Element;
|
|
5082
5163
|
/**
|
|
5083
|
-
*
|
|
5084
|
-
*
|
|
5085
|
-
*
|
|
5164
|
+
* Used in the Partial Orders flow.
|
|
5165
|
+
* When the Order is updated, the merchant can request new payment methods based on the new remaining amount
|
|
5166
|
+
*
|
|
5167
|
+
* @private
|
|
5086
5168
|
*/
|
|
5087
|
-
|
|
5088
|
-
}
|
|
5089
|
-
type AddressField = (typeof ADDRESS_SCHEMA)[number];
|
|
5090
|
-
type AddressData = {
|
|
5091
|
-
[key in AddressField]?: string;
|
|
5092
|
-
};
|
|
5093
|
-
interface PersonalDetailsSchema {
|
|
5094
|
-
firstName?: string;
|
|
5095
|
-
lastName?: string;
|
|
5096
|
-
gender?: string;
|
|
5097
|
-
dateOfBirth?: string;
|
|
5098
|
-
shopperEmail?: string;
|
|
5099
|
-
telephoneNumber?: string;
|
|
5169
|
+
protected handleAdvanceFlowPaymentMethodsUpdate(order: Order | null, amount?: PaymentAmount): Promise<ICore>;
|
|
5100
5170
|
}
|
|
5101
|
-
|
|
5171
|
+
|
|
5172
|
+
type PayButtonFunctionProps = Omit<PayButtonProps, 'amount'>;
|
|
5173
|
+
type CoreCallbacks = Pick<CoreConfiguration, 'beforeRedirect' | 'beforeSubmit' | 'onSubmit' | 'onAdditionalDetails' | 'onPaymentFailed' | 'onPaymentCompleted' | 'onOrderUpdated' | 'onPaymentMethodsRequest' | 'onChange' | 'onActionHandled' | 'onError'>;
|
|
5174
|
+
type UIElementProps = BaseElementProps & CoreCallbacks & {
|
|
5175
|
+
environment?: string;
|
|
5176
|
+
session?: Session;
|
|
5177
|
+
onComplete?: (state: any, element: UIElement) => void;
|
|
5178
|
+
isInstantPayment?: boolean;
|
|
5102
5179
|
/**
|
|
5103
|
-
*
|
|
5180
|
+
* Flags if the element is Stored payment method
|
|
5181
|
+
* @internal
|
|
5104
5182
|
*/
|
|
5105
|
-
|
|
5183
|
+
isStoredPaymentMethod?: boolean;
|
|
5106
5184
|
/**
|
|
5107
|
-
*
|
|
5185
|
+
* Flag if the element is Stored payment method.
|
|
5186
|
+
* Perhaps can be deprecated and we use the one above?
|
|
5187
|
+
* @internal
|
|
5108
5188
|
*/
|
|
5109
|
-
|
|
5189
|
+
oneClick?: boolean;
|
|
5110
5190
|
/**
|
|
5111
|
-
*
|
|
5191
|
+
* Stored payment method id
|
|
5192
|
+
* @internal
|
|
5112
5193
|
*/
|
|
5113
|
-
|
|
5114
|
-
|
|
5115
|
-
|
|
5116
|
-
|
|
5117
|
-
|
|
5118
|
-
|
|
5119
|
-
lastFour: string;
|
|
5120
|
-
type: string;
|
|
5121
|
-
}[];
|
|
5122
|
-
pspReference: string;
|
|
5123
|
-
reference: string;
|
|
5124
|
-
remainingAmount: PaymentAmount;
|
|
5125
|
-
}
|
|
5126
|
-
/**
|
|
5127
|
-
* {@link https://docs.adyen.com/api-explorer/#/PaymentSetupAndVerificationService/v52/post/payments__reqParam_browserInfo API Explorer /payments browserInfo}
|
|
5128
|
-
*/
|
|
5129
|
-
interface BrowserInfo {
|
|
5130
|
-
acceptHeader: string;
|
|
5131
|
-
colorDepth: number;
|
|
5132
|
-
language: string;
|
|
5133
|
-
javaEnabled: boolean;
|
|
5134
|
-
screenHeight: number;
|
|
5135
|
-
screenWidth: number;
|
|
5136
|
-
userAgent: string;
|
|
5137
|
-
timeZoneOffset: number;
|
|
5138
|
-
}
|
|
5139
|
-
/**
|
|
5140
|
-
* Visibility options for a fieldset
|
|
5141
|
-
*/
|
|
5142
|
-
type FieldsetVisibility = 'editable' | 'hidden' | 'readOnly';
|
|
5143
|
-
interface PaymentMethodData {
|
|
5144
|
-
paymentMethod: {
|
|
5145
|
-
[key: string]: any;
|
|
5146
|
-
checkoutAttemptId?: string;
|
|
5147
|
-
};
|
|
5148
|
-
browserInfo?: {
|
|
5149
|
-
acceptHeader: string;
|
|
5150
|
-
colorDepth: number;
|
|
5151
|
-
javaEnabled: boolean;
|
|
5152
|
-
language: string;
|
|
5153
|
-
screenHeight: number;
|
|
5154
|
-
screenWidth: number;
|
|
5155
|
-
timeZoneOffset: number;
|
|
5156
|
-
userAgent: string;
|
|
5157
|
-
};
|
|
5158
|
-
}
|
|
5159
|
-
/**
|
|
5160
|
-
* Represents the payment data that will be submitted to the /payments endpoint
|
|
5161
|
-
*/
|
|
5162
|
-
interface PaymentData extends PaymentMethodData {
|
|
5163
|
-
riskData?: {
|
|
5164
|
-
clientData: string;
|
|
5165
|
-
};
|
|
5166
|
-
order?: {
|
|
5167
|
-
orderData: string;
|
|
5168
|
-
pspReference: string;
|
|
5169
|
-
};
|
|
5170
|
-
clientStateDataIndicator: boolean;
|
|
5171
|
-
sessionData?: string;
|
|
5172
|
-
storePaymentMethod?: boolean;
|
|
5173
|
-
}
|
|
5174
|
-
type ResultCode = 'AuthenticationFinished' | 'AuthenticationNotRequired' | 'Authorised' | 'Cancelled' | 'ChallengeShopper' | 'Error' | 'IdentifyShopper' | 'PartiallyAuthorised' | 'Pending' | 'PresentToShopper' | 'Received' | 'RedirectShopper' | 'Refused';
|
|
5175
|
-
type SessionsResponse = {
|
|
5176
|
-
sessionData: string;
|
|
5177
|
-
sessionResult: string;
|
|
5178
|
-
resultCode: ResultCode;
|
|
5179
|
-
};
|
|
5180
|
-
interface PaymentMethodsRequestData {
|
|
5181
|
-
order?: Order;
|
|
5182
|
-
locale?: string;
|
|
5183
|
-
countryCode?: string;
|
|
5184
|
-
}
|
|
5185
|
-
interface CheckoutAdvancedFlowResponse {
|
|
5186
|
-
resultCode: ResultCode;
|
|
5187
|
-
action?: PaymentAction;
|
|
5188
|
-
order?: Order;
|
|
5189
|
-
donationToken?: string;
|
|
5190
|
-
error?: {
|
|
5191
|
-
googlePayError?: google.payments.api.PaymentDataError | string;
|
|
5192
|
-
applePayError?: ApplePayJS.ApplePayError[] | ApplePayJS.ApplePayError;
|
|
5193
|
-
};
|
|
5194
|
-
}
|
|
5195
|
-
interface PaymentResponseData {
|
|
5196
|
-
resultCode: ResultCode;
|
|
5194
|
+
storedPaymentMethodId?: string;
|
|
5195
|
+
/**
|
|
5196
|
+
* Status set when creating the Component from action
|
|
5197
|
+
* @internal
|
|
5198
|
+
*/
|
|
5199
|
+
statusType?: 'redirect' | 'loading' | 'custom';
|
|
5197
5200
|
type?: string;
|
|
5198
|
-
|
|
5199
|
-
|
|
5200
|
-
|
|
5201
|
-
|
|
5202
|
-
donationToken?: string;
|
|
5203
|
-
}
|
|
5204
|
-
type RawPaymentResponse = PaymentResponseData & CheckoutAdvancedFlowResponse & {
|
|
5205
|
-
[key: string]: any;
|
|
5206
|
-
};
|
|
5207
|
-
type ActionDescriptionType = 'qr-code-loaded' | 'polling-started' | 'fingerprint-iframe-loaded' | string;
|
|
5208
|
-
interface ActionHandledReturnObject {
|
|
5209
|
-
componentType: string;
|
|
5210
|
-
actionDescription: ActionDescriptionType;
|
|
5211
|
-
}
|
|
5212
|
-
type AdditionalDetailsStateData = {
|
|
5213
|
-
data: {
|
|
5214
|
-
details: {
|
|
5215
|
-
redirectResult?: string;
|
|
5216
|
-
threeDSResult?: string;
|
|
5217
|
-
[key: string]: any;
|
|
5218
|
-
};
|
|
5219
|
-
paymentData?: string;
|
|
5220
|
-
sessionData?: string;
|
|
5221
|
-
};
|
|
5222
|
-
};
|
|
5223
|
-
interface AnalyticsModule {
|
|
5224
|
-
setUp: (a: AnalyticsInitialEvent) => Promise<any>;
|
|
5225
|
-
getCheckoutAttemptId: () => string;
|
|
5226
|
-
getEventsQueue: () => EventsQueueModule;
|
|
5227
|
-
createAnalyticsEvent: (a: CreateAnalyticsEventObject) => AnalyticsObject;
|
|
5228
|
-
getEnabled: () => boolean;
|
|
5229
|
-
sendAnalytics: (component: string, analyticsObj: SendAnalyticsObject) => void;
|
|
5230
|
-
}
|
|
5231
|
-
type ComponentFocusObject = {
|
|
5232
|
-
fieldType: string;
|
|
5233
|
-
event: Event | CbObjOnFocus;
|
|
5234
|
-
};
|
|
5235
|
-
type DecodeObject = {
|
|
5236
|
-
success: boolean;
|
|
5237
|
-
error?: string;
|
|
5238
|
-
data?: string;
|
|
5239
|
-
};
|
|
5240
|
-
|
|
5241
|
-
interface InstallmentOptions {
|
|
5242
|
-
[key: string]: {
|
|
5243
|
-
values: number[];
|
|
5244
|
-
plans?: string[];
|
|
5245
|
-
preselectedValue?: number;
|
|
5246
|
-
};
|
|
5247
|
-
}
|
|
5248
|
-
|
|
5249
|
-
type CheckoutSession = {
|
|
5250
|
-
id: string;
|
|
5251
|
-
sessionData: string;
|
|
5252
|
-
shopperLocale?: string;
|
|
5253
|
-
shopperEmail?: string;
|
|
5254
|
-
telephoneNumber?: string;
|
|
5255
|
-
};
|
|
5256
|
-
type SessionConfiguration = {
|
|
5257
|
-
installmentOptions?: InstallmentOptions;
|
|
5258
|
-
enableStoreDetails?: boolean;
|
|
5259
|
-
};
|
|
5260
|
-
type CheckoutSessionSetupResponse = {
|
|
5261
|
-
id: string;
|
|
5262
|
-
sessionData: string;
|
|
5263
|
-
countryCode?: string;
|
|
5264
|
-
amount: PaymentAmount;
|
|
5265
|
-
expiresAt: string;
|
|
5266
|
-
paymentMethods: any;
|
|
5267
|
-
returnUrl: string;
|
|
5268
|
-
configuration: SessionConfiguration;
|
|
5201
|
+
name?: string;
|
|
5202
|
+
icon?: string;
|
|
5203
|
+
amount?: PaymentAmount;
|
|
5204
|
+
secondaryAmount?: PaymentAmountExtended;
|
|
5269
5205
|
/**
|
|
5270
|
-
*
|
|
5271
|
-
* @defaultValue
|
|
5206
|
+
* Show/Hide pay button
|
|
5207
|
+
* @defaultValue true
|
|
5272
5208
|
*/
|
|
5273
|
-
|
|
5274
|
-
|
|
5275
|
-
|
|
5276
|
-
|
|
5277
|
-
|
|
5278
|
-
|
|
5279
|
-
|
|
5280
|
-
|
|
5281
|
-
|
|
5282
|
-
|
|
5283
|
-
|
|
5284
|
-
|
|
5285
|
-
|
|
5286
|
-
|
|
5287
|
-
|
|
5288
|
-
|
|
5289
|
-
|
|
5290
|
-
|
|
5291
|
-
|
|
5292
|
-
|
|
5209
|
+
showPayButton?: boolean;
|
|
5210
|
+
/** @internal */
|
|
5211
|
+
payButton?: (options: PayButtonFunctionProps) => h.JSX.Element;
|
|
5212
|
+
/** @internal */
|
|
5213
|
+
loadingContext?: string;
|
|
5214
|
+
/** @internal */
|
|
5215
|
+
createFromAction?: (action: PaymentAction, props: object) => UIElement;
|
|
5216
|
+
/** @internal */
|
|
5217
|
+
clientKey?: string;
|
|
5218
|
+
/** @internal */
|
|
5219
|
+
elementRef?: any;
|
|
5220
|
+
/** @internal */
|
|
5221
|
+
i18n?: Language;
|
|
5222
|
+
/**
|
|
5223
|
+
* The shopper’s issuer account label. It can be available for stored payment method
|
|
5224
|
+
* @internal
|
|
5225
|
+
*/
|
|
5226
|
+
label?: string;
|
|
5227
|
+
/**
|
|
5228
|
+
* Returned after the payments call, when an action is returned. It represents the payment method tx variant
|
|
5229
|
+
* that was used for the payment
|
|
5230
|
+
* @internal
|
|
5231
|
+
*/
|
|
5232
|
+
paymentMethodType?: string;
|
|
5293
5233
|
};
|
|
5294
|
-
|
|
5295
|
-
|
|
5296
|
-
|
|
5297
|
-
|
|
5234
|
+
interface IUIElement extends IBaseElement {
|
|
5235
|
+
isValid: boolean;
|
|
5236
|
+
displayName: string;
|
|
5237
|
+
accessibleName: string;
|
|
5238
|
+
type: string;
|
|
5239
|
+
icon: string;
|
|
5240
|
+
elementRef: IUIElement;
|
|
5241
|
+
submit(): void;
|
|
5242
|
+
setComponentRef(ref: any): void;
|
|
5243
|
+
updateParent(options?: CoreConfiguration): Promise<ICore>;
|
|
5244
|
+
setElementStatus(status: UIElementStatus, props: any): UIElement;
|
|
5245
|
+
setStatus(status: UIElementStatus, props?: {
|
|
5246
|
+
message?: string;
|
|
5247
|
+
[key: string]: any;
|
|
5248
|
+
}): UIElement;
|
|
5249
|
+
handleAction(action: PaymentAction): UIElement | null;
|
|
5250
|
+
showValidation(): void;
|
|
5251
|
+
setState(newState: object): void;
|
|
5252
|
+
isAvailable(): Promise<void>;
|
|
5253
|
+
}
|
|
5254
|
+
type UIElementStatus = 'ready' | 'loading' | 'error' | 'success';
|
|
5255
|
+
interface ComponentMethodsRef {
|
|
5256
|
+
showValidation?: () => void;
|
|
5257
|
+
setStatus?(status: UIElementStatus): void;
|
|
5258
|
+
}
|
|
5259
|
+
|
|
5260
|
+
declare const actionTypes: {
|
|
5261
|
+
readonly redirect: (core: ICore, registry: any, action: PaymentAction, props: any) => IUIElement;
|
|
5262
|
+
readonly threeDS2: (core: ICore, registry: any, action: PaymentAction, props: any) => IUIElement;
|
|
5263
|
+
readonly voucher: (core: ICore, registry: IRegistry, action: PaymentAction, props: any) => IUIElement;
|
|
5264
|
+
readonly qrCode: (core: ICore, registry: IRegistry, action: PaymentAction, props: any) => IUIElement;
|
|
5265
|
+
readonly await: (core: ICore, registry: IRegistry, action: PaymentAction, props: any) => IUIElement;
|
|
5266
|
+
readonly bankTransfer: (core: ICore, registry: IRegistry, action: PaymentAction, props: any) => IUIElement;
|
|
5267
|
+
readonly sdk: (core: ICore, registry: IRegistry, action: PaymentAction, props: any) => IUIElement;
|
|
5298
5268
|
};
|
|
5299
5269
|
|
|
5300
|
-
|
|
5301
|
-
|
|
5302
|
-
|
|
5303
|
-
|
|
5304
|
-
|
|
5305
|
-
|
|
5306
|
-
|
|
5307
|
-
|
|
5308
|
-
|
|
5309
|
-
|
|
5310
|
-
|
|
5311
|
-
|
|
5312
|
-
|
|
5313
|
-
|
|
5314
|
-
|
|
5315
|
-
|
|
5316
|
-
|
|
5317
|
-
|
|
5318
|
-
/**
|
|
5319
|
-
* Submits a session payment
|
|
5320
|
-
*/
|
|
5321
|
-
submitPayment(data: any): Promise<CheckoutSessionPaymentResponse>;
|
|
5322
|
-
/**
|
|
5323
|
-
* Submits session payment additional details
|
|
5324
|
-
*/
|
|
5325
|
-
submitDetails(data: AdditionalDetailsStateData['data']): Promise<CheckoutSessionDetailsResponse>;
|
|
5326
|
-
/**
|
|
5327
|
-
* Checks the balance for a payment method
|
|
5328
|
-
*/
|
|
5329
|
-
checkBalance(data: any): Promise<CheckoutSessionBalanceResponse>;
|
|
5270
|
+
interface CAActions {
|
|
5271
|
+
channel: 'Web';
|
|
5272
|
+
platform: 'Web';
|
|
5273
|
+
info: AnalyticsObject[];
|
|
5274
|
+
errors: AnalyticsObject[];
|
|
5275
|
+
logs: AnalyticsObject[];
|
|
5276
|
+
}
|
|
5277
|
+
interface EventsQueueModule {
|
|
5278
|
+
add: (t: string, o: AnalyticsObject) => void;
|
|
5279
|
+
run: (id: string) => Promise<any>;
|
|
5280
|
+
getQueue: () => CAActions;
|
|
5281
|
+
}
|
|
5282
|
+
|
|
5283
|
+
type PaymentActionsType = keyof typeof actionTypes;
|
|
5284
|
+
/**
|
|
5285
|
+
* {@link https://docs.adyen.com/api-explorer/#/PaymentSetupAndVerificationService/v51/payments__resParam_action API Explorer /payments action}
|
|
5286
|
+
*/
|
|
5287
|
+
interface PaymentAction {
|
|
5330
5288
|
/**
|
|
5331
|
-
*
|
|
5289
|
+
* General type of action that needs to be taken by the client
|
|
5332
5290
|
*/
|
|
5333
|
-
|
|
5291
|
+
type: PaymentActionsType | string;
|
|
5334
5292
|
/**
|
|
5335
|
-
*
|
|
5293
|
+
* Refinement of type of action that needs to be taken by the client (currently only applies to the new 'threeDS2' type)
|
|
5336
5294
|
*/
|
|
5337
|
-
|
|
5295
|
+
subtype?: string;
|
|
5338
5296
|
/**
|
|
5339
|
-
*
|
|
5297
|
+
* Specifies the payment method.
|
|
5340
5298
|
*/
|
|
5341
|
-
|
|
5299
|
+
paymentMethodType: string;
|
|
5342
5300
|
/**
|
|
5343
|
-
*
|
|
5301
|
+
* When non-empty, contains a value that you must submit to the /payments/details endpoint. In some cases, required for polling.
|
|
5344
5302
|
*/
|
|
5345
|
-
|
|
5303
|
+
paymentData?: string;
|
|
5304
|
+
authorisationToken?: string;
|
|
5346
5305
|
/**
|
|
5347
|
-
*
|
|
5306
|
+
* Specifies the HTTP method, for example GET or POST.
|
|
5348
5307
|
*/
|
|
5349
|
-
|
|
5350
|
-
}
|
|
5351
|
-
|
|
5352
|
-
declare class CardElement extends UIElement<CardConfiguration> {
|
|
5353
|
-
static type: TxVariants;
|
|
5354
|
-
private readonly clickToPayService;
|
|
5308
|
+
method?: string;
|
|
5355
5309
|
/**
|
|
5356
|
-
*
|
|
5310
|
+
* Specifies the URL to redirect to.
|
|
5357
5311
|
*/
|
|
5358
|
-
|
|
5359
|
-
|
|
5360
|
-
|
|
5361
|
-
|
|
5362
|
-
|
|
5363
|
-
|
|
5364
|
-
|
|
5365
|
-
|
|
5366
|
-
|
|
5367
|
-
|
|
5368
|
-
|
|
5369
|
-
|
|
5370
|
-
|
|
5371
|
-
|
|
5372
|
-
/** props.brand will be specified in the case of a StoredCard or a Bancontact component, for a regular Card we default it to 'card' */
|
|
5373
|
-
brand: string;
|
|
5374
|
-
countryCode: string;
|
|
5375
|
-
configuration: {
|
|
5376
|
-
socialSecurityNumberMode: SocialSecurityMode;
|
|
5377
|
-
visaSrciDpaId?: string;
|
|
5378
|
-
visaSrcInitiatorId?: string;
|
|
5379
|
-
mcSrcClientId?: string;
|
|
5380
|
-
mcDpaId?: string;
|
|
5381
|
-
merchantIdentifier?: string;
|
|
5382
|
-
merchantOrigin?: string;
|
|
5383
|
-
gatewayMerchantId?: string;
|
|
5384
|
-
publicKeyId?: string;
|
|
5385
|
-
region?: string;
|
|
5386
|
-
merchantName?: string;
|
|
5387
|
-
merchantId?: string;
|
|
5388
|
-
intent?: string;
|
|
5389
|
-
koreanAuthenticationRequired?: boolean;
|
|
5390
|
-
icon?: string;
|
|
5391
|
-
brandsConfiguration?: CardBrandsConfiguration;
|
|
5392
|
-
};
|
|
5393
|
-
brandsConfiguration: CardBrandsConfiguration;
|
|
5394
|
-
icon: string;
|
|
5395
|
-
installmentOptions: InstallmentOptions;
|
|
5396
|
-
enableStoreDetails: boolean;
|
|
5397
|
-
showStoreDetailsCheckbox: boolean;
|
|
5398
|
-
/**
|
|
5399
|
-
* Click to Pay configuration
|
|
5400
|
-
* - If email is set explicitly in the configuration, then it can override the one used in the session creation
|
|
5401
|
-
*/
|
|
5402
|
-
clickToPayConfiguration: {
|
|
5403
|
-
disableOtpAutoFocus: boolean;
|
|
5404
|
-
shopperEmail: any;
|
|
5405
|
-
telephoneNumber: any;
|
|
5406
|
-
locale: string;
|
|
5407
|
-
merchantDisplayName?: string;
|
|
5408
|
-
onReady?(): void;
|
|
5409
|
-
onTimeout?(error: TimeoutError): void;
|
|
5410
|
-
};
|
|
5411
|
-
_disableClickToPay?: boolean;
|
|
5412
|
-
fundingSource?: "debit" | "credit";
|
|
5413
|
-
type?: string;
|
|
5414
|
-
brands?: string[];
|
|
5415
|
-
positionHolderNameOnTop?: boolean;
|
|
5416
|
-
showBrandIcon?: boolean;
|
|
5417
|
-
showFormInstruction?: boolean;
|
|
5418
|
-
showContextualElement?: boolean;
|
|
5419
|
-
hideCVC?: boolean;
|
|
5420
|
-
hasHolderName?: boolean;
|
|
5421
|
-
placeholders?: Partial<Record<"holderName" | "cardNumber" | "expiryDate" | "expiryMonth" | "expiryYear" | "securityCodeThreeDigits" | "securityCodeFourDigits" | "password", string>>;
|
|
5422
|
-
challengeWindowSize?: "01" | "02" | "03" | "04" | "05";
|
|
5423
|
-
data?: {
|
|
5424
|
-
holderName?: string;
|
|
5425
|
-
billingAddress?: Partial<AddressData>;
|
|
5426
|
-
};
|
|
5427
|
-
onLoad?: (event: CbObjOnLoad) => void;
|
|
5428
|
-
onConfigSuccess?: (event: CbObjOnConfigSuccess) => void;
|
|
5429
|
-
onFieldValid?: (event: CbObjOnFieldValid) => void;
|
|
5430
|
-
onBrand?: (event: CbObjOnBrand) => void;
|
|
5431
|
-
onFocus?: (event: CbObjOnFocus | ComponentFocusObject) => void;
|
|
5432
|
-
onBlur?: (event: CbObjOnFocus | ComponentFocusObject) => void;
|
|
5433
|
-
onBinValue?: (event: CbObjOnBinValue) => void;
|
|
5434
|
-
onBinLookup?: (event: CbObjOnBinLookup) => void;
|
|
5435
|
-
lastFour?: string;
|
|
5436
|
-
billingAddressMode?: "none" | "full" | "partial";
|
|
5437
|
-
billingAddressRequiredFields?: string[]; /**
|
|
5438
|
-
* Click to Pay configuration
|
|
5439
|
-
* - If email is set explicitly in the configuration, then it can override the one used in the session creation
|
|
5440
|
-
*/
|
|
5441
|
-
billingAddressAllowedCountries?: string[];
|
|
5442
|
-
id?: string;
|
|
5443
|
-
showInstallmentAmounts?: boolean;
|
|
5444
|
-
legacyInputMode?: boolean;
|
|
5445
|
-
minimumExpiryDate?: string[];
|
|
5446
|
-
autoFocus?: boolean;
|
|
5447
|
-
maskSecurityCode?: boolean;
|
|
5448
|
-
doBinLookup?: boolean;
|
|
5449
|
-
disableIOSArrowKeys?: boolean;
|
|
5450
|
-
disclaimerMessage?: DisclaimerMsgObject;
|
|
5451
|
-
styles?: StylesObject;
|
|
5452
|
-
supportedShopperInteractions?: string[];
|
|
5453
|
-
keypadFix?: boolean;
|
|
5454
|
-
expiryMonth?: string;
|
|
5455
|
-
order?: Order;
|
|
5456
|
-
modules?: {
|
|
5457
|
-
srPanel?: SRPanel;
|
|
5458
|
-
analytics?: AnalyticsModule;
|
|
5459
|
-
resources?: Resources;
|
|
5460
|
-
risk?: RiskElement;
|
|
5461
|
-
};
|
|
5462
|
-
isDropin?: boolean;
|
|
5463
|
-
beforeRedirect?: (resolve: () => void, reject: () => void, redirectData: {
|
|
5464
|
-
url: string;
|
|
5465
|
-
method: string;
|
|
5466
|
-
data?: any;
|
|
5467
|
-
}) => void;
|
|
5468
|
-
beforeSubmit?: (state: any, element: UIElement<UIElementProps>, actions: {
|
|
5469
|
-
resolve: (data: any) => void;
|
|
5470
|
-
reject: () => void;
|
|
5471
|
-
}) => void;
|
|
5472
|
-
onSubmit?: (state: any, element: UIElement<UIElementProps>, actions: {
|
|
5473
|
-
resolve: (response: CheckoutAdvancedFlowResponse) => void;
|
|
5474
|
-
reject: (error?: Pick<CheckoutAdvancedFlowResponse, "error">) => void;
|
|
5475
|
-
}) => void;
|
|
5476
|
-
onAdditionalDetails?: (state: AdditionalDetailsStateData, element: UIElement<UIElementProps>, actions: {
|
|
5477
|
-
resolve: (response: CheckoutAdvancedFlowResponse) => void;
|
|
5478
|
-
reject: () => void;
|
|
5479
|
-
}) => void;
|
|
5480
|
-
onPaymentFailed?: (data?: SessionsResponse | {
|
|
5481
|
-
resultCode: ResultCode;
|
|
5482
|
-
}, element?: UIElement<UIElementProps>) => void;
|
|
5483
|
-
onPaymentCompleted?: (data: SessionsResponse | {
|
|
5484
|
-
resultCode: ResultCode; /** props.brand will be specified in the case of a StoredCard or a Bancontact component, for a regular Card we default it to 'card' */
|
|
5485
|
-
donationToken?: string;
|
|
5486
|
-
}, element?: UIElement<UIElementProps>) => void;
|
|
5487
|
-
onOrderUpdated?: (data: {
|
|
5488
|
-
order: Order;
|
|
5489
|
-
}) => void;
|
|
5490
|
-
onPaymentMethodsRequest?: (data: PaymentMethodsRequestData, actions: {
|
|
5491
|
-
resolve: (response: PaymentMethodsResponse) => void;
|
|
5492
|
-
reject: () => void;
|
|
5493
|
-
}) => void;
|
|
5494
|
-
onChange?: (state: any, element: UIElement<UIElementProps>) => void;
|
|
5495
|
-
onActionHandled?: (data: ActionHandledReturnObject) => void;
|
|
5496
|
-
onError?: (error: AdyenCheckoutError, element?: UIElement<UIElementProps>) => void;
|
|
5497
|
-
environment?: string;
|
|
5498
|
-
session?: Session;
|
|
5499
|
-
onComplete?: (state: any, element: UIElement<UIElementProps>) => void;
|
|
5500
|
-
isInstantPayment?: boolean;
|
|
5501
|
-
isStoredPaymentMethod?: boolean;
|
|
5502
|
-
oneClick?: boolean;
|
|
5503
|
-
statusType?: "redirect" | "loading" | "custom";
|
|
5504
|
-
name?: string;
|
|
5505
|
-
amount?: PaymentAmount;
|
|
5506
|
-
secondaryAmount?: PaymentAmountExtended;
|
|
5507
|
-
showPayButton?: boolean;
|
|
5508
|
-
payButton?: (options: PayButtonFunctionProps) => h.JSX.Element;
|
|
5509
|
-
loadingContext?: string;
|
|
5510
|
-
createFromAction?: (action: PaymentAction, props: object) => UIElement<UIElementProps>;
|
|
5511
|
-
clientKey?: string;
|
|
5512
|
-
elementRef?: any;
|
|
5513
|
-
i18n?: Language;
|
|
5514
|
-
label?: string;
|
|
5515
|
-
paymentMethodType?: string;
|
|
5516
|
-
};
|
|
5312
|
+
url?: string;
|
|
5313
|
+
alternativeReference?: string;
|
|
5314
|
+
downloadUrl?: string;
|
|
5315
|
+
entity?: string;
|
|
5316
|
+
expiresAt?: string;
|
|
5317
|
+
instructionsUrl?: string;
|
|
5318
|
+
issuer?: string;
|
|
5319
|
+
maskedTelephoneNumber?: string;
|
|
5320
|
+
merchantName?: string;
|
|
5321
|
+
merchantReference?: string;
|
|
5322
|
+
reference?: string;
|
|
5323
|
+
shopperEmail?: string;
|
|
5324
|
+
shopperName?: string;
|
|
5325
|
+
qrCodeData?: string;
|
|
5517
5326
|
/**
|
|
5518
|
-
*
|
|
5327
|
+
* A token to pass to the 3DS2 Component to get the fingerprint/challenge.
|
|
5519
5328
|
*/
|
|
5520
|
-
formatData(): CardElementData;
|
|
5521
|
-
updateStyles(stylesObj: any): this;
|
|
5522
|
-
setFocusOn(fieldName: any): this;
|
|
5523
|
-
onBrand: (event: any) => void;
|
|
5524
|
-
processBinLookupResponse(binLookupResponse: BinLookupResponse, isReset?: boolean): this;
|
|
5525
|
-
handleUnsupportedCard(errObj: any): this;
|
|
5526
|
-
private handleClickToPaySubmit;
|
|
5527
|
-
onBinLookup(obj: CbObjOnBinLookup): void;
|
|
5528
|
-
protected submitAnalytics(analyticsObj: SendAnalyticsObject): void;
|
|
5529
|
-
private onConfigSuccess;
|
|
5530
|
-
private onFocus;
|
|
5531
|
-
private onBlur;
|
|
5532
|
-
private onValidationErrorAnalytics;
|
|
5533
|
-
onBinValue: (callbackObj: CbObjOnBinValue) => void;
|
|
5534
|
-
get storePaymentMethodPayload(): {
|
|
5535
|
-
storePaymentMethod?: undefined;
|
|
5536
|
-
} | {
|
|
5537
|
-
storePaymentMethod: boolean;
|
|
5538
|
-
};
|
|
5539
|
-
get isValid(): boolean;
|
|
5540
|
-
get icon(): string;
|
|
5541
|
-
get brands(): {
|
|
5542
|
-
icon: any;
|
|
5543
|
-
name: string;
|
|
5544
|
-
}[];
|
|
5545
|
-
get displayName(): string;
|
|
5546
|
-
get accessibleName(): string;
|
|
5547
|
-
get browserInfo(): BrowserInfo;
|
|
5548
|
-
protected payButton: (props: PayButtonProps) => h.JSX.Element;
|
|
5549
|
-
private renderCardInput;
|
|
5550
|
-
render(): h.JSX.Element;
|
|
5551
|
-
}
|
|
5552
|
-
|
|
5553
|
-
interface ThreeDS2DeviceFingerprintConfiguration {
|
|
5554
|
-
dataKey?: string;
|
|
5555
5329
|
token?: string;
|
|
5556
|
-
|
|
5557
|
-
|
|
5558
|
-
|
|
5559
|
-
|
|
5560
|
-
|
|
5561
|
-
isMDFlow?: boolean;
|
|
5562
|
-
loadingContext?: string;
|
|
5563
|
-
clientKey?: string;
|
|
5564
|
-
elementRef?: UIElement;
|
|
5565
|
-
onActionHandled: (rtnObj: ActionHandledReturnObject) => void;
|
|
5566
|
-
modules?: {
|
|
5567
|
-
analytics: AnalyticsModule;
|
|
5330
|
+
/**
|
|
5331
|
+
* An object containing data to be used in external SDKs like PayPal Buttons SDK.
|
|
5332
|
+
*/
|
|
5333
|
+
sdkData?: {
|
|
5334
|
+
[key: string]: any;
|
|
5568
5335
|
};
|
|
5569
5336
|
}
|
|
5570
|
-
|
|
5571
|
-
|
|
5572
|
-
|
|
5573
|
-
|
|
5574
|
-
|
|
5575
|
-
|
|
5576
|
-
|
|
5577
|
-
|
|
5578
|
-
|
|
5579
|
-
|
|
5580
|
-
|
|
5581
|
-
|
|
5582
|
-
|
|
5583
|
-
|
|
5584
|
-
|
|
5585
|
-
|
|
5337
|
+
type Issuer = {
|
|
5338
|
+
id: string;
|
|
5339
|
+
name: string;
|
|
5340
|
+
disabled?: boolean;
|
|
5341
|
+
};
|
|
5342
|
+
interface PaymentMethod {
|
|
5343
|
+
/**
|
|
5344
|
+
* The unique payment method code.
|
|
5345
|
+
*/
|
|
5346
|
+
type: string;
|
|
5347
|
+
/**
|
|
5348
|
+
* The displayable name of this payment method.
|
|
5349
|
+
*/
|
|
5350
|
+
name: string;
|
|
5351
|
+
/**
|
|
5352
|
+
* A list of issuers for this payment method.
|
|
5353
|
+
*/
|
|
5354
|
+
issuers?: Issuer[];
|
|
5355
|
+
/**
|
|
5356
|
+
* Configuration props as set by the merchant in the CA and received in the PM object in the /paymentMethods response
|
|
5357
|
+
*/
|
|
5358
|
+
configuration?: object;
|
|
5359
|
+
/**
|
|
5360
|
+
* Brand for the selected gift card. For example: plastix, hmclub.
|
|
5361
|
+
*/
|
|
5362
|
+
brand?: string;
|
|
5363
|
+
/**
|
|
5364
|
+
* List of possible brands. For example: visa, mc.
|
|
5365
|
+
*/
|
|
5366
|
+
brands?: string[];
|
|
5367
|
+
/**
|
|
5368
|
+
* The funding source of the payment method.
|
|
5369
|
+
*/
|
|
5370
|
+
fundingSource?: 'debit' | 'credit';
|
|
5371
|
+
/**
|
|
5372
|
+
* The group where this payment method belongs to.
|
|
5373
|
+
*/
|
|
5374
|
+
group?: PaymentMethodGroup;
|
|
5586
5375
|
}
|
|
5587
5376
|
/**
|
|
5588
|
-
*
|
|
5589
|
-
* https://docs.adyen.com/
|
|
5590
|
-
* Indicates whether a transaction was authenticated, or whether additional verification is required.
|
|
5377
|
+
* List of the available payment methods
|
|
5378
|
+
* {@link https://docs.adyen.com/api-explorer/Checkout/70/post/paymentMethods API Explorer /paymentMethods}.
|
|
5591
5379
|
*/
|
|
5592
|
-
|
|
5593
|
-
|
|
5594
|
-
|
|
5595
|
-
|
|
5596
|
-
|
|
5597
|
-
|
|
5598
|
-
|
|
5380
|
+
interface PaymentMethodsResponse {
|
|
5381
|
+
/**
|
|
5382
|
+
* Detailed list of payment methods required to generate payment forms.
|
|
5383
|
+
*/
|
|
5384
|
+
paymentMethods?: PaymentMethod[];
|
|
5385
|
+
/**
|
|
5386
|
+
* List of all stored payment methods.
|
|
5387
|
+
*/
|
|
5388
|
+
storedPaymentMethods?: StoredPaymentMethod[];
|
|
5389
|
+
}
|
|
5390
|
+
interface StoredPaymentMethod extends PaymentMethod {
|
|
5391
|
+
id: string;
|
|
5392
|
+
name: string;
|
|
5393
|
+
supportedShopperInteractions: string[];
|
|
5394
|
+
expiryMonth?: string;
|
|
5395
|
+
expiryYear?: string;
|
|
5396
|
+
holderName?: string;
|
|
5397
|
+
iban?: string;
|
|
5398
|
+
lastFour?: string;
|
|
5399
|
+
networkTxReference?: string;
|
|
5400
|
+
ownerName?: string;
|
|
5401
|
+
shopperEmail?: string;
|
|
5402
|
+
/** The shopper’s issuer account label */
|
|
5403
|
+
label?: string;
|
|
5404
|
+
/**
|
|
5405
|
+
* A unique identifier of this stored payment method. Mapped from 'storedPaymentMethod.id'
|
|
5406
|
+
* @internal
|
|
5407
|
+
*/
|
|
5408
|
+
storedPaymentMethodId?: string;
|
|
5409
|
+
/**
|
|
5410
|
+
* Internal flag
|
|
5411
|
+
* @internal
|
|
5412
|
+
*/
|
|
5413
|
+
isStoredPaymentMethod?: boolean;
|
|
5414
|
+
}
|
|
5415
|
+
/**
|
|
5416
|
+
* The group where this payment method belongs to.
|
|
5417
|
+
*/
|
|
5418
|
+
interface PaymentMethodGroup {
|
|
5419
|
+
/**
|
|
5420
|
+
* The name of the group.
|
|
5421
|
+
*/
|
|
5422
|
+
name: string;
|
|
5423
|
+
/**
|
|
5424
|
+
* Echo data to be used if the payment method is displayed as part of this group.
|
|
5425
|
+
*/
|
|
5426
|
+
paymentMethodData: string;
|
|
5427
|
+
/**
|
|
5428
|
+
* The unique code of the group.
|
|
5429
|
+
*/
|
|
5430
|
+
type: string;
|
|
5431
|
+
}
|
|
5432
|
+
interface ProcessedResponse {
|
|
5433
|
+
type: string;
|
|
5434
|
+
props?: object;
|
|
5435
|
+
}
|
|
5436
|
+
/**
|
|
5437
|
+
* {@link https://docs.adyen.com/api-explorer/#/PaymentSetupAndVerificationService/v52/payments__reqParam_amount API Explorer /payments amount}
|
|
5438
|
+
*/
|
|
5439
|
+
interface PaymentAmount {
|
|
5440
|
+
value: number;
|
|
5441
|
+
currency: string;
|
|
5442
|
+
}
|
|
5443
|
+
interface PaymentAmountExtended extends PaymentAmount {
|
|
5444
|
+
/**
|
|
5445
|
+
* Adds currencyDisplay prop - as a way for the merchant to influence the final display of the amount on the pay button.
|
|
5446
|
+
* Defaults to 'symbol'.
|
|
5447
|
+
* see: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/NumberFormat/NumberFormat#currencydisplay
|
|
5448
|
+
*/
|
|
5449
|
+
currencyDisplay?: string;
|
|
5450
|
+
}
|
|
5451
|
+
type AddressField = (typeof ADDRESS_SCHEMA)[number];
|
|
5452
|
+
type AddressData = {
|
|
5453
|
+
[key in AddressField]?: string;
|
|
5454
|
+
};
|
|
5455
|
+
interface PersonalDetailsSchema {
|
|
5456
|
+
firstName?: string;
|
|
5457
|
+
lastName?: string;
|
|
5458
|
+
gender?: string;
|
|
5459
|
+
dateOfBirth?: string;
|
|
5460
|
+
shopperEmail?: string;
|
|
5461
|
+
telephoneNumber?: string;
|
|
5462
|
+
}
|
|
5463
|
+
interface Order {
|
|
5464
|
+
/**
|
|
5465
|
+
* The encrypted order data.
|
|
5466
|
+
*/
|
|
5467
|
+
orderData: string;
|
|
5468
|
+
/**
|
|
5469
|
+
* The pspReference that belongs to the order.
|
|
5470
|
+
*/
|
|
5471
|
+
pspReference: string;
|
|
5472
|
+
/**
|
|
5473
|
+
* The remaining amount to complete the order.
|
|
5474
|
+
*/
|
|
5475
|
+
remainingAmount?: PaymentAmount;
|
|
5476
|
+
}
|
|
5477
|
+
interface OrderStatus {
|
|
5478
|
+
expiresAt: string;
|
|
5479
|
+
paymentMethods: {
|
|
5480
|
+
amount?: PaymentAmount;
|
|
5481
|
+
lastFour: string;
|
|
5482
|
+
type: string;
|
|
5483
|
+
}[];
|
|
5484
|
+
pspReference: string;
|
|
5485
|
+
reference: string;
|
|
5486
|
+
remainingAmount: PaymentAmount;
|
|
5487
|
+
}
|
|
5488
|
+
/**
|
|
5489
|
+
* {@link https://docs.adyen.com/api-explorer/#/PaymentSetupAndVerificationService/v52/post/payments__reqParam_browserInfo API Explorer /payments browserInfo}
|
|
5490
|
+
*/
|
|
5491
|
+
interface BrowserInfo {
|
|
5492
|
+
acceptHeader: string;
|
|
5493
|
+
colorDepth: number;
|
|
5494
|
+
language: string;
|
|
5495
|
+
javaEnabled: boolean;
|
|
5496
|
+
screenHeight: number;
|
|
5497
|
+
screenWidth: number;
|
|
5498
|
+
userAgent: string;
|
|
5499
|
+
timeZoneOffset: number;
|
|
5500
|
+
}
|
|
5501
|
+
/**
|
|
5502
|
+
* Visibility options for a fieldset
|
|
5503
|
+
*/
|
|
5504
|
+
type FieldsetVisibility = 'editable' | 'hidden' | 'readOnly';
|
|
5505
|
+
interface PaymentMethodData {
|
|
5506
|
+
paymentMethod: {
|
|
5507
|
+
[key: string]: any;
|
|
5508
|
+
checkoutAttemptId?: string;
|
|
5509
|
+
};
|
|
5510
|
+
browserInfo?: {
|
|
5511
|
+
acceptHeader: string;
|
|
5512
|
+
colorDepth: number;
|
|
5513
|
+
javaEnabled: boolean;
|
|
5514
|
+
language: string;
|
|
5515
|
+
screenHeight: number;
|
|
5516
|
+
screenWidth: number;
|
|
5517
|
+
timeZoneOffset: number;
|
|
5518
|
+
userAgent: string;
|
|
5519
|
+
};
|
|
5599
5520
|
}
|
|
5600
|
-
|
|
5601
|
-
|
|
5602
|
-
|
|
5603
|
-
|
|
5604
|
-
|
|
5521
|
+
/**
|
|
5522
|
+
* Represents the payment data that will be submitted to the /payments endpoint
|
|
5523
|
+
*/
|
|
5524
|
+
interface PaymentData extends PaymentMethodData {
|
|
5525
|
+
riskData?: {
|
|
5526
|
+
clientData: string;
|
|
5527
|
+
};
|
|
5528
|
+
order?: {
|
|
5529
|
+
orderData: string;
|
|
5530
|
+
pspReference: string;
|
|
5531
|
+
};
|
|
5532
|
+
clientStateDataIndicator: boolean;
|
|
5533
|
+
sessionData?: string;
|
|
5534
|
+
storePaymentMethod?: boolean;
|
|
5605
5535
|
}
|
|
5606
|
-
|
|
5607
|
-
|
|
5608
|
-
|
|
5609
|
-
|
|
5610
|
-
|
|
5536
|
+
type ResultCode = 'AuthenticationFinished' | 'AuthenticationNotRequired' | 'Authorised' | 'Cancelled' | 'ChallengeShopper' | 'Error' | 'IdentifyShopper' | 'PartiallyAuthorised' | 'Pending' | 'PresentToShopper' | 'Received' | 'RedirectShopper' | 'Refused';
|
|
5537
|
+
type SessionsResponse = {
|
|
5538
|
+
sessionData: string;
|
|
5539
|
+
sessionResult: string;
|
|
5540
|
+
resultCode: ResultCode;
|
|
5541
|
+
};
|
|
5542
|
+
interface PaymentMethodsRequestData {
|
|
5543
|
+
order?: Order;
|
|
5544
|
+
locale?: string;
|
|
5545
|
+
countryCode?: string;
|
|
5611
5546
|
}
|
|
5612
|
-
interface
|
|
5613
|
-
|
|
5614
|
-
|
|
5615
|
-
|
|
5616
|
-
|
|
5547
|
+
interface CheckoutAdvancedFlowResponse {
|
|
5548
|
+
resultCode: ResultCode;
|
|
5549
|
+
action?: PaymentAction;
|
|
5550
|
+
order?: Order;
|
|
5551
|
+
donationToken?: string;
|
|
5552
|
+
error?: {
|
|
5553
|
+
googlePayError?: google.payments.api.PaymentDataError | string;
|
|
5554
|
+
applePayError?: ApplePayJS.ApplePayError[] | ApplePayJS.ApplePayError;
|
|
5555
|
+
};
|
|
5617
5556
|
}
|
|
5618
|
-
interface
|
|
5557
|
+
interface PaymentResponseData {
|
|
5558
|
+
resultCode: ResultCode;
|
|
5619
5559
|
type?: string;
|
|
5620
|
-
|
|
5621
|
-
|
|
5622
|
-
|
|
5623
|
-
|
|
5624
|
-
|
|
5625
|
-
acsTransID?: string;
|
|
5626
|
-
acsURL?: string;
|
|
5627
|
-
messageVersion?: string;
|
|
5628
|
-
threeDSNotificationURL?: string;
|
|
5629
|
-
threeDSServerTransID?: string;
|
|
5630
|
-
threeDSMethodNotificationURL?: string;
|
|
5631
|
-
threeDSMethodUrl?: string;
|
|
5560
|
+
action?: PaymentAction;
|
|
5561
|
+
sessionData?: string;
|
|
5562
|
+
sessionResult?: string;
|
|
5563
|
+
order?: Order;
|
|
5564
|
+
donationToken?: string;
|
|
5632
5565
|
}
|
|
5633
|
-
|
|
5634
|
-
|
|
5635
|
-
|
|
5636
|
-
|
|
5637
|
-
|
|
5566
|
+
type RawPaymentResponse = PaymentResponseData & CheckoutAdvancedFlowResponse & {
|
|
5567
|
+
[key: string]: any;
|
|
5568
|
+
};
|
|
5569
|
+
type ActionDescriptionType = 'qr-code-loaded' | 'polling-started' | 'fingerprint-iframe-loaded' | string;
|
|
5570
|
+
interface ActionHandledReturnObject {
|
|
5571
|
+
componentType: string;
|
|
5572
|
+
actionDescription: ActionDescriptionType;
|
|
5638
5573
|
}
|
|
5639
|
-
type
|
|
5640
|
-
|
|
5641
|
-
|
|
5642
|
-
|
|
5574
|
+
type AdditionalDetailsStateData = {
|
|
5575
|
+
data: {
|
|
5576
|
+
details: {
|
|
5577
|
+
redirectResult?: string;
|
|
5578
|
+
threeDSResult?: string;
|
|
5579
|
+
[key: string]: any;
|
|
5580
|
+
};
|
|
5581
|
+
paymentData?: string;
|
|
5582
|
+
sessionData?: string;
|
|
5583
|
+
};
|
|
5643
5584
|
};
|
|
5644
|
-
|
|
5645
|
-
|
|
5646
|
-
|
|
5647
|
-
|
|
5648
|
-
|
|
5585
|
+
interface AnalyticsModule {
|
|
5586
|
+
setUp: (a: AnalyticsInitialEvent) => Promise<any>;
|
|
5587
|
+
getCheckoutAttemptId: () => string;
|
|
5588
|
+
getEventsQueue: () => EventsQueueModule;
|
|
5589
|
+
createAnalyticsEvent: (a: CreateAnalyticsEventObject) => AnalyticsObject;
|
|
5590
|
+
getEnabled: () => boolean;
|
|
5591
|
+
sendAnalytics: (component: string, analyticsObj: SendAnalyticsObject, uiElementProps?: any) => void;
|
|
5592
|
+
}
|
|
5593
|
+
type ComponentFocusObject = {
|
|
5594
|
+
fieldType: string;
|
|
5595
|
+
event: Event | CbObjOnFocus;
|
|
5649
5596
|
};
|
|
5650
|
-
type
|
|
5651
|
-
|
|
5652
|
-
|
|
5653
|
-
|
|
5654
|
-
authorisationToken: string;
|
|
5597
|
+
type DecodeObject = {
|
|
5598
|
+
success: boolean;
|
|
5599
|
+
error?: string;
|
|
5600
|
+
data?: string;
|
|
5655
5601
|
};
|
|
5656
5602
|
|
|
5657
|
-
|
|
5658
|
-
|
|
5659
|
-
|
|
5660
|
-
|
|
5661
|
-
|
|
5662
|
-
type: string;
|
|
5663
|
-
};
|
|
5664
|
-
protected submitAnalytics: (aObj: SendAnalyticsObject) => void;
|
|
5665
|
-
onComplete(state: any): void;
|
|
5666
|
-
render(): h.JSX.Element;
|
|
5667
|
-
}
|
|
5668
|
-
|
|
5669
|
-
declare class ThreeDS2DeviceFingerprint extends UIElement<ThreeDS2DeviceFingerprintConfiguration> {
|
|
5670
|
-
static type: TxVariants;
|
|
5671
|
-
static defaultProps: {
|
|
5672
|
-
dataKey: string;
|
|
5673
|
-
type: string;
|
|
5603
|
+
interface InstallmentOptions {
|
|
5604
|
+
[key: string]: {
|
|
5605
|
+
values: number[];
|
|
5606
|
+
plans?: string[];
|
|
5607
|
+
preselectedValue?: number;
|
|
5674
5608
|
};
|
|
5675
|
-
private callSubmit3DS2Fingerprint;
|
|
5676
|
-
protected submitAnalytics: (aObj: SendAnalyticsObject) => void;
|
|
5677
|
-
onComplete(state: any): void;
|
|
5678
|
-
render(): h.JSX.Element;
|
|
5679
|
-
}
|
|
5680
|
-
|
|
5681
|
-
interface ANCVConfiguration extends UIElementProps {
|
|
5682
|
-
paymentData?: any;
|
|
5683
|
-
data: ANCVDataState;
|
|
5684
|
-
onOrderRequest?: any;
|
|
5685
|
-
onOrderUpdated?: any;
|
|
5686
|
-
}
|
|
5687
|
-
interface ANCVDataState {
|
|
5688
|
-
beneficiaryId: string;
|
|
5689
5609
|
}
|
|
5690
5610
|
|
|
5691
|
-
|
|
5692
|
-
|
|
5693
|
-
|
|
5694
|
-
|
|
5695
|
-
reference?: string;
|
|
5696
|
-
}
|
|
5697
|
-
interface BoletoInputDataState {
|
|
5698
|
-
firstName?: string;
|
|
5699
|
-
lastName?: string;
|
|
5611
|
+
type CheckoutSession = {
|
|
5612
|
+
id: string;
|
|
5613
|
+
sessionData: string;
|
|
5614
|
+
shopperLocale?: string;
|
|
5700
5615
|
shopperEmail?: string;
|
|
5701
|
-
|
|
5702
|
-
|
|
5703
|
-
|
|
5704
|
-
|
|
5705
|
-
|
|
5706
|
-
|
|
5707
|
-
|
|
5708
|
-
|
|
5709
|
-
|
|
5710
|
-
|
|
5711
|
-
|
|
5712
|
-
|
|
5713
|
-
|
|
5714
|
-
|
|
5715
|
-
|
|
5716
|
-
|
|
5717
|
-
|
|
5718
|
-
|
|
5719
|
-
|
|
5720
|
-
|
|
5721
|
-
|
|
5722
|
-
|
|
5723
|
-
|
|
5724
|
-
|
|
5725
|
-
|
|
5726
|
-
|
|
5727
|
-
|
|
5728
|
-
|
|
5729
|
-
|
|
5616
|
+
telephoneNumber?: string;
|
|
5617
|
+
};
|
|
5618
|
+
type SessionConfiguration = {
|
|
5619
|
+
installmentOptions?: InstallmentOptions;
|
|
5620
|
+
enableStoreDetails?: boolean;
|
|
5621
|
+
};
|
|
5622
|
+
type CheckoutSessionSetupResponse = {
|
|
5623
|
+
id: string;
|
|
5624
|
+
sessionData: string;
|
|
5625
|
+
countryCode?: string;
|
|
5626
|
+
amount: PaymentAmount;
|
|
5627
|
+
expiresAt: string;
|
|
5628
|
+
paymentMethods: any;
|
|
5629
|
+
returnUrl: string;
|
|
5630
|
+
configuration: SessionConfiguration;
|
|
5631
|
+
/**
|
|
5632
|
+
* 'shopperLocale' set during session creation.
|
|
5633
|
+
* @defaultValue en-US
|
|
5634
|
+
*/
|
|
5635
|
+
shopperLocale: string;
|
|
5636
|
+
};
|
|
5637
|
+
type CheckoutSessionPaymentResponse = {
|
|
5638
|
+
sessionData: string;
|
|
5639
|
+
sessionResult: string;
|
|
5640
|
+
status?: string;
|
|
5641
|
+
resultCode: ResultCode;
|
|
5642
|
+
action?: PaymentAction;
|
|
5643
|
+
};
|
|
5644
|
+
type CheckoutSessionDetailsResponse = {
|
|
5645
|
+
sessionData: string;
|
|
5646
|
+
sessionResult: string;
|
|
5647
|
+
resultCode: ResultCode;
|
|
5648
|
+
status?: string;
|
|
5649
|
+
action?: PaymentAction;
|
|
5650
|
+
};
|
|
5651
|
+
type CheckoutSessionBalanceResponse = {
|
|
5652
|
+
sessionData: string;
|
|
5653
|
+
balance?: PaymentAmount;
|
|
5654
|
+
transactionLimit?: PaymentAmount;
|
|
5655
|
+
};
|
|
5656
|
+
type CheckoutSessionOrdersResponse = {
|
|
5657
|
+
sessionData: string;
|
|
5658
|
+
orderData: string;
|
|
5659
|
+
pspReference: string;
|
|
5660
|
+
};
|
|
5730
5661
|
|
|
5731
|
-
|
|
5732
|
-
|
|
5733
|
-
|
|
5734
|
-
|
|
5735
|
-
|
|
5736
|
-
|
|
5737
|
-
|
|
5738
|
-
|
|
5739
|
-
|
|
5662
|
+
declare class Session {
|
|
5663
|
+
private readonly session;
|
|
5664
|
+
private readonly storage;
|
|
5665
|
+
readonly clientKey: string;
|
|
5666
|
+
readonly loadingContext: string;
|
|
5667
|
+
configuration: SessionConfiguration;
|
|
5668
|
+
constructor(rawSession: Partial<CheckoutSession>, clientKey: string, loadingContext: string);
|
|
5669
|
+
get shopperLocale(): string;
|
|
5670
|
+
get id(): string;
|
|
5671
|
+
get data(): string;
|
|
5672
|
+
/**
|
|
5673
|
+
* Updates the session.data with the latest data blob
|
|
5674
|
+
*/
|
|
5675
|
+
private updateSessionData;
|
|
5676
|
+
/**
|
|
5677
|
+
* Fetches data from a session
|
|
5678
|
+
*/
|
|
5679
|
+
setupSession(options: any): Promise<CheckoutSessionSetupResponse>;
|
|
5680
|
+
/**
|
|
5681
|
+
* Submits a session payment
|
|
5682
|
+
*/
|
|
5683
|
+
submitPayment(data: any): Promise<CheckoutSessionPaymentResponse>;
|
|
5684
|
+
/**
|
|
5685
|
+
* Submits session payment additional details
|
|
5686
|
+
*/
|
|
5687
|
+
submitDetails(data: AdditionalDetailsStateData['data']): Promise<CheckoutSessionDetailsResponse>;
|
|
5688
|
+
/**
|
|
5689
|
+
* Checks the balance for a payment method
|
|
5690
|
+
*/
|
|
5691
|
+
checkBalance(data: any): Promise<CheckoutSessionBalanceResponse>;
|
|
5692
|
+
/**
|
|
5693
|
+
* Creates an order for the current session
|
|
5694
|
+
*/
|
|
5695
|
+
createOrder(): Promise<CheckoutSessionOrdersResponse>;
|
|
5696
|
+
/**
|
|
5697
|
+
* Cancels an order for the current session
|
|
5698
|
+
*/
|
|
5699
|
+
cancelOrder(data: onOrderCancelData): Promise<CheckoutSessionOrdersResponse>;
|
|
5700
|
+
/**
|
|
5701
|
+
* Gets the stored session but only if the current id and the stored id match
|
|
5702
|
+
*/
|
|
5703
|
+
getStoredSession(): CheckoutSession;
|
|
5704
|
+
/**
|
|
5705
|
+
* Stores the session
|
|
5706
|
+
*/
|
|
5707
|
+
storeSession(): void;
|
|
5708
|
+
/**
|
|
5709
|
+
* Clears the stored session
|
|
5710
|
+
*/
|
|
5711
|
+
removeStoredSession(): void;
|
|
5740
5712
|
}
|
|
5741
5713
|
|
|
5742
|
-
declare class
|
|
5743
|
-
static
|
|
5714
|
+
declare class CardElement extends UIElement<CardConfiguration> {
|
|
5715
|
+
static type: TxVariants;
|
|
5716
|
+
private readonly clickToPayService;
|
|
5717
|
+
/**
|
|
5718
|
+
* Reference to the 'ClickToPayComponent'
|
|
5719
|
+
*/
|
|
5720
|
+
private clickToPayRef;
|
|
5721
|
+
constructor(checkout: ICore, props?: CardConfiguration);
|
|
5744
5722
|
protected static defaultProps: {
|
|
5745
|
-
|
|
5746
|
-
|
|
5747
|
-
|
|
5748
|
-
|
|
5749
|
-
|
|
5750
|
-
|
|
5751
|
-
|
|
5752
|
-
|
|
5753
|
-
|
|
5754
|
-
|
|
5755
|
-
|
|
5723
|
+
onBinLookup: () => void;
|
|
5724
|
+
showFormInstruction: boolean;
|
|
5725
|
+
_disableClickToPay: boolean;
|
|
5726
|
+
};
|
|
5727
|
+
setStatus(status: UIElementStatus, props?: any): this;
|
|
5728
|
+
private setClickToPayRef;
|
|
5729
|
+
formatProps(props: CardConfiguration): {
|
|
5730
|
+
storedPaymentMethodId: string;
|
|
5731
|
+
holderNameRequired: boolean;
|
|
5732
|
+
hasCVC: boolean;
|
|
5733
|
+
billingAddressRequired: boolean;
|
|
5734
|
+
/** props.brand will be specified in the case of a StoredCard or a Bancontact component, for a regular Card we default it to 'card' */
|
|
5735
|
+
brand: string;
|
|
5736
|
+
countryCode: string;
|
|
5737
|
+
configuration: {
|
|
5738
|
+
socialSecurityNumberMode: SocialSecurityMode;
|
|
5739
|
+
visaSrciDpaId?: string;
|
|
5740
|
+
visaSrcInitiatorId?: string;
|
|
5741
|
+
mcSrcClientId?: string;
|
|
5742
|
+
mcDpaId?: string;
|
|
5743
|
+
merchantIdentifier?: string;
|
|
5744
|
+
merchantOrigin?: string;
|
|
5745
|
+
gatewayMerchantId?: string;
|
|
5746
|
+
publicKeyId?: string;
|
|
5747
|
+
region?: string;
|
|
5748
|
+
merchantName?: string;
|
|
5749
|
+
merchantId?: string;
|
|
5750
|
+
intent?: string;
|
|
5751
|
+
koreanAuthenticationRequired?: boolean;
|
|
5752
|
+
icon?: string;
|
|
5753
|
+
brandsConfiguration?: CardBrandsConfiguration;
|
|
5756
5754
|
};
|
|
5757
|
-
|
|
5758
|
-
|
|
5759
|
-
|
|
5760
|
-
|
|
5761
|
-
|
|
5762
|
-
|
|
5763
|
-
|
|
5755
|
+
brandsConfiguration: CardBrandsConfiguration;
|
|
5756
|
+
icon: string;
|
|
5757
|
+
installmentOptions: InstallmentOptions;
|
|
5758
|
+
enableStoreDetails: boolean;
|
|
5759
|
+
showStoreDetailsCheckbox: boolean;
|
|
5760
|
+
/**
|
|
5761
|
+
* Click to Pay configuration
|
|
5762
|
+
* - If email is set explicitly in the configuration, then it can override the one used in the session creation
|
|
5763
|
+
*/
|
|
5764
|
+
clickToPayConfiguration: {
|
|
5765
|
+
disableOtpAutoFocus: boolean;
|
|
5766
|
+
shopperEmail: any;
|
|
5767
|
+
telephoneNumber: any;
|
|
5768
|
+
locale: string;
|
|
5769
|
+
merchantDisplayName?: string;
|
|
5770
|
+
onReady?(): void;
|
|
5771
|
+
onTimeout?(error: TimeoutError): void;
|
|
5772
|
+
};
|
|
5773
|
+
_disableClickToPay?: boolean;
|
|
5774
|
+
fundingSource?: "debit" | "credit";
|
|
5775
|
+
type?: string;
|
|
5776
|
+
brands?: string[];
|
|
5777
|
+
positionHolderNameOnTop?: boolean;
|
|
5778
|
+
showBrandIcon?: boolean;
|
|
5764
5779
|
showFormInstruction?: boolean;
|
|
5780
|
+
showContextualElement?: boolean;
|
|
5781
|
+
hideCVC?: boolean;
|
|
5782
|
+
hasHolderName?: boolean;
|
|
5783
|
+
placeholders?: Partial<Record<"holderName" | "cardNumber" | "expiryDate" | "expiryMonth" | "expiryYear" | "securityCodeThreeDigits" | "securityCodeFourDigits" | "password", string>>;
|
|
5784
|
+
challengeWindowSize?: "01" | "02" | "03" | "04" | "05";
|
|
5785
|
+
data?: {
|
|
5786
|
+
holderName?: string;
|
|
5787
|
+
billingAddress?: Partial<AddressData>;
|
|
5788
|
+
};
|
|
5789
|
+
onLoad?: (event: CbObjOnLoad) => void;
|
|
5790
|
+
onConfigSuccess?: (event: CbObjOnConfigSuccess) => void;
|
|
5791
|
+
onFieldValid?: (event: CbObjOnFieldValid) => void;
|
|
5792
|
+
onBrand?: (event: CbObjOnBrand) => void;
|
|
5793
|
+
onFocus?: (event: CbObjOnFocus | ComponentFocusObject) => void;
|
|
5794
|
+
onBlur?: (event: CbObjOnFocus | ComponentFocusObject) => void;
|
|
5795
|
+
onBinValue?: (event: CbObjOnBinValue) => void;
|
|
5796
|
+
onBinLookup?: (event: CbObjOnBinLookup) => void;
|
|
5797
|
+
lastFour?: string;
|
|
5798
|
+
billingAddressMode?: "none" | "full" | "partial";
|
|
5799
|
+
billingAddressRequiredFields?: string[];
|
|
5800
|
+
billingAddressAllowedCountries?: string[];
|
|
5801
|
+
id?: string;
|
|
5802
|
+
showInstallmentAmounts?: boolean;
|
|
5803
|
+
legacyInputMode?: boolean;
|
|
5804
|
+
minimumExpiryDate?: string[];
|
|
5805
|
+
autoFocus?: boolean;
|
|
5806
|
+
maskSecurityCode?: boolean;
|
|
5807
|
+
doBinLookup?: boolean;
|
|
5808
|
+
disableIOSArrowKeys?: boolean;
|
|
5809
|
+
disclaimerMessage?: DisclaimerMsgObject;
|
|
5810
|
+
styles?: StylesObject;
|
|
5811
|
+
supportedShopperInteractions?: string[];
|
|
5812
|
+
keypadFix?: boolean;
|
|
5813
|
+
expiryMonth?: string;
|
|
5765
5814
|
order?: Order;
|
|
5766
5815
|
modules?: {
|
|
5767
5816
|
srPanel?: SRPanel;
|
|
@@ -5801,6 +5850,7 @@ declare class Riverty extends OpenInvoiceContainer {
|
|
|
5801
5850
|
resolve: (response: PaymentMethodsResponse) => void;
|
|
5802
5851
|
reject: () => void;
|
|
5803
5852
|
}) => void;
|
|
5853
|
+
onChange?: (state: any, element: UIElement<UIElementProps>) => void;
|
|
5804
5854
|
onActionHandled?: (data: ActionHandledReturnObject) => void;
|
|
5805
5855
|
onError?: (error: AdyenCheckoutError, element?: UIElement<UIElementProps>) => void;
|
|
5806
5856
|
environment?: string;
|
|
@@ -5809,14 +5859,12 @@ declare class Riverty extends OpenInvoiceContainer {
|
|
|
5809
5859
|
isInstantPayment?: boolean;
|
|
5810
5860
|
isStoredPaymentMethod?: boolean;
|
|
5811
5861
|
oneClick?: boolean;
|
|
5812
|
-
|
|
5813
|
-
statusType?: "redirect" | "loading" | "custom";
|
|
5814
|
-
type?: string;
|
|
5862
|
+
statusType?: "redirect" | "custom" | "loading";
|
|
5815
5863
|
name?: string;
|
|
5816
|
-
icon?: string;
|
|
5817
5864
|
amount?: PaymentAmount;
|
|
5818
5865
|
secondaryAmount?: PaymentAmountExtended;
|
|
5819
5866
|
showPayButton?: boolean;
|
|
5867
|
+
payButton?: (options: PayButtonFunctionProps) => h.JSX.Element;
|
|
5820
5868
|
loadingContext?: string;
|
|
5821
5869
|
createFromAction?: (action: PaymentAction, props: object) => UIElement<UIElementProps>;
|
|
5822
5870
|
clientKey?: string;
|
|
@@ -5825,7 +5873,64 @@ declare class Riverty extends OpenInvoiceContainer {
|
|
|
5825
5873
|
label?: string;
|
|
5826
5874
|
paymentMethodType?: string;
|
|
5827
5875
|
};
|
|
5828
|
-
|
|
5876
|
+
/**
|
|
5877
|
+
* Formats the component data output
|
|
5878
|
+
*/
|
|
5879
|
+
formatData(): CardElementData;
|
|
5880
|
+
updateStyles(stylesObj: any): this;
|
|
5881
|
+
setFocusOn(fieldName: any): this;
|
|
5882
|
+
onBrand: (event: any) => void;
|
|
5883
|
+
processBinLookupResponse(binLookupResponse: BinLookupResponse, isReset?: boolean): this;
|
|
5884
|
+
handleUnsupportedCard(errObj: any): this;
|
|
5885
|
+
private handleClickToPaySubmit;
|
|
5886
|
+
onBinLookup(obj: CbObjOnBinLookup): void;
|
|
5887
|
+
protected submitAnalytics(analyticsObj: SendAnalyticsObject): void;
|
|
5888
|
+
private onConfigSuccess;
|
|
5889
|
+
private onFocus;
|
|
5890
|
+
private onBlur;
|
|
5891
|
+
private onValidationErrorAnalytics;
|
|
5892
|
+
onBinValue: (callbackObj: CbObjOnBinValue) => void;
|
|
5893
|
+
get storePaymentMethodPayload(): {
|
|
5894
|
+
storePaymentMethod?: undefined;
|
|
5895
|
+
} | {
|
|
5896
|
+
storePaymentMethod: boolean;
|
|
5897
|
+
};
|
|
5898
|
+
get isValid(): boolean;
|
|
5899
|
+
get icon(): string;
|
|
5900
|
+
get brands(): {
|
|
5901
|
+
icon: any;
|
|
5902
|
+
name: string;
|
|
5903
|
+
}[];
|
|
5904
|
+
get displayName(): string;
|
|
5905
|
+
get accessibleName(): string;
|
|
5906
|
+
get browserInfo(): BrowserInfo;
|
|
5907
|
+
protected payButton: (props: PayButtonProps) => h.JSX.Element;
|
|
5908
|
+
private renderCardInput;
|
|
5909
|
+
render(): h.JSX.Element;
|
|
5910
|
+
}
|
|
5911
|
+
|
|
5912
|
+
declare class ThreeDS2Challenge extends UIElement<ThreeDS2ChallengeConfiguration> {
|
|
5913
|
+
static type: TxVariants;
|
|
5914
|
+
static defaultProps: {
|
|
5915
|
+
dataKey: string;
|
|
5916
|
+
size: string;
|
|
5917
|
+
type: string;
|
|
5918
|
+
};
|
|
5919
|
+
protected submitAnalytics: (aObj: SendAnalyticsObject) => void;
|
|
5920
|
+
onComplete(state: any): void;
|
|
5921
|
+
render(): h.JSX.Element;
|
|
5922
|
+
}
|
|
5923
|
+
|
|
5924
|
+
declare class ThreeDS2DeviceFingerprint extends UIElement<ThreeDS2DeviceFingerprintConfiguration> {
|
|
5925
|
+
static type: TxVariants;
|
|
5926
|
+
static defaultProps: {
|
|
5927
|
+
dataKey: string;
|
|
5928
|
+
type: string;
|
|
5929
|
+
};
|
|
5930
|
+
private callSubmit3DS2Fingerprint;
|
|
5931
|
+
protected submitAnalytics: (aObj: SendAnalyticsObject) => void;
|
|
5932
|
+
onComplete(state: any): void;
|
|
5933
|
+
render(): h.JSX.Element;
|
|
5829
5934
|
}
|
|
5830
5935
|
|
|
5831
5936
|
declare class OnlineBankingFI extends IssuerListContainer {
|
|
@@ -5898,7 +6003,7 @@ declare class PayMeElement extends QRLoaderContainer {
|
|
|
5898
6003
|
isStoredPaymentMethod?: boolean;
|
|
5899
6004
|
oneClick?: boolean;
|
|
5900
6005
|
storedPaymentMethodId?: string;
|
|
5901
|
-
statusType?: "redirect" | "
|
|
6006
|
+
statusType?: "redirect" | "custom" | "loading";
|
|
5902
6007
|
name?: string;
|
|
5903
6008
|
icon?: string;
|
|
5904
6009
|
amount?: PaymentAmount;
|
|
@@ -6004,7 +6109,7 @@ declare class DropinElement extends UIElement<DropinConfiguration> implements ID
|
|
|
6004
6109
|
isStoredPaymentMethod?: boolean;
|
|
6005
6110
|
oneClick?: boolean;
|
|
6006
6111
|
storedPaymentMethodId?: string;
|
|
6007
|
-
statusType?: "redirect" | "
|
|
6112
|
+
statusType?: "redirect" | "custom" | "loading";
|
|
6008
6113
|
type: string;
|
|
6009
6114
|
name?: string;
|
|
6010
6115
|
icon?: string;
|
|
@@ -6082,58 +6187,6 @@ declare namespace index_d {
|
|
|
6082
6187
|
export { ANCVElement as ANCV, AchElement as Ach, AddressElement as Address, index_d_Affirm as Affirm, index_d_AfterPay as AfterPay, index_d_AfterPayB2B as AfterPayB2B, AmazonPayElement as AmazonPay, ApplePayElement as ApplePay, index_d_Atome as 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, index_d_CashAppPay as CashAppPay, ClickToPayElement as ClickToPay, index_d_CustomCard as 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, GiftcardElement as Giftcard, GiropayElement as Giropay, index_d_GooglePay as GooglePay, IdealElement as Ideal, KlarnaPayments as Klarna, MBWayElement as MBWay, MealVoucherFRElement as MealVoucherFR, MolPayEBankingMYElement as MolPayEBankingMY, MolPayEBankingTHElement as MolPayEBankingTH, MolPayEbankingVNElement as MolPayEBankingVN, MultibancoElement as Multibanco, OnlineBankingCZElement as OnlineBankingCZ, index_d_OnlineBankingFI as OnlineBankingFI, OnlineBankingINElement as OnlineBankingIN, index_d_OnlineBankingPL as OnlineBankingPL, OnlineBankingSKElement as OnlineBankingSK, OxxoElement as Oxxo, index_d_PayByBank as PayByBank, PayMeElement as PayMe, PayNowElement as PayNow, PaypalElement as PayPal, PayuNetCashcardElement as PayuCashcard, PayuNetBankingElement as PayuNetBanking, PersonalDetailsElement as PersonalDetails, PixElement as Pix, PromptPayElement as PromptPay, index_d_RatePay as RatePay, index_d_RatePayDirectDebit as RatePayDirectDebit, RedirectElement as Redirect, index_d_Riverty as Riverty, SepaElement as SepaDirectDebit, SwishElement as Swish, index_d_ThreeDS2Challenge as ThreeDS2Challenge, index_d_ThreeDS2DeviceFingerprint as ThreeDS2DeviceFingerprint, TrustlyElement as Trustly, TwintElement as Twint, index_d_UPI as UPI, VippsElement as Vipps, WalletINElement as WalletIN, WeChatPayElement as WeChat };
|
|
6083
6188
|
}
|
|
6084
6189
|
|
|
6085
|
-
declare const _default$p: Translation;
|
|
6086
|
-
|
|
6087
|
-
declare const _default$o: Translation;
|
|
6088
|
-
|
|
6089
|
-
declare const _default$n: Translation;
|
|
6090
|
-
|
|
6091
|
-
declare const _default$m: Translation;
|
|
6092
|
-
|
|
6093
|
-
declare const _default$l: Translation;
|
|
6094
|
-
|
|
6095
|
-
declare const _default$k: Translation;
|
|
6096
|
-
|
|
6097
|
-
declare const _default$j: Translation;
|
|
6098
|
-
|
|
6099
|
-
declare const _default$i: Translation;
|
|
6100
|
-
|
|
6101
|
-
declare const _default$h: Translation;
|
|
6102
|
-
|
|
6103
|
-
declare const _default$g: Translation;
|
|
6104
|
-
|
|
6105
|
-
declare const _default$f: Translation;
|
|
6106
|
-
|
|
6107
|
-
declare const _default$e: Translation;
|
|
6108
|
-
|
|
6109
|
-
declare const _default$d: Translation;
|
|
6110
|
-
|
|
6111
|
-
declare const _default$c: Translation;
|
|
6112
|
-
|
|
6113
|
-
declare const _default$b: Translation;
|
|
6114
|
-
|
|
6115
|
-
declare const _default$a: Translation;
|
|
6116
|
-
|
|
6117
|
-
declare const _default$9: Translation;
|
|
6118
|
-
|
|
6119
|
-
declare const _default$8: Translation;
|
|
6120
|
-
|
|
6121
|
-
declare const _default$7: Translation;
|
|
6122
|
-
|
|
6123
|
-
declare const _default$6: Translation;
|
|
6124
|
-
|
|
6125
|
-
declare const _default$5: Translation;
|
|
6126
|
-
|
|
6127
|
-
declare const _default$4: Translation;
|
|
6128
|
-
|
|
6129
|
-
declare const _default$3: Translation;
|
|
6130
|
-
|
|
6131
|
-
declare const _default$2: Translation;
|
|
6132
|
-
|
|
6133
|
-
declare const _default$1: Translation;
|
|
6134
|
-
|
|
6135
|
-
declare const _default: Translation;
|
|
6136
|
-
|
|
6137
6190
|
declare class Core implements ICore {
|
|
6138
6191
|
session?: Session;
|
|
6139
6192
|
paymentMethodsResponse: PaymentMethods$1;
|
|
@@ -6145,9 +6198,6 @@ declare class Core implements ICore {
|
|
|
6145
6198
|
private components;
|
|
6146
6199
|
static readonly metadata: {
|
|
6147
6200
|
version: string;
|
|
6148
|
-
revision: string;
|
|
6149
|
-
branch: string;
|
|
6150
|
-
buildId: string;
|
|
6151
6201
|
bundleType: string;
|
|
6152
6202
|
};
|
|
6153
6203
|
static registry: {
|
|
@@ -6168,6 +6218,7 @@ declare class Core implements ICore {
|
|
|
6168
6218
|
constructor(props: CoreConfiguration);
|
|
6169
6219
|
initialize(): Promise<this>;
|
|
6170
6220
|
private initializeCore;
|
|
6221
|
+
private fetchLocaleTranslations;
|
|
6171
6222
|
private validateCoreConfiguration;
|
|
6172
6223
|
/**
|
|
6173
6224
|
* Method used when handling redirects. It submits details using 'onAdditionalDetails' or the Sessions flow if available.
|
|
@@ -6224,4 +6275,4 @@ declare namespace AdyenCheckout {
|
|
|
6224
6275
|
var setBundleType: (type: string) => void;
|
|
6225
6276
|
}
|
|
6226
6277
|
|
|
6227
|
-
export { ANCVElement as ANCV, type ANCVConfiguration, type ANCVDataState, AchElement as Ach, type AchConfiguration, type ActionDescriptionType, type ActionHandledReturnObject, type AdditionalDetailsStateData, AddressElement as Address, type AddressData, type AddressField, AdyenCheckout, type AdyenEnvironment, Affirm, AfterPay, AfterPayB2B, AmazonPayElement as AmazonPay, type AmazonPayBackendConfiguration, type AmazonPayButtonProps, type AmazonPayButtonSettings, type AmazonPayComponentProps, type AmazonPayConfiguration, type AmazonPayElementData, type AnalyticsModule, ApplePayElement as ApplePay, type ApplePayButtonType, type ApplePayConfiguration, type ApplePayElementData, type ApplePayPaymentAuthorizationResult, type ApplePayPaymentOrderDetails, type ApplePaySessionRequest, Atome, type AwaitComponentProps, type AwaitConfiguration, BacsElement as BacsDirectDebit, BancontactElement as Bancontact, type BankDetailsSchema, BankTransferElement as BankTransfer, type BankTransferConfiguration, type BankTransferSchema, type BankTransferState, BCMCMobileElement as BcmcMobile, BillDeskOnlineElement as BillDeskOnline, BillDeskWalletElement as BillDeskWallet, type BinLookupResponse, type BinLookupResponseRaw, BlikElement as Blik, BoletoElement as Boleto, type BoletoElementProps, type BoletoInputDataState, type BoletoInputErrorState, type BoletoInputValidState, type BrandConfiguration, type BrandObject, type BrowserInfo, type CReqData, CardElement as Card, type CardBackendConfiguration, type CardBrandsConfiguration, type CardConfiguration, type CardElementData, CashAppPay, type CashAppPayConfiguration, type CashAppPayElementData, type CashAppPayEventData, type ChallengeData, type ChangeActionOptions, type ChangePaymentDetailsButtonProps, type ChargeAmount, type CheckoutAdvancedFlowResponse, type CheckoutDetailsRequest, type CheckoutSessionConfig, ClickToPayElement as ClickToPay, type ClickToPayConfiguration, type ClickToPayPaymentData, type ClickToPayProps, type ClickToPayScheme, type ComponentFocusObject, type CoreConfiguration, type Currency, CustomCard, type CustomCardConfiguration, type DecodeObject, type DeliverySpecifications, DokuElement as Doku, type DokuVoucherResultProps, DonationElement as Donation, type DonationConfiguration, DotpayElement as Dotpay, DragonpayElement as Dragonpay, type DragonpayConfiguraton, type DragonpayInputData, type DragonpayInputIssuerItem, type DragonpayInputProps, type DragonpayVoucherResultProps, DropinElement as Dropin, type DropinComponentProps, type DropinComponentState, type DropinConfiguration, type DropinStatusProps, type DualBrandSelectElement, DuitNowElement as DuitNow, EPSElement as EPS, EcontextElement as Econtext, type EcontextConfiguration, type EcontextInputSchema, type EcontextVoucherResultProps, type ExtendedMerchantInfo, FacilyPay10x as FacilPay10x, FacilyPay12x as FacilPay12x, FacilyPay3x as FacilPay3x, FacilyPay4x as FacilPay4x, FacilyPay6x as FacilPay6x, type FieldsetVisibility, type FingerPrintData, type FundingSource, type GiftCardConfiguration, type GiftCardElementData, GiftcardElement as Giftcard, GiropayElement as Giropay, GooglePay, type GooglePayConfiguration, type GooglePaymentDataRequest, type ICore, type IDropin, IdealElement as Ideal, type InstantPaymentTypes, type Intent, type IssuerListConfiguration, type IssuerListData, type KlarnConfiguration, KlarnaPayments as Klarna, type KlarnaSdkData, type KlarnaWidgetAuthorizeResponse, type KlarnaWidgetProps, type LedgerCurrencies, MBWayElement as MBWay, MealVoucherFRElement as MealVoucherFR, MolPayEBankingMYElement as MolPayEBankingMY, MolPayEBankingTHElement as MolPayEBankingTH, MolPayEbankingVNElement as MolPayEBankingVN, MultibancoElement as Multibanco, type MultibancoVoucherResultProps, OnlineBankingCZElement as OnlineBankingCZ, OnlineBankingFI, OnlineBankingINElement as OnlineBankingIN, OnlineBankingPL, OnlineBankingSKElement as OnlineBankingSK, type OpenInvoiceActiveFieldsets, type OpenInvoiceConfiguration, type OpenInvoiceFieldsetsRefs, type OpenInvoiceProps, type OpenInvoiceStateData, type OpenInvoiceStateError, type OpenInvoiceStateValid, type OpenInvoiceVisibility, type Order, type OrderButtonProps, type OrderStatus, OxxoElement as Oxxo, type OxxoElementData, type OxxoVoucherResultProps, PayByBank, PayMeElement as PayMe, PayNowElement as PayNow, PaypalElement as PayPal, type PayPalConfiguration, type PayloadJSON, type PaymentAction, type PaymentActionsType, type PaymentAmount, type PaymentAmountExtended, type PaymentData, type PaymentMethod, type PaymentMethodData, type PaymentMethodGroup, type PaymentMethodOptions, type PaymentMethods, type PaymentMethodsConfiguration, type PaymentMethodsRequestData, type PaymentMethodsResponse, type PaymentResponseData, PayuNetCashcardElement as PayuCashcard, PayuNetBankingElement as PayuNetBanking, PersonalDetailsElement as PersonalDetails, type PersonalDetailsSchema, PixElement as Pix, type PixConfiguration, type PixElementData, type PostMsgParseErrorObject, type ProcessedResponse, PromptPayElement as PromptPay, type QRLoaderConfiguration, RatePay, RatePayDirectDebit, type RawPaymentResponse, type RecurringMetadata, RedirectElement as Redirect, type RedirectConfiguration, type Region, type ResultCode, type ResultObject, type ResultValue, Riverty, type SepaConfiguration, SepaElement as SepaDirectDebit, type SepaElementData, type SessionsResponse, type SignOutButtonProps, type SocialSecurityMode, type StatusObject, type StoredPaymentMethod, type SupportedLocale, SwishElement as Swish, ThreeDS2Challenge, type ThreeDS2ChallengeConfiguration, ThreeDS2DeviceFingerprint, type ThreeDS2DeviceFingerprintConfiguration, type ThreeDS2FingerprintResponse, type ThreeDS2FlowObject, type ThreeDS2Token, TrustlyElement as Trustly, TwintElement as Twint, UPI, type UPIConfiguration, type UpdateAmazonCheckoutSessionRequest, type UpiMode, type UpiPaymentData, type ValidationError, VippsElement as Vipps, type VoucherConfiguration, type VoucherDetail, type VoucherProps, WalletINElement as WalletIN, WeChatPayElement as WeChat,
|
|
6278
|
+
export { ANCVElement as ANCV, type ANCVConfiguration, type ANCVDataState, AchElement as Ach, type AchConfiguration, type ActionDescriptionType, type ActionHandledReturnObject, type AdditionalDetailsStateData, AddressElement as Address, type AddressData, type AddressField, AdyenCheckout, type AdyenEnvironment, Affirm, AfterPay, AfterPayB2B, AmazonPayElement as AmazonPay, type AmazonPayBackendConfiguration, type AmazonPayButtonProps, type AmazonPayButtonSettings, type AmazonPayComponentProps, type AmazonPayConfiguration, type AmazonPayElementData, type AnalyticsModule, ApplePayElement as ApplePay, type ApplePayButtonType, type ApplePayConfiguration, type ApplePayElementData, type ApplePayPaymentAuthorizationResult, type ApplePayPaymentOrderDetails, type ApplePaySessionRequest, Atome, type AwaitComponentProps, type AwaitConfiguration, BacsElement as BacsDirectDebit, BancontactElement as Bancontact, type BankDetailsSchema, BankTransferElement as BankTransfer, type BankTransferConfiguration, type BankTransferSchema, type BankTransferState, BCMCMobileElement as BcmcMobile, BillDeskOnlineElement as BillDeskOnline, BillDeskWalletElement as BillDeskWallet, type BinLookupResponse, type BinLookupResponseRaw, BlikElement as Blik, BoletoElement as Boleto, type BoletoElementProps, type BoletoInputDataState, type BoletoInputErrorState, type BoletoInputValidState, type BrandConfiguration, type BrandObject, type BrowserInfo, type CReqData, CardElement as Card, type CardBackendConfiguration, type CardBrandsConfiguration, type CardConfiguration, type CardElementData, CashAppPay, type CashAppPayConfiguration, type CashAppPayElementData, type CashAppPayEventData, type ChallengeData, type ChallengeResolveData, type ChangeActionOptions, type ChangePaymentDetailsButtonProps, type ChargeAmount, type CheckoutAdvancedFlowResponse, type CheckoutDetailsRequest, type CheckoutSessionConfig, ClickToPayElement as ClickToPay, type ClickToPayConfiguration, type ClickToPayPaymentData, type ClickToPayProps, type ClickToPayScheme, type ComponentFocusObject, type CoreConfiguration, type Currency, CustomCard, type CustomCardConfiguration, type DecodeObject, type DeliverySpecifications, DokuElement as Doku, type DokuVoucherResultProps, DonationElement as Donation, type DonationConfiguration, DotpayElement as Dotpay, DragonpayElement as Dragonpay, type DragonpayConfiguraton, type DragonpayInputData, type DragonpayInputIssuerItem, type DragonpayInputProps, type DragonpayVoucherResultProps, DropinElement as Dropin, type DropinComponentProps, type DropinComponentState, type DropinConfiguration, type DropinStatusProps, type DualBrandSelectElement, DuitNowElement as DuitNow, EPSElement as EPS, EcontextElement as Econtext, type EcontextConfiguration, type EcontextInputSchema, type EcontextVoucherResultProps, type ErrorCodeObject, type ExtendedMerchantInfo, FacilyPay10x as FacilPay10x, FacilyPay12x as FacilPay12x, FacilyPay3x as FacilPay3x, FacilyPay4x as FacilPay4x, FacilyPay6x as FacilPay6x, type FieldsetVisibility, type FingerPrintData, type FingerprintResolveData, type FundingSource, type GiftCardConfiguration, type GiftCardElementData, GiftcardElement as Giftcard, GiropayElement as Giropay, GooglePay, type GooglePayConfiguration, type GooglePaymentDataRequest, type ICore, type IDropin, IdealElement as Ideal, type InstantPaymentTypes, type Intent, type IssuerListConfiguration, type IssuerListData, type KlarnConfiguration, KlarnaPayments as Klarna, type KlarnaSdkData, type KlarnaWidgetAuthorizeResponse, type KlarnaWidgetProps, type LedgerCurrencies, MBWayElement as MBWay, MealVoucherFRElement as MealVoucherFR, MolPayEBankingMYElement as MolPayEBankingMY, MolPayEBankingTHElement as MolPayEBankingTH, MolPayEbankingVNElement as MolPayEBankingVN, MultibancoElement as Multibanco, type MultibancoVoucherResultProps, OnlineBankingCZElement as OnlineBankingCZ, OnlineBankingFI, OnlineBankingINElement as OnlineBankingIN, OnlineBankingPL, OnlineBankingSKElement as OnlineBankingSK, type OpenInvoiceActiveFieldsets, type OpenInvoiceConfiguration, type OpenInvoiceFieldsetsRefs, type OpenInvoiceProps, type OpenInvoiceStateData, type OpenInvoiceStateError, type OpenInvoiceStateValid, type OpenInvoiceVisibility, type Order, type OrderButtonProps, type OrderStatus, OxxoElement as Oxxo, type OxxoElementData, type OxxoVoucherResultProps, PayByBank, PayMeElement as PayMe, PayNowElement as PayNow, PaypalElement as PayPal, type PayPalConfiguration, type PayloadJSON, type PaymentAction, type PaymentActionsType, type PaymentAmount, type PaymentAmountExtended, type PaymentData, type PaymentMethod, type PaymentMethodData, type PaymentMethodGroup, type PaymentMethodOptions, type PaymentMethods, type PaymentMethodsConfiguration, type PaymentMethodsRequestData, type PaymentMethodsResponse, type PaymentResponseData, PayuNetCashcardElement as PayuCashcard, PayuNetBankingElement as PayuNetBanking, PersonalDetailsElement as PersonalDetails, type PersonalDetailsSchema, PixElement as Pix, type PixConfiguration, type PixElementData, type PostMsgParseErrorObject, type ProcessedResponse, PromptPayElement as PromptPay, type QRLoaderConfiguration, RatePay, RatePayDirectDebit, type RawPaymentResponse, type RecurringMetadata, RedirectElement as Redirect, type RedirectConfiguration, type Region, type ResultCode, type ResultObject, type ResultValue, Riverty, type SepaConfiguration, SepaElement as SepaDirectDebit, type SepaElementData, type SessionsResponse, type SignOutButtonProps, type SocialSecurityMode, type StatusObject, type StoredPaymentMethod, type SupportedLocale, SwishElement as Swish, ThreeDS2Challenge, type ThreeDS2ChallengeConfiguration, ThreeDS2DeviceFingerprint, type ThreeDS2DeviceFingerprintConfiguration, type ThreeDS2FingerprintResponse, type ThreeDS2FlowObject, type ThreeDS2Token, TrustlyElement as Trustly, TwintElement as Twint, UPI, type UPIConfiguration, type UpdateAmazonCheckoutSessionRequest, type UpiMode, type UpiPaymentData, type ValidationError, VippsElement as Vipps, type VoucherConfiguration, type VoucherDetail, type VoucherProps, WalletINElement as WalletIN, WeChatPayElement as WeChat, type balanceCheckResponseType, index_d as components, type onBalanceCheckCallbackType, type onOrderCancelData, type onOrderCancelType, type onOrderRequestCallbackType };
|