@adyen/adyen-web 6.47.0-alpha.eada81f → 6.47.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/adyen.css +20 -22
- package/dist/cjs/adyen.css.map +1 -1
- package/dist/cjs/index.cjs +2 -2
- package/dist/cjs/index.cjs.map +1 -1
- package/dist/cjs/index.d.cts +122 -581
- package/dist/es/adyen.css +20 -22
- package/dist/es/adyen.css.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/AmazonPayComponent.js +1 -1
- package/dist/es/components/AmazonPay/components/AmazonPayComponent.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/utils.js +1 -1
- package/dist/es/components/AmazonPay/utils.js.map +1 -1
- package/dist/es/components/ApplePay/services/ApplePaySdkLoader.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/types.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/CashAppPay/components/CashAppComponent.js +1 -1
- package/dist/es/components/CashAppPay/components/CashAppComponent.js.map +1 -1
- package/dist/es/components/CashAppPay/services/CashAppService.js +1 -1
- package/dist/es/components/CashAppPay/services/CashAppService.js.map +1 -1
- package/dist/es/components/CashAppPay/services/types.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/Donation/components/DonationComponent.js.map +1 -1
- package/dist/es/components/Donation/components/FixedAmounts.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/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/PaymentMethodItem/PaymentMethodItem.js +1 -1
- package/dist/es/components/Dropin/components/PaymentMethod/PaymentMethodItem/PaymentMethodItem.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/types.js +2 -0
- package/dist/es/components/Giftcard/types.js.map +1 -0
- package/dist/es/components/Giftcard/utils.js +2 -0
- package/dist/es/components/Giftcard/utils.js.map +1 -0
- package/dist/es/components/GooglePay/GooglePay.js.map +1 -1
- package/dist/es/components/PayByBankPix/PayByBankPix.js +1 -1
- package/dist/es/components/PayByBankPix/PayByBankPix.js.map +1 -1
- package/dist/es/components/PayByBankPix/components/Enrollment/useIssuerWithLogo.js +1 -1
- package/dist/es/components/PayByBankPix/components/Enrollment/useIssuerWithLogo.js.map +1 -1
- package/dist/es/components/PayByBankUS/PayByBankUS.js +1 -1
- package/dist/es/components/PayByBankUS/PayByBankUS.js.map +1 -1
- package/dist/es/components/PayPal/Paypal.js +1 -1
- package/dist/es/components/PayPal/Paypal.js.map +1 -1
- package/dist/es/components/PayPal/components/PaypalButtons.js +1 -1
- package/dist/es/components/PayPal/components/PaypalButtons.js.map +1 -1
- package/dist/es/components/PayPal/components/PaypalComponent.js +1 -1
- package/dist/es/components/PayPal/components/PaypalComponent.js.map +1 -1
- package/dist/es/components/PayPal/config.js +1 -1
- package/dist/es/components/PayPal/config.js.map +1 -1
- package/dist/es/components/PayPal/utils/get-paypal-locale.js +1 -1
- package/dist/es/components/PayPal/utils/get-paypal-locale.js.map +1 -1
- package/dist/es/components/PayPal/utils/get-paypal-settings.js +1 -1
- package/dist/es/components/PayPal/utils/get-paypal-settings.js.map +1 -1
- package/dist/es/components/PayPal/utils/get-paypal-url.js +1 -1
- package/dist/es/components/PayPal/utils/get-paypal-url.js.map +1 -1
- package/dist/es/components/PayPalFastlane/Fastlane.js +1 -1
- package/dist/es/components/PayPalFastlane/Fastlane.js.map +1 -1
- package/dist/es/components/PayPalFastlane/FastlaneSDK.js +1 -1
- package/dist/es/components/PayPalFastlane/FastlaneSDK.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/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.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/Form/ThreeDS2Form.js +1 -1
- package/dist/es/components/ThreeDS2/components/Form/ThreeDS2Form.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/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/index.js +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 +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/Address/constants.js.map +1 -1
- package/dist/es/components/internal/Address/utils.js.map +1 -1
- package/dist/es/components/internal/Address/validate.formats.js +1 -1
- package/dist/es/components/internal/Address/validate.formats.js.map +1 -1
- package/dist/es/components/internal/BaseElement/BaseElement.js +1 -1
- package/dist/es/components/internal/BaseElement/BaseElement.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/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/CompanyDetails/validate.js +1 -1
- package/dist/es/components/internal/CompanyDetails/validate.js.map +1 -1
- package/dist/es/components/internal/ConsentCheckboxLabel/ConsentCheckboxLabel.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/InputBase.js +1 -1
- package/dist/es/components/internal/FormFields/InputBase.js.map +1 -1
- package/dist/es/components/internal/FormFields/InputDate/InputDate.js +1 -1
- package/dist/es/components/internal/FormFields/InputDate/InputDate.js.map +1 -1
- package/dist/es/components/internal/FormFields/InputDate/utils.js.map +1 -1
- package/dist/es/components/internal/FormFields/Select/Select.js +1 -1
- package/dist/es/components/internal/FormFields/Select/Select.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/IbanInput/IbanInput.js +1 -1
- package/dist/es/components/internal/IbanInput/IbanInput.js.map +1 -1
- package/dist/es/components/internal/IbanInput/specifications.js.map +1 -1
- package/dist/es/components/internal/IbanInput/utils.js +1 -1
- package/dist/es/components/internal/IbanInput/utils.js.map +1 -1
- package/dist/es/components/internal/PayButton/utils.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/validate.js +1 -1
- package/dist/es/components/internal/PersonalDetails/validate.js.map +1 -1
- package/dist/es/components/internal/PhoneInput/PhoneInputFields.js +1 -1
- package/dist/es/components/internal/PhoneInput/PhoneInputFields.js.map +1 -1
- package/dist/es/components/internal/PhoneInput/PhoneInputForm.js +1 -1
- package/dist/es/components/internal/PhoneInput/PhoneInputForm.js.map +1 -1
- package/dist/es/components/internal/QRLoader/QRLoader.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/UIElement/UIElement.js +1 -1
- package/dist/es/components/internal/UIElement/UIElement.js.map +1 -1
- package/dist/es/components/internal/UIElement/utils.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/Services/http.js.map +1 -1
- package/dist/es/core/config.js +1 -1
- package/dist/es/core/config.js.map +1 -1
- package/dist/es/core/core.js +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/hooks/usePaymentStatusTimer/usePaymentStatusTimer.js +1 -1
- package/dist/es/hooks/usePaymentStatusTimer/usePaymentStatusTimer.js.map +1 -1
- package/dist/es/index.d.ts +122 -581
- 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/utils.js +1 -1
- package/dist/es/language/utils.js.map +1 -1
- package/dist/es/utils/Script.js.map +1 -1
- package/dist/es/utils/Validator/ValidationRuleResult.js.map +1 -1
- package/dist/es/utils/Validator/Validator.js +1 -1
- package/dist/es/utils/Validator/Validator.js.map +1 -1
- package/dist/es/utils/Validator/defaultRules.js +1 -1
- package/dist/es/utils/Validator/defaultRules.js.map +1 -1
- package/dist/es/utils/amount-util.js +1 -1
- package/dist/es/utils/amount-util.js.map +1 -1
- package/dist/es/utils/browserInfo.js.map +1 -1
- package/dist/es/utils/createSdkData.js +1 -1
- package/dist/es/utils/createSdkData.js.map +1 -1
- package/dist/es/utils/get-issuer-image.js +1 -1
- package/dist/es/utils/get-issuer-image.js.map +1 -1
- package/dist/es/utils/get-process-message-handler.js.map +1 -1
- package/dist/es/utils/getConsentUrl.js +1 -1
- package/dist/es/utils/getConsentUrl.js.map +1 -1
- package/dist/es/utils/getErrorMessage.js.map +1 -1
- package/dist/es/utils/getOrigin.js.map +1 -1
- package/dist/es/utils/isValidURL.js +1 -1
- package/dist/es/utils/isValidURL.js.map +1 -1
- package/dist/es/utils/promiseTimeout.js.map +1 -1
- package/dist/es/utils/useAutoFocus.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 +20 -22
- package/dist/es-legacy/adyen.css.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/AmazonPayComponent.js +1 -1
- package/dist/es-legacy/components/AmazonPay/components/AmazonPayComponent.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/utils.js +1 -1
- package/dist/es-legacy/components/AmazonPay/utils.js.map +1 -1
- package/dist/es-legacy/components/ApplePay/services/ApplePaySdkLoader.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/types.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/CashAppPay/components/CashAppComponent.js +1 -1
- package/dist/es-legacy/components/CashAppPay/components/CashAppComponent.js.map +1 -1
- package/dist/es-legacy/components/CashAppPay/services/CashAppService.js +1 -1
- package/dist/es-legacy/components/CashAppPay/services/CashAppService.js.map +1 -1
- package/dist/es-legacy/components/CashAppPay/services/types.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/Donation/components/DonationComponent.js.map +1 -1
- package/dist/es-legacy/components/Donation/components/FixedAmounts.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/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/PaymentMethodItem/PaymentMethodItem.js +1 -1
- package/dist/es-legacy/components/Dropin/components/PaymentMethod/PaymentMethodItem/PaymentMethodItem.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/types.js +2 -0
- package/dist/es-legacy/components/Giftcard/types.js.map +1 -0
- package/dist/es-legacy/components/Giftcard/utils.js +2 -0
- package/dist/es-legacy/components/Giftcard/utils.js.map +1 -0
- package/dist/es-legacy/components/GooglePay/GooglePay.js.map +1 -1
- package/dist/es-legacy/components/PayByBankPix/PayByBankPix.js +1 -1
- package/dist/es-legacy/components/PayByBankPix/PayByBankPix.js.map +1 -1
- package/dist/es-legacy/components/PayByBankPix/components/Enrollment/useIssuerWithLogo.js +1 -1
- package/dist/es-legacy/components/PayByBankPix/components/Enrollment/useIssuerWithLogo.js.map +1 -1
- package/dist/es-legacy/components/PayByBankUS/PayByBankUS.js +1 -1
- package/dist/es-legacy/components/PayByBankUS/PayByBankUS.js.map +1 -1
- package/dist/es-legacy/components/PayPal/Paypal.js +1 -1
- package/dist/es-legacy/components/PayPal/Paypal.js.map +1 -1
- package/dist/es-legacy/components/PayPal/components/PaypalButtons.js +1 -1
- package/dist/es-legacy/components/PayPal/components/PaypalButtons.js.map +1 -1
- package/dist/es-legacy/components/PayPal/components/PaypalComponent.js +1 -1
- package/dist/es-legacy/components/PayPal/components/PaypalComponent.js.map +1 -1
- package/dist/es-legacy/components/PayPal/config.js +1 -1
- package/dist/es-legacy/components/PayPal/config.js.map +1 -1
- package/dist/es-legacy/components/PayPal/utils/get-paypal-locale.js +1 -1
- package/dist/es-legacy/components/PayPal/utils/get-paypal-locale.js.map +1 -1
- package/dist/es-legacy/components/PayPal/utils/get-paypal-settings.js +1 -1
- package/dist/es-legacy/components/PayPal/utils/get-paypal-settings.js.map +1 -1
- package/dist/es-legacy/components/PayPal/utils/get-paypal-url.js +1 -1
- package/dist/es-legacy/components/PayPal/utils/get-paypal-url.js.map +1 -1
- package/dist/es-legacy/components/PayPalFastlane/Fastlane.js +1 -1
- package/dist/es-legacy/components/PayPalFastlane/Fastlane.js.map +1 -1
- package/dist/es-legacy/components/PayPalFastlane/FastlaneSDK.js +1 -1
- package/dist/es-legacy/components/PayPalFastlane/FastlaneSDK.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/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.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/Form/ThreeDS2Form.js +1 -1
- package/dist/es-legacy/components/ThreeDS2/components/Form/ThreeDS2Form.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/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/index.js +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 +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/Address/constants.js.map +1 -1
- package/dist/es-legacy/components/internal/Address/utils.js.map +1 -1
- package/dist/es-legacy/components/internal/Address/validate.formats.js +1 -1
- package/dist/es-legacy/components/internal/Address/validate.formats.js.map +1 -1
- package/dist/es-legacy/components/internal/BaseElement/BaseElement.js +1 -1
- package/dist/es-legacy/components/internal/BaseElement/BaseElement.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/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/CompanyDetails/validate.js +1 -1
- package/dist/es-legacy/components/internal/CompanyDetails/validate.js.map +1 -1
- package/dist/es-legacy/components/internal/ConsentCheckboxLabel/ConsentCheckboxLabel.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/InputBase.js +1 -1
- package/dist/es-legacy/components/internal/FormFields/InputBase.js.map +1 -1
- package/dist/es-legacy/components/internal/FormFields/InputDate/InputDate.js +1 -1
- package/dist/es-legacy/components/internal/FormFields/InputDate/InputDate.js.map +1 -1
- package/dist/es-legacy/components/internal/FormFields/InputDate/utils.js.map +1 -1
- package/dist/es-legacy/components/internal/FormFields/Select/Select.js +1 -1
- package/dist/es-legacy/components/internal/FormFields/Select/Select.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/IbanInput/IbanInput.js +1 -1
- package/dist/es-legacy/components/internal/IbanInput/IbanInput.js.map +1 -1
- package/dist/es-legacy/components/internal/IbanInput/specifications.js.map +1 -1
- package/dist/es-legacy/components/internal/IbanInput/utils.js +1 -1
- package/dist/es-legacy/components/internal/IbanInput/utils.js.map +1 -1
- package/dist/es-legacy/components/internal/PayButton/utils.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/validate.js +1 -1
- package/dist/es-legacy/components/internal/PersonalDetails/validate.js.map +1 -1
- package/dist/es-legacy/components/internal/PhoneInput/PhoneInputFields.js +1 -1
- package/dist/es-legacy/components/internal/PhoneInput/PhoneInputFields.js.map +1 -1
- package/dist/es-legacy/components/internal/PhoneInput/PhoneInputForm.js +1 -1
- package/dist/es-legacy/components/internal/PhoneInput/PhoneInputForm.js.map +1 -1
- package/dist/es-legacy/components/internal/QRLoader/QRLoader.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/UIElement/UIElement.js +1 -1
- package/dist/es-legacy/components/internal/UIElement/UIElement.js.map +1 -1
- package/dist/es-legacy/components/internal/UIElement/utils.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/Services/http.js.map +1 -1
- package/dist/es-legacy/core/config.js +1 -1
- package/dist/es-legacy/core/config.js.map +1 -1
- package/dist/es-legacy/core/core.js +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/hooks/usePaymentStatusTimer/usePaymentStatusTimer.js +1 -1
- package/dist/es-legacy/hooks/usePaymentStatusTimer/usePaymentStatusTimer.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/utils.js +1 -1
- package/dist/es-legacy/language/utils.js.map +1 -1
- package/dist/es-legacy/utils/Script.js.map +1 -1
- package/dist/es-legacy/utils/Validator/ValidationRuleResult.js.map +1 -1
- package/dist/es-legacy/utils/Validator/Validator.js +1 -1
- package/dist/es-legacy/utils/Validator/Validator.js.map +1 -1
- package/dist/es-legacy/utils/Validator/defaultRules.js +1 -1
- package/dist/es-legacy/utils/Validator/defaultRules.js.map +1 -1
- package/dist/es-legacy/utils/amount-util.js +1 -1
- package/dist/es-legacy/utils/amount-util.js.map +1 -1
- package/dist/es-legacy/utils/browserInfo.js.map +1 -1
- package/dist/es-legacy/utils/createSdkData.js +1 -1
- package/dist/es-legacy/utils/createSdkData.js.map +1 -1
- package/dist/es-legacy/utils/get-issuer-image.js +1 -1
- package/dist/es-legacy/utils/get-issuer-image.js.map +1 -1
- package/dist/es-legacy/utils/get-process-message-handler.js.map +1 -1
- package/dist/es-legacy/utils/getConsentUrl.js +1 -1
- package/dist/es-legacy/utils/getConsentUrl.js.map +1 -1
- package/dist/es-legacy/utils/getErrorMessage.js.map +1 -1
- package/dist/es-legacy/utils/getOrigin.js.map +1 -1
- package/dist/es-legacy/utils/isValidURL.js +1 -1
- package/dist/es-legacy/utils/isValidURL.js.map +1 -1
- package/dist/es-legacy/utils/promiseTimeout.js.map +1 -1
- package/dist/es-legacy/utils/useAutoFocus.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/package.json +25 -24
- package/styles/adyen.css +20 -22
- package/dist/es/components/PayPal/PayPalCredit.js +0 -2
- package/dist/es/components/PayPal/PayPalCredit.js.map +0 -1
- package/dist/es/components/PayPal/PayPalPaylater.js +0 -2
- package/dist/es/components/PayPal/PayPalPaylater.js.map +0 -1
- package/dist/es/components/PayPal/Venmo.js +0 -2
- package/dist/es/components/PayPal/Venmo.js.map +0 -1
- package/dist/es/components/PayPal/components/PayPalButton.js +0 -2
- package/dist/es/components/PayPal/components/PayPalButton.js.map +0 -1
- package/dist/es/components/PayPal/components/PayPalComponentV6.js +0 -2
- package/dist/es/components/PayPal/components/PayPalComponentV6.js.map +0 -1
- package/dist/es/components/PayPal/components/PayPalComponentV6.module.scss.js +0 -2
- package/dist/es/components/PayPal/components/PayPalComponentV6.module.scss.js.map +0 -1
- package/dist/es/components/PayPal/components/PayPalCreditButton.js +0 -2
- package/dist/es/components/PayPal/components/PayPalCreditButton.js.map +0 -1
- package/dist/es/components/PayPal/components/PayPalCreditComponent.js +0 -2
- package/dist/es/components/PayPal/components/PayPalCreditComponent.js.map +0 -1
- package/dist/es/components/PayPal/components/PayPalMessaging.js +0 -2
- package/dist/es/components/PayPal/components/PayPalMessaging.js.map +0 -1
- package/dist/es/components/PayPal/components/PayPalPayLaterButton.js +0 -2
- package/dist/es/components/PayPal/components/PayPalPayLaterButton.js.map +0 -1
- package/dist/es/components/PayPal/components/PayPalPaylaterComponent.js +0 -2
- package/dist/es/components/PayPal/components/PayPalPaylaterComponent.js.map +0 -1
- package/dist/es/components/PayPal/components/PayPalPaylaterComponent.module.scss.js +0 -2
- package/dist/es/components/PayPal/components/PayPalPaylaterComponent.module.scss.js.map +0 -1
- package/dist/es/components/PayPal/components/PayPalProcessingSpinner.js +0 -2
- package/dist/es/components/PayPal/components/PayPalProcessingSpinner.js.map +0 -1
- package/dist/es/components/PayPal/components/PayPalSpinner.js +0 -2
- package/dist/es/components/PayPal/components/PayPalSpinner.js.map +0 -1
- package/dist/es/components/PayPal/components/VenmoButton.js +0 -2
- package/dist/es/components/PayPal/components/VenmoButton.js.map +0 -1
- package/dist/es/components/PayPal/components/VenmoComponent.js +0 -2
- package/dist/es/components/PayPal/components/VenmoComponent.js.map +0 -1
- package/dist/es/components/PayPal/hooks/usePayPalButtonEligibility.js +0 -2
- package/dist/es/components/PayPal/hooks/usePayPalButtonEligibility.js.map +0 -1
- package/dist/es/components/PayPal/hooks/usePayPalOneTimeSession.js +0 -2
- package/dist/es/components/PayPal/hooks/usePayPalOneTimeSession.js.map +0 -1
- package/dist/es/components/PayPal/hooks/usePayPalSaveSession.js +0 -2
- package/dist/es/components/PayPal/hooks/usePayPalSaveSession.js.map +0 -1
- package/dist/es/components/PayPal/hooks/usePayPalSessionOptions.js +0 -2
- package/dist/es/components/PayPal/hooks/usePayPalSessionOptions.js.map +0 -1
- package/dist/es/components/PayPal/hooks/usePayPalStatus.js +0 -2
- package/dist/es/components/PayPal/hooks/usePayPalStatus.js.map +0 -1
- package/dist/es/components/PayPal/hooks/useStartPayPalSession.js +0 -2
- package/dist/es/components/PayPal/hooks/useStartPayPalSession.js.map +0 -1
- package/dist/es/components/PayPal/models/BasePayPalElement.js +0 -2
- package/dist/es/components/PayPal/models/BasePayPalElement.js.map +0 -1
- package/dist/es/components/PayPal/services/PayPalSdkLoader.js +0 -2
- package/dist/es/components/PayPal/services/PayPalSdkLoader.js.map +0 -1
- package/dist/es/components/PayPal/services/PayPalService.js +0 -2
- package/dist/es/components/PayPal/services/PayPalService.js.map +0 -1
- package/dist/es/components/PayPal/services/request-paypal-oauth-token.js +0 -2
- package/dist/es/components/PayPal/services/request-paypal-oauth-token.js.map +0 -1
- package/dist/es/components/PayPal/services/request-paypal-order-details.js +0 -2
- package/dist/es/components/PayPal/services/request-paypal-order-details.js.map +0 -1
- package/dist/es/components/PayPal/utils/is-paypal-service-config-equal.js +0 -2
- package/dist/es/components/PayPal/utils/is-paypal-service-config-equal.js.map +0 -1
- package/dist/es/utils/is-live-environment.js +0 -2
- package/dist/es/utils/is-live-environment.js.map +0 -1
- package/dist/es-legacy/components/PayPal/PayPalCredit.js +0 -2
- package/dist/es-legacy/components/PayPal/PayPalCredit.js.map +0 -1
- package/dist/es-legacy/components/PayPal/PayPalPaylater.js +0 -2
- package/dist/es-legacy/components/PayPal/PayPalPaylater.js.map +0 -1
- package/dist/es-legacy/components/PayPal/Venmo.js +0 -2
- package/dist/es-legacy/components/PayPal/Venmo.js.map +0 -1
- package/dist/es-legacy/components/PayPal/components/PayPalButton.js +0 -2
- package/dist/es-legacy/components/PayPal/components/PayPalButton.js.map +0 -1
- package/dist/es-legacy/components/PayPal/components/PayPalComponentV6.js +0 -2
- package/dist/es-legacy/components/PayPal/components/PayPalComponentV6.js.map +0 -1
- package/dist/es-legacy/components/PayPal/components/PayPalComponentV6.module.scss.js +0 -2
- package/dist/es-legacy/components/PayPal/components/PayPalComponentV6.module.scss.js.map +0 -1
- package/dist/es-legacy/components/PayPal/components/PayPalCreditButton.js +0 -2
- package/dist/es-legacy/components/PayPal/components/PayPalCreditButton.js.map +0 -1
- package/dist/es-legacy/components/PayPal/components/PayPalCreditComponent.js +0 -2
- package/dist/es-legacy/components/PayPal/components/PayPalCreditComponent.js.map +0 -1
- package/dist/es-legacy/components/PayPal/components/PayPalMessaging.js +0 -2
- package/dist/es-legacy/components/PayPal/components/PayPalMessaging.js.map +0 -1
- package/dist/es-legacy/components/PayPal/components/PayPalPayLaterButton.js +0 -2
- package/dist/es-legacy/components/PayPal/components/PayPalPayLaterButton.js.map +0 -1
- package/dist/es-legacy/components/PayPal/components/PayPalPaylaterComponent.js +0 -2
- package/dist/es-legacy/components/PayPal/components/PayPalPaylaterComponent.js.map +0 -1
- package/dist/es-legacy/components/PayPal/components/PayPalPaylaterComponent.module.scss.js +0 -2
- package/dist/es-legacy/components/PayPal/components/PayPalPaylaterComponent.module.scss.js.map +0 -1
- package/dist/es-legacy/components/PayPal/components/PayPalProcessingSpinner.js +0 -2
- package/dist/es-legacy/components/PayPal/components/PayPalProcessingSpinner.js.map +0 -1
- package/dist/es-legacy/components/PayPal/components/PayPalSpinner.js +0 -2
- package/dist/es-legacy/components/PayPal/components/PayPalSpinner.js.map +0 -1
- package/dist/es-legacy/components/PayPal/components/VenmoButton.js +0 -2
- package/dist/es-legacy/components/PayPal/components/VenmoButton.js.map +0 -1
- package/dist/es-legacy/components/PayPal/components/VenmoComponent.js +0 -2
- package/dist/es-legacy/components/PayPal/components/VenmoComponent.js.map +0 -1
- package/dist/es-legacy/components/PayPal/hooks/usePayPalButtonEligibility.js +0 -2
- package/dist/es-legacy/components/PayPal/hooks/usePayPalButtonEligibility.js.map +0 -1
- package/dist/es-legacy/components/PayPal/hooks/usePayPalOneTimeSession.js +0 -2
- package/dist/es-legacy/components/PayPal/hooks/usePayPalOneTimeSession.js.map +0 -1
- package/dist/es-legacy/components/PayPal/hooks/usePayPalSaveSession.js +0 -2
- package/dist/es-legacy/components/PayPal/hooks/usePayPalSaveSession.js.map +0 -1
- package/dist/es-legacy/components/PayPal/hooks/usePayPalSessionOptions.js +0 -2
- package/dist/es-legacy/components/PayPal/hooks/usePayPalSessionOptions.js.map +0 -1
- package/dist/es-legacy/components/PayPal/hooks/usePayPalStatus.js +0 -2
- package/dist/es-legacy/components/PayPal/hooks/usePayPalStatus.js.map +0 -1
- package/dist/es-legacy/components/PayPal/hooks/useStartPayPalSession.js +0 -2
- package/dist/es-legacy/components/PayPal/hooks/useStartPayPalSession.js.map +0 -1
- package/dist/es-legacy/components/PayPal/models/BasePayPalElement.js +0 -2
- package/dist/es-legacy/components/PayPal/models/BasePayPalElement.js.map +0 -1
- package/dist/es-legacy/components/PayPal/services/PayPalSdkLoader.js +0 -2
- package/dist/es-legacy/components/PayPal/services/PayPalSdkLoader.js.map +0 -1
- package/dist/es-legacy/components/PayPal/services/PayPalService.js +0 -2
- package/dist/es-legacy/components/PayPal/services/PayPalService.js.map +0 -1
- package/dist/es-legacy/components/PayPal/services/request-paypal-oauth-token.js +0 -2
- package/dist/es-legacy/components/PayPal/services/request-paypal-oauth-token.js.map +0 -1
- package/dist/es-legacy/components/PayPal/services/request-paypal-order-details.js +0 -2
- package/dist/es-legacy/components/PayPal/services/request-paypal-order-details.js.map +0 -1
- package/dist/es-legacy/components/PayPal/utils/is-paypal-service-config-equal.js +0 -2
- package/dist/es-legacy/components/PayPal/utils/is-paypal-service-config-equal.js.map +0 -1
- package/dist/es-legacy/utils/is-live-environment.js +0 -2
- package/dist/es-legacy/utils/is-live-environment.js.map +0 -1
package/dist/es/index.d.ts
CHANGED
|
@@ -3,7 +3,6 @@
|
|
|
3
3
|
import * as preact from 'preact';
|
|
4
4
|
import { Component, RefObject, Ref, ComponentChildren, h, TargetedMouseEvent, ComponentChild, FunctionComponent, TargetedKeyboardEvent } from 'preact';
|
|
5
5
|
import { OrderResponseBody, OnShippingAddressChangeData, OnShippingOptionsChangeData, OnInitActions } from '@paypal/paypal-js';
|
|
6
|
-
import { PageTypes, SdkInstance, EligiblePaymentMethodsOutput, OnApproveDataOneTimePayments, OnApproveDataSavePayments, OnShippingAddressChangeData as OnShippingAddressChangeData$1, OnShippingOptionsChangeData as OnShippingOptionsChangeData$1, PayPalPresentationModeOptions as PayPalPresentationModeOptions$1, FetchContentOptions, PayPalMessagesOptions, PayPalMessagesSession } from '@paypal/paypal-js/sdk-v6';
|
|
7
6
|
|
|
8
7
|
interface ILanguageService {
|
|
9
8
|
fetchTranslationsFromCdn(locale: string): Promise<Readonly<Translations>>;
|
|
@@ -23,9 +22,16 @@ interface LanguageOptions {
|
|
|
23
22
|
}
|
|
24
23
|
|
|
25
24
|
declare class Language {
|
|
26
|
-
readonly locale: string;
|
|
27
25
|
readonly languageCode: string;
|
|
28
26
|
private readonly service;
|
|
27
|
+
/**
|
|
28
|
+
* Locale used to format amounts and dates, and to be passed on to third-party SDKs
|
|
29
|
+
*/
|
|
30
|
+
private readonly _formattingLocale;
|
|
31
|
+
/**
|
|
32
|
+
* Locale of the translations that are loaded
|
|
33
|
+
*/
|
|
34
|
+
private readonly _translationsLocale;
|
|
29
35
|
private readonly customTranslations;
|
|
30
36
|
/**
|
|
31
37
|
* Supported locales list
|
|
@@ -41,10 +47,20 @@ declare class Language {
|
|
|
41
47
|
readonly timeAndDateFormatOptions: Intl.DateTimeFormatOptions;
|
|
42
48
|
readonly timeAndDateFormatter: Intl.DateTimeFormat;
|
|
43
49
|
constructor(props: LanguageOptions);
|
|
50
|
+
/**
|
|
51
|
+
* Returns the locale requested by the merchant, in the format Intl accepts.
|
|
52
|
+
* Unlike {@link Language.translationsLocale}, it is not limited to the locales we ship translations for.
|
|
53
|
+
*/
|
|
54
|
+
get locale(): string;
|
|
55
|
+
/**
|
|
56
|
+
* Returns the locale of the translations that are loaded.
|
|
57
|
+
* Limited to the locales we ship translations for, so a request for an unsupported one resolves to the closest match.
|
|
58
|
+
*/
|
|
59
|
+
get translationsLocale(): string;
|
|
44
60
|
requestTranslations(): Promise<void>;
|
|
45
61
|
get translations(): Readonly<Translations>;
|
|
46
62
|
/**
|
|
47
|
-
* Returns a translated string from a key in the current {@link Language.
|
|
63
|
+
* Returns a translated string from a key in the current {@link Language.translationsLocale}
|
|
48
64
|
* @param key - Translation key
|
|
49
65
|
* @param options - Translation options
|
|
50
66
|
* @returns Translated string
|
|
@@ -82,10 +98,10 @@ declare class Language {
|
|
|
82
98
|
*/
|
|
83
99
|
declare class ValidationRuleResult {
|
|
84
100
|
private readonly shouldValidate;
|
|
85
|
-
isValid: boolean;
|
|
101
|
+
isValid: boolean | null;
|
|
86
102
|
errorMessage: string | ErrorMessageObject | undefined;
|
|
87
103
|
errorI18n: string;
|
|
88
|
-
constructor(rule: ValidatorRule, value: string, mode: ValidatorMode, context: FieldContext, i18n: Language);
|
|
104
|
+
constructor(rule: ValidatorRule, value: string, mode: ValidatorMode, context: FieldContext | undefined, i18n: Language);
|
|
89
105
|
/**
|
|
90
106
|
* Whether the validation is considered an error.
|
|
91
107
|
* A field is only considered to be an error if the validation rule applies to the current mode i.e. 'blur' or 'input'.
|
|
@@ -102,7 +118,7 @@ type ErrorMessageObject = {
|
|
|
102
118
|
values: Record<string, string | null>;
|
|
103
119
|
};
|
|
104
120
|
};
|
|
105
|
-
type ValidateFunction = (value: string, context: any) => boolean;
|
|
121
|
+
type ValidateFunction = (value: string, context: any) => boolean | null;
|
|
106
122
|
interface ValidatorRule {
|
|
107
123
|
validate: ValidateFunction;
|
|
108
124
|
errorMessage?: string | ErrorMessageObject;
|
|
@@ -139,11 +155,11 @@ interface AddressProps {
|
|
|
139
155
|
countryCode?: string;
|
|
140
156
|
data?: AddressData | null;
|
|
141
157
|
label?: string;
|
|
142
|
-
onChange
|
|
158
|
+
onChange?: (newState: any) => void;
|
|
143
159
|
onAddressLookup?: OnAddressLookupType;
|
|
144
160
|
onAddressSelected?: OnAddressSelectedType;
|
|
145
161
|
addressSearchDebounceMs?: number;
|
|
146
|
-
requiredFields?: string[];
|
|
162
|
+
requiredFields?: readonly string[];
|
|
147
163
|
specifications?: AddressSpecifications;
|
|
148
164
|
validationRules?: ValidatorRules;
|
|
149
165
|
visibility?: string;
|
|
@@ -257,7 +273,7 @@ declare class AdyenCheckoutError extends Error {
|
|
|
257
273
|
|
|
258
274
|
type InstallmentPlan = 'revolving' | 'bonus' | 'regular';
|
|
259
275
|
interface InstallmentOption {
|
|
260
|
-
values
|
|
276
|
+
values?: number[];
|
|
261
277
|
plans?: InstallmentPlan[];
|
|
262
278
|
preselectedValue?: number;
|
|
263
279
|
}
|
|
@@ -857,17 +873,6 @@ interface FastlaneConfiguration extends UIElementProps {
|
|
|
857
873
|
}
|
|
858
874
|
|
|
859
875
|
declare const GENERIC_OPTIONS: readonly ["amount", "secondaryAmount", "countryCode", "environment", "_environmentUrls", "loadingContext", "i18n", "modules", "order", "session", "clientKey", "showPayButton", "redirectFromTopWhenInIframe", "donation", "onPaymentCompleted", "onPaymentFailed", "beforeRedirect", "beforeSubmit", "onSubmit", "onReview", "onAction", "onActionHandled", "onAdditionalDetails", "onChange", "onEnterKeyPressed", "onError", "onBalanceCheck", "onOrderCancel", "onOrderRequest", "onOrderUpdated", "onPaymentMethodsRequest"];
|
|
860
|
-
/**
|
|
861
|
-
* How the SDK handles the rendering of a payment method.
|
|
862
|
-
*
|
|
863
|
-
* - NATIVE: The payment method has a dedicated component in the SDK.
|
|
864
|
-
* - GENERIC: The payment method has no dedicated component; it falls back to a generic component (Redirect).
|
|
865
|
-
* @internal
|
|
866
|
-
*/
|
|
867
|
-
declare enum PAYMENT_METHOD_BEHAVIOR {
|
|
868
|
-
NATIVE = "nativeComponent",
|
|
869
|
-
GENERIC = "genericComponent"
|
|
870
|
-
}
|
|
871
876
|
|
|
872
877
|
interface IAnalytics {
|
|
873
878
|
checkoutAttemptId?: string;
|
|
@@ -1205,9 +1210,6 @@ declare enum TxVariants {
|
|
|
1205
1210
|
clicktopay = "clicktopay",
|
|
1206
1211
|
googlepay = "googlepay",
|
|
1207
1212
|
paypal = "paypal",
|
|
1208
|
-
paypal_paylater = "paypal_paylater",
|
|
1209
|
-
paypal_credit = "paypal_credit",
|
|
1210
|
-
venmo = "venmo",
|
|
1211
1213
|
fastlane = "fastlane",
|
|
1212
1214
|
paywithgoogle = "paywithgoogle",
|
|
1213
1215
|
/** Wallets */
|
|
@@ -1461,7 +1463,7 @@ interface AmazonPayConfiguration extends UIElementProps {
|
|
|
1461
1463
|
isExpress?: boolean;
|
|
1462
1464
|
}
|
|
1463
1465
|
type AmazonPayComponentRef = ComponentMethodsRef & {
|
|
1464
|
-
getSubmitFunction?: () => () => void;
|
|
1466
|
+
getSubmitFunction?: () => (() => void) | null;
|
|
1465
1467
|
};
|
|
1466
1468
|
interface AmazonPayComponentProps extends AmazonPayConfiguration {
|
|
1467
1469
|
showSignOutButton?: boolean;
|
|
@@ -1482,7 +1484,7 @@ interface AmazonPayButtonProps {
|
|
|
1482
1484
|
design?: string;
|
|
1483
1485
|
environment?: string;
|
|
1484
1486
|
locale?: string;
|
|
1485
|
-
onClick
|
|
1487
|
+
onClick?: (resolve: (value?: unknown) => void, reject: () => void) => Promise<void>;
|
|
1486
1488
|
onError?: (error: AdyenCheckoutError, component: UIElement) => void;
|
|
1487
1489
|
placement?: Placement;
|
|
1488
1490
|
productType?: ProductType;
|
|
@@ -1491,11 +1493,11 @@ interface AmazonPayButtonProps {
|
|
|
1491
1493
|
initCheckout(): void;
|
|
1492
1494
|
}>;
|
|
1493
1495
|
returnUrl?: string;
|
|
1494
|
-
showPayButton
|
|
1496
|
+
showPayButton?: boolean;
|
|
1495
1497
|
}
|
|
1496
1498
|
interface SignOutButtonProps {
|
|
1497
1499
|
amazonRef: AmazonWindowObject;
|
|
1498
|
-
onSignOut
|
|
1500
|
+
onSignOut?: (resolve: (value?: unknown) => void, reject: () => void) => Promise<void>;
|
|
1499
1501
|
}
|
|
1500
1502
|
interface ChangePaymentDetailsButtonProps {
|
|
1501
1503
|
amazonCheckoutSessionId: string;
|
|
@@ -1507,31 +1509,31 @@ interface ChangeActionOptions {
|
|
|
1507
1509
|
}
|
|
1508
1510
|
interface OrderButtonProps {
|
|
1509
1511
|
amazonCheckoutSessionId: string;
|
|
1510
|
-
clientKey
|
|
1512
|
+
clientKey?: string;
|
|
1511
1513
|
chargePermissionType?: ChargePermissionType;
|
|
1512
|
-
onError
|
|
1513
|
-
recurringMetadata
|
|
1514
|
+
onError?: (error: AdyenCheckoutError, component: UIElement) => void;
|
|
1515
|
+
recurringMetadata?: RecurringMetadata;
|
|
1514
1516
|
ref: RefObject<{
|
|
1515
1517
|
createOrder(): void;
|
|
1516
1518
|
}>;
|
|
1517
|
-
region
|
|
1518
|
-
returnUrl
|
|
1519
|
-
publicKeyId
|
|
1519
|
+
region?: Region;
|
|
1520
|
+
returnUrl?: string;
|
|
1521
|
+
publicKeyId?: string;
|
|
1520
1522
|
}
|
|
1521
1523
|
interface AmazonPayElementData {
|
|
1522
1524
|
paymentMethod: {
|
|
1523
1525
|
type: string;
|
|
1524
1526
|
checkoutSessionId?: string;
|
|
1525
1527
|
};
|
|
1526
|
-
browserInfo: BrowserInfo;
|
|
1528
|
+
browserInfo: BrowserInfo | undefined;
|
|
1527
1529
|
}
|
|
1528
1530
|
interface AmazonPayButtonSettings {
|
|
1529
1531
|
buttonColor?: ButtonColor;
|
|
1530
|
-
design?: string;
|
|
1532
|
+
design?: string | null;
|
|
1531
1533
|
/**
|
|
1532
1534
|
* Amazon Pay merchant account identifier
|
|
1533
1535
|
*/
|
|
1534
|
-
merchantId
|
|
1536
|
+
merchantId?: string;
|
|
1535
1537
|
/**
|
|
1536
1538
|
* Sets button to Sandbox environment
|
|
1537
1539
|
*/
|
|
@@ -1539,11 +1541,11 @@ interface AmazonPayButtonSettings {
|
|
|
1539
1541
|
/**
|
|
1540
1542
|
* Product type selected for checkout
|
|
1541
1543
|
*/
|
|
1542
|
-
productType
|
|
1544
|
+
productType?: ProductType;
|
|
1543
1545
|
/**
|
|
1544
1546
|
* Placement of the Amazon Pay button on your website
|
|
1545
1547
|
*/
|
|
1546
|
-
placement
|
|
1548
|
+
placement?: Placement;
|
|
1547
1549
|
/**
|
|
1548
1550
|
* Language used to render the button and text on Amazon Pay hosted pages. Please note that supported language(s) is dependent on the region that your Amazon Pay account was registered for
|
|
1549
1551
|
*/
|
|
@@ -1606,19 +1608,19 @@ interface CheckoutDetailsRequest {
|
|
|
1606
1608
|
region?: Region;
|
|
1607
1609
|
}
|
|
1608
1610
|
interface UpdateAmazonCheckoutSessionRequest {
|
|
1609
|
-
amount
|
|
1611
|
+
amount?: PaymentAmount;
|
|
1610
1612
|
chargePermissionType?: ChargePermissionType;
|
|
1611
1613
|
checkoutCancelUrl?: string;
|
|
1612
|
-
checkoutResultReturnUrl
|
|
1614
|
+
checkoutResultReturnUrl?: string;
|
|
1613
1615
|
checkoutSessionId: string;
|
|
1614
|
-
publicKeyId
|
|
1616
|
+
publicKeyId?: string;
|
|
1615
1617
|
recurringMetadata?: RecurringMetadata;
|
|
1616
|
-
region
|
|
1618
|
+
region?: Region;
|
|
1617
1619
|
}
|
|
1618
1620
|
interface CheckoutSessionConfig {
|
|
1619
1621
|
payloadJSON: string;
|
|
1620
|
-
signature: string;
|
|
1621
|
-
publicKeyId
|
|
1622
|
+
signature: string | null;
|
|
1623
|
+
publicKeyId?: string;
|
|
1622
1624
|
}
|
|
1623
1625
|
interface DeliverySpecifications {
|
|
1624
1626
|
specialRestrictions?: string[];
|
|
@@ -2202,7 +2204,7 @@ type ClickToPayPaymentData = {
|
|
|
2202
2204
|
type: string;
|
|
2203
2205
|
};
|
|
2204
2206
|
origin: string;
|
|
2205
|
-
browserInfo: BrowserInfo;
|
|
2207
|
+
browserInfo: BrowserInfo | undefined;
|
|
2206
2208
|
};
|
|
2207
2209
|
|
|
2208
2210
|
declare enum ErrorEventCode {
|
|
@@ -2318,7 +2320,7 @@ interface ChallengeData {
|
|
|
2318
2320
|
acsURL: string;
|
|
2319
2321
|
cReqData: CReqData;
|
|
2320
2322
|
iframeSizeArr: string[];
|
|
2321
|
-
postMessageDomain: string;
|
|
2323
|
+
postMessageDomain: string | null;
|
|
2322
2324
|
}
|
|
2323
2325
|
interface ResultObject {
|
|
2324
2326
|
threeDSCompInd?: ResultValue;
|
|
@@ -2351,7 +2353,7 @@ interface FingerPrintData {
|
|
|
2351
2353
|
threeDSServerTransID: string;
|
|
2352
2354
|
threeDSMethodURL: string;
|
|
2353
2355
|
threeDSMethodNotificationURL: string;
|
|
2354
|
-
postMessageDomain: string;
|
|
2356
|
+
postMessageDomain: string | null;
|
|
2355
2357
|
}
|
|
2356
2358
|
type ThreeDS2FingerprintResponse = {
|
|
2357
2359
|
type: 'action' | 'completed';
|
|
@@ -3119,7 +3121,7 @@ declare class CashAppPay extends UIElement<CashAppPayConfiguration> {
|
|
|
3119
3121
|
get isValid(): boolean;
|
|
3120
3122
|
private readonly handleOnChangeStoreDetails;
|
|
3121
3123
|
private readonly handleAuthorize;
|
|
3122
|
-
protected componentToRender(): h.JSX.Element;
|
|
3124
|
+
protected componentToRender(): h.JSX.Element | null;
|
|
3123
3125
|
}
|
|
3124
3126
|
|
|
3125
3127
|
declare class ClickToPayElement extends UIElement<ClickToPayConfiguration> {
|
|
@@ -3686,7 +3688,7 @@ declare class GooglePay extends UIElement<GooglePayConfiguration> {
|
|
|
3686
3688
|
* Use this method to prefetch a PaymentDataRequest configuration to improve loadPaymentData execution time on later user interaction. No value is returned.
|
|
3687
3689
|
*/
|
|
3688
3690
|
prefetch: () => void;
|
|
3689
|
-
get browserInfo(): BrowserInfo;
|
|
3691
|
+
get browserInfo(): BrowserInfo | undefined;
|
|
3690
3692
|
get icon(): string;
|
|
3691
3693
|
protected componentToRender(): h.JSX.Element;
|
|
3692
3694
|
}
|
|
@@ -3792,341 +3794,7 @@ type PayPalOnShippingOptionsChangeData = OnShippingOptionsChangeData & {
|
|
|
3792
3794
|
errors: Record<string, string>;
|
|
3793
3795
|
};
|
|
3794
3796
|
type PayPalOnInitActions = OnInitActions;
|
|
3795
|
-
type PayPalPageTypes = PageTypes;
|
|
3796
|
-
type PayPaylComponent = 'paypal-payments' | 'venmo-payments' | 'paypal-messages';
|
|
3797
|
-
type PayPalComponents = Array<PayPaylComponent>;
|
|
3798
|
-
type PayPalSdkInstance = SdkInstance<PayPalComponents>;
|
|
3799
|
-
type PayPalEligiblePaymentMethods = EligiblePaymentMethodsOutput;
|
|
3800
|
-
type PayPalV6OnShippingAddressChangeData = OnShippingAddressChangeData$1;
|
|
3801
|
-
type PayPalV6OnShippingOptionsChangeData = OnShippingOptionsChangeData$1;
|
|
3802
|
-
type PayPalV6OnApproveData = OnApproveDataOneTimePayments | OnApproveDataSavePayments;
|
|
3803
|
-
type PayPalFetchContentOptions = FetchContentOptions;
|
|
3804
|
-
/**
|
|
3805
|
-
* Presentation modes offered by the PayPal SDK, without the 'redirect' mode, which is not supported yet.
|
|
3806
|
-
*/
|
|
3807
|
-
type PayPalPresentationModeOptions = PayPalPresentationModeOptions$1 & {
|
|
3808
|
-
sandboxSupport?: {
|
|
3809
|
-
enabled: boolean;
|
|
3810
|
-
};
|
|
3811
|
-
};
|
|
3812
3797
|
|
|
3813
|
-
declare class PayPalSdkLoader {
|
|
3814
|
-
private sdkLoadingPromise;
|
|
3815
|
-
private readonly analytics;
|
|
3816
|
-
private readonly environment?;
|
|
3817
|
-
private readonly nonce?;
|
|
3818
|
-
constructor({ analytics, environment, nonce }: {
|
|
3819
|
-
analytics: IAnalytics;
|
|
3820
|
-
environment?: string;
|
|
3821
|
-
nonce?: string;
|
|
3822
|
-
});
|
|
3823
|
-
load(): Promise<typeof window.paypal>;
|
|
3824
|
-
isSdkLoaded(): Promise<void>;
|
|
3825
|
-
}
|
|
3826
|
-
|
|
3827
|
-
interface PayPalServiceConfig {
|
|
3828
|
-
sdkLoader: PayPalSdkLoader;
|
|
3829
|
-
loadingContext: string;
|
|
3830
|
-
clientKey: string;
|
|
3831
|
-
merchantId: string;
|
|
3832
|
-
countryCode: string;
|
|
3833
|
-
amount?: PaymentAmount;
|
|
3834
|
-
vault: boolean;
|
|
3835
|
-
locale?: string;
|
|
3836
|
-
pageType?: PayPalPageTypes;
|
|
3837
|
-
environment?: string;
|
|
3838
|
-
components: PayPalComponents;
|
|
3839
|
-
}
|
|
3840
|
-
/**
|
|
3841
|
-
* Configuration accepted by 'PayPalService.refresh'. The SDK loader is excluded since the PayPal SDK script
|
|
3842
|
-
* itself is loaded only once, and it is not affected by configuration changes.
|
|
3843
|
-
*/
|
|
3844
|
-
type PayPalServiceRefreshConfig = Omit<PayPalServiceConfig, 'sdkLoader'>;
|
|
3845
|
-
declare class PayPalService {
|
|
3846
|
-
private readonly sdkLoader;
|
|
3847
|
-
private loadingContext;
|
|
3848
|
-
private clientKey;
|
|
3849
|
-
private merchantId;
|
|
3850
|
-
private amount?;
|
|
3851
|
-
private countryCode;
|
|
3852
|
-
private vault;
|
|
3853
|
-
private locale?;
|
|
3854
|
-
private pageType?;
|
|
3855
|
-
private environment?;
|
|
3856
|
-
private components;
|
|
3857
|
-
private loadingPromise?;
|
|
3858
|
-
private sdkInstance;
|
|
3859
|
-
private eligiblePaymentMethods;
|
|
3860
|
-
constructor({ sdkLoader, ...config }: PayPalServiceConfig);
|
|
3861
|
-
initialize(): Promise<void>;
|
|
3862
|
-
/**
|
|
3863
|
-
* Re-creates the PayPal SDK instance and re-evaluates the eligible payment methods using the given
|
|
3864
|
-
* configuration. It is used when the merchant updates the configuration of the component, since both the
|
|
3865
|
-
* SDK instance and the eligible payment methods are derived from it.
|
|
3866
|
-
*
|
|
3867
|
-
* @remarks
|
|
3868
|
-
* The internal loading promise is replaced synchronously, therefore this method must be called before the
|
|
3869
|
-
* element re-mounts. The re-mounted component then awaits the new promise, instead of reading the outdated
|
|
3870
|
-
* SDK instance.
|
|
3871
|
-
*
|
|
3872
|
-
* @param config - Configuration used to create the new SDK instance and eligible payment methods
|
|
3873
|
-
*/
|
|
3874
|
-
refresh(config: PayPalServiceRefreshConfig): Promise<void>;
|
|
3875
|
-
private applyConfig;
|
|
3876
|
-
/**
|
|
3877
|
-
* Requests a client token and creates both the SDK instance and the eligible payment methods.
|
|
3878
|
-
*
|
|
3879
|
-
* @remarks
|
|
3880
|
-
* Not declared as 'async' on purpose: the loading promise must be assigned synchronously, so that
|
|
3881
|
-
* consumers calling 'isSdkLoaded' right after never observe a resolved promise of a previous load.
|
|
3882
|
-
*/
|
|
3883
|
-
private load;
|
|
3884
|
-
isSdkLoaded(): Promise<void>;
|
|
3885
|
-
private createPayPalSdkInstance;
|
|
3886
|
-
private createEligibleMethods;
|
|
3887
|
-
getInstance(): PayPalSdkInstance;
|
|
3888
|
-
getEligiblePaymentMethods(): PayPalEligiblePaymentMethods;
|
|
3889
|
-
}
|
|
3890
|
-
|
|
3891
|
-
/**
|
|
3892
|
-
* @internal
|
|
3893
|
-
*/
|
|
3894
|
-
type PayPalButtonType = 'pay' | 'checkout' | 'buynow' | 'subscribe';
|
|
3895
|
-
/**
|
|
3896
|
-
* @internal
|
|
3897
|
-
*/
|
|
3898
|
-
type PayPalButtonClass = 'paypal-gold' | 'paypal-blue' | 'paypal-white' | 'paypal-black';
|
|
3899
|
-
/**
|
|
3900
|
-
* @internal
|
|
3901
|
-
*/
|
|
3902
|
-
type VenmoButtonClass = 'venmo-blue' | 'venmo-black';
|
|
3903
|
-
/**
|
|
3904
|
-
* @internal
|
|
3905
|
-
*/
|
|
3906
|
-
type PayPalButtonStyle = {
|
|
3907
|
-
type?: PayPalButtonType;
|
|
3908
|
-
class?: PayPalButtonClass;
|
|
3909
|
-
};
|
|
3910
|
-
/**
|
|
3911
|
-
* @internal
|
|
3912
|
-
*/
|
|
3913
|
-
type PayPalVenmoButtonStyle = {
|
|
3914
|
-
type?: PayPalButtonType;
|
|
3915
|
-
class?: VenmoButtonClass;
|
|
3916
|
-
};
|
|
3917
|
-
|
|
3918
|
-
declare class BasePayPalElement<TProps extends BasePayPalConfiguration = BasePayPalConfiguration> extends UIElement<TProps> {
|
|
3919
|
-
static readonly type: string;
|
|
3920
|
-
static readonly subtype = "sdk";
|
|
3921
|
-
protected readonly fundingSource: SupportedPayPalFundingSources;
|
|
3922
|
-
paymentData: string | null;
|
|
3923
|
-
private resolve;
|
|
3924
|
-
private reject;
|
|
3925
|
-
protected paypalService?: PayPalService;
|
|
3926
|
-
constructor(checkout: ICore, props?: TProps);
|
|
3927
|
-
/**
|
|
3928
|
-
* The express flow relies on the shipping callbacks and on a presentation mode that keeps the shopper on the
|
|
3929
|
-
* merchant page. Therefore any combination that PayPal does not support in express is rejected upfront.
|
|
3930
|
-
*
|
|
3931
|
-
* @throws AdyenCheckoutError - IMPLEMENTATION_ERROR when the express configuration is not supported
|
|
3932
|
-
*/
|
|
3933
|
-
private validateExpressConfiguration;
|
|
3934
|
-
private initialize;
|
|
3935
|
-
/**
|
|
3936
|
-
* Updates the props, refreshes the PayPal SDK instance and the eligible payment methods if needed, and then
|
|
3937
|
-
* re-mounts the element. The refresh is needed because both the SDK instance and the eligible payment methods
|
|
3938
|
-
* are derived from props that the merchant can update, like the amount, the country code or the locale.
|
|
3939
|
-
*
|
|
3940
|
-
* @param props - props to update
|
|
3941
|
-
* @returns this - the element instance
|
|
3942
|
-
*/
|
|
3943
|
-
update(props: Partial<TProps>): this;
|
|
3944
|
-
/**
|
|
3945
|
-
* Re-creates the PayPal SDK instance and the eligible payment methods, but only if the updated props changed
|
|
3946
|
-
* the configuration they are derived from. Any other prop change just re-renders the element.
|
|
3947
|
-
*
|
|
3948
|
-
* @param previousServiceConfig - The service configuration before the props were updated
|
|
3949
|
-
*/
|
|
3950
|
-
private refreshPayPalService;
|
|
3951
|
-
/**
|
|
3952
|
-
* Configuration used to create and to refresh the PayPal service. It is kept in a single place to guarantee
|
|
3953
|
-
* that the service is always created and refreshed with the same set of props.
|
|
3954
|
-
*/
|
|
3955
|
-
protected get paypalServiceConfig(): PayPalServiceRefreshConfig;
|
|
3956
|
-
private onPayPalServiceReady;
|
|
3957
|
-
protected get paypalComponents(): PayPalComponents;
|
|
3958
|
-
isAvailable(): Promise<void>;
|
|
3959
|
-
protected beforeRender(configSetByMerchant?: TProps): void;
|
|
3960
|
-
submit: () => void;
|
|
3961
|
-
/**
|
|
3962
|
-
* Updates the paymentData value. It must be used in the PayPal Express flow, when patching the amount
|
|
3963
|
-
* @param paymentData - Payment data value
|
|
3964
|
-
*/
|
|
3965
|
-
updatePaymentData(paymentData: string): void;
|
|
3966
|
-
protected get sdkDataPaymentMethodConfiguration(): {
|
|
3967
|
-
supportsPayPalV6: boolean;
|
|
3968
|
-
};
|
|
3969
|
-
protected formatData(): {
|
|
3970
|
-
storePaymentMethod?: boolean;
|
|
3971
|
-
paymentMethod: {
|
|
3972
|
-
type: string;
|
|
3973
|
-
subtype: string;
|
|
3974
|
-
};
|
|
3975
|
-
browserInfo: BrowserInfo;
|
|
3976
|
-
};
|
|
3977
|
-
protected get browserInfo(): BrowserInfo;
|
|
3978
|
-
handleAction: (action: PaymentAction) => any;
|
|
3979
|
-
updateWithAction: (action: PaymentAction) => any;
|
|
3980
|
-
/**
|
|
3981
|
-
* Dropin Validation
|
|
3982
|
-
*
|
|
3983
|
-
* @remarks
|
|
3984
|
-
* Paypal does not require any specific Dropin validation
|
|
3985
|
-
*/
|
|
3986
|
-
get isValid(): boolean;
|
|
3987
|
-
/**
|
|
3988
|
-
* Handles the PayPal SDK v6 'onApprove' event. The shape of the data depends on which session type was started:
|
|
3989
|
-
* a one-time payment session returns an 'orderId', whereas a save payment session (zero-auth) returns a
|
|
3990
|
-
* 'vaultSetupToken'.
|
|
3991
|
-
*
|
|
3992
|
-
* @param data - Approve data from the PayPal SDK
|
|
3993
|
-
*/
|
|
3994
|
-
protected handleOnApprove(data: PayPalV6OnApproveData): Promise<void>;
|
|
3995
|
-
handleResolve(token: string): void;
|
|
3996
|
-
handleReject(errorMessage: string): void;
|
|
3997
|
-
protected handleSubmit(): Promise<string>;
|
|
3998
|
-
/**
|
|
3999
|
-
* If the merchant provides the 'onShippingAddressChange' callback, then this method is used as a wrapper to it, in order
|
|
4000
|
-
* to expose to the merchant the 'component' instance. The merchant needs the 'component' in order to manipulate the
|
|
4001
|
-
* paymentData
|
|
4002
|
-
*
|
|
4003
|
-
* @param data - The shipping address change data
|
|
4004
|
-
*/
|
|
4005
|
-
protected handleOnShippingAddressChange(data: PayPalV6OnShippingAddressChangeData): Promise<void>;
|
|
4006
|
-
/**
|
|
4007
|
-
* If the merchant provides the 'onShippingOptionsChange' callback, then this method is used as a wrapper to it, in order
|
|
4008
|
-
* to expose to the merchant the 'component' instance. The merchant needs the 'component' in order to manipulate the
|
|
4009
|
-
* paymentData
|
|
4010
|
-
*
|
|
4011
|
-
* @param data - The shipping options change data
|
|
4012
|
-
*/
|
|
4013
|
-
protected handleOnShippingOptionsChange(data: PayPalV6OnShippingOptionsChangeData): Promise<void>;
|
|
4014
|
-
protected componentToRender(): h.JSX.Element | null;
|
|
4015
|
-
}
|
|
4016
|
-
|
|
4017
|
-
type PayPalOrderDetailsData = {
|
|
4018
|
-
requestId: string;
|
|
4019
|
-
shopperName?: {
|
|
4020
|
-
firstName: string;
|
|
4021
|
-
lastName: string;
|
|
4022
|
-
};
|
|
4023
|
-
billingAddress?: {
|
|
4024
|
-
street: string;
|
|
4025
|
-
houseNumberOrName: string;
|
|
4026
|
-
city: string;
|
|
4027
|
-
postalCode: string;
|
|
4028
|
-
stateOrProvince: string;
|
|
4029
|
-
country: string;
|
|
4030
|
-
};
|
|
4031
|
-
deliveryAddress?: {
|
|
4032
|
-
street: string;
|
|
4033
|
-
houseNumberOrName: string;
|
|
4034
|
-
city: string;
|
|
4035
|
-
postalCode: string;
|
|
4036
|
-
stateOrProvince: string;
|
|
4037
|
-
country: string;
|
|
4038
|
-
firstName: string;
|
|
4039
|
-
};
|
|
4040
|
-
payPalOrder: Record<string, unknown>;
|
|
4041
|
-
};
|
|
4042
|
-
|
|
4043
|
-
type PayPalV6Props<E extends PaypalElement | BasePayPalElement> = {
|
|
4044
|
-
/**
|
|
4045
|
-
* The type of page where the SDK is being initialized. This helps PayPal optimize the payment experience and provide better analytics.
|
|
4046
|
-
* @see {@link https://docs.paypal.ai/developer/how-to/sdk/js/v6/configuration#parameters}
|
|
4047
|
-
* @default "checkout"
|
|
4048
|
-
*/
|
|
4049
|
-
pageType?: PayPalPageTypes;
|
|
4050
|
-
/**
|
|
4051
|
-
* Set to true to enable vaulting of the payment method (save for future use).
|
|
4052
|
-
* @default false
|
|
4053
|
-
*/
|
|
4054
|
-
vault?: boolean;
|
|
4055
|
-
/**
|
|
4056
|
-
* Pass a Content Security Policy single-use token if you use them on your site
|
|
4057
|
-
*
|
|
4058
|
-
* @default undefined
|
|
4059
|
-
*/
|
|
4060
|
-
nonce?: string;
|
|
4061
|
-
/**
|
|
4062
|
-
* Controls the final button text in the PayPal flow.
|
|
4063
|
-
* - true — Shows “Pay Now” (payment happens immediately)
|
|
4064
|
-
* - false — Shows “Continue” (additional confirmation step)
|
|
4065
|
-
* @default true
|
|
4066
|
-
* @see {@link https://docs.paypal.ai/reference/sdk/js/v6/reference#parameters-4}
|
|
4067
|
-
*/
|
|
4068
|
-
commit?: boolean;
|
|
4069
|
-
/**
|
|
4070
|
-
* A two-letter ISO 3166 country code which will be passed to the PayPal SDK as the buyer-country.
|
|
4071
|
-
* Note: The buyer country is only used in the sandbox. Don't pass this query parameter in production.
|
|
4072
|
-
*
|
|
4073
|
-
* @see {@link https://developer.paypal.com/sdk/js/configuration/#buyer-country}
|
|
4074
|
-
* @default undefined
|
|
4075
|
-
*/
|
|
4076
|
-
countryCode?: string;
|
|
4077
|
-
/**
|
|
4078
|
-
* The locale for the UI components, specified as a BCP-47 language tag, for example, "en-US", "fr-FR", "de-DE". If not specified, the SDK automatically detects the buyer’s locale from their browser settings.
|
|
4079
|
-
*
|
|
4080
|
-
* @see {@link https://docs.paypal.ai/developer/how-to/sdk/js/v6/configuration#parameters}
|
|
4081
|
-
* @default undefined
|
|
4082
|
-
*/
|
|
4083
|
-
locale?: string;
|
|
4084
|
-
/**
|
|
4085
|
-
* Called when the buyer selects or changes their shipping address within the PayPal flow. Use this callback to update shipping costs, validate addresses, or apply location-based restrictions.
|
|
4086
|
-
*
|
|
4087
|
-
* @see {@link https://docs.paypal.ai/reference/sdk/js/v6/reference#onshippingaddresschange-data}
|
|
4088
|
-
*
|
|
4089
|
-
* @param data - The shipping address change data
|
|
4090
|
-
* @param component - The PayPal component instance
|
|
4091
|
-
*/
|
|
4092
|
-
onShippingAddressChange?: (data: PayPalV6OnShippingAddressChangeData, component: E) => Promise<void>;
|
|
4093
|
-
/**
|
|
4094
|
-
* Called when the buyer selects a different shipping option, for example, standard or express delivery. Use this to update the order total with the selected shipping cost.
|
|
4095
|
-
*
|
|
4096
|
-
* @see {@link https://docs.paypal.ai/reference/sdk/js/v6/reference#onshippingoptionschange-data}
|
|
4097
|
-
*
|
|
4098
|
-
* @param data - The shipping options change data
|
|
4099
|
-
* @param component - The PayPal component instance
|
|
4100
|
-
*/
|
|
4101
|
-
onShippingOptionsChange?: (data: PayPalV6OnShippingOptionsChangeData, component: E) => Promise<void>;
|
|
4102
|
-
/**
|
|
4103
|
-
* Callback called when PayPal authorizes the payment.
|
|
4104
|
-
* Must be resolved/rejected with the action object. If resolved, the additional details will be invoked. Otherwise it will be skipped
|
|
4105
|
-
*
|
|
4106
|
-
* @param data - Contains the raw event from PayPal, along with the billingAddress and deliveryAddress parsed by Adyen based on the raw event data
|
|
4107
|
-
* @param actions - Used to indicate that payment flow must continue or must stop
|
|
4108
|
-
*/
|
|
4109
|
-
onAuthorized?: (data: Pick<PayPalOrderDetailsData, 'billingAddress' | 'deliveryAddress' | 'shopperName'> & {
|
|
4110
|
-
authorizedEvent: PayPalOrderDetailsData['payPalOrder'];
|
|
4111
|
-
}, actions: {
|
|
4112
|
-
resolve: () => void;
|
|
4113
|
-
reject: () => void;
|
|
4114
|
-
}) => void;
|
|
4115
|
-
/**
|
|
4116
|
-
* Callback called to enable creating the PayPal messages component.
|
|
4117
|
-
* @param createPayPalMessages - Function to create the messages component
|
|
4118
|
-
* @returns
|
|
4119
|
-
*/
|
|
4120
|
-
onCreatePayPalMessages?: (createPayPalMessages: (messagesOptions?: PayPalMessagesOptions) => PayPalMessagesSession) => void;
|
|
4121
|
-
/**
|
|
4122
|
-
* Configuration for how the payment UI is presented.
|
|
4123
|
-
*
|
|
4124
|
-
* @see {@link https://docs.paypal.ai/reference/sdk/js/v6/reference#paymentsession-start-options-orderpromise}
|
|
4125
|
-
* @default presentationMode: 'auto'
|
|
4126
|
-
* @description { presentationMode: 'auto' } - Recommended. SDK automatically selects the best experience. Does not yet support 'redirect' mode.
|
|
4127
|
-
*/
|
|
4128
|
-
presentationModeOptions?: PayPalPresentationModeOptions;
|
|
4129
|
-
};
|
|
4130
3798
|
interface PayPalConfiguration extends UIElementProps {
|
|
4131
3799
|
/**
|
|
4132
3800
|
* Configuration returned by the backend
|
|
@@ -4288,80 +3956,7 @@ interface PayPalConfiguration extends UIElementProps {
|
|
|
4288
3956
|
* @default undefined
|
|
4289
3957
|
*/
|
|
4290
3958
|
countryCode?: string;
|
|
4291
|
-
/**
|
|
4292
|
-
* Use PayPal V6 SDK instead of V5
|
|
4293
|
-
* @default undefined
|
|
4294
|
-
*/
|
|
4295
|
-
usePayPalV6?: PayPalV6Props<PaypalElement> & {
|
|
4296
|
-
/**
|
|
4297
|
-
* Set to true to force the UI to only render the PayPal button (no variants like Credit, Pay Later, Venmo)
|
|
4298
|
-
* @default false
|
|
4299
|
-
*/
|
|
4300
|
-
blockPayPalButtonVariants?: boolean;
|
|
4301
|
-
/**
|
|
4302
|
-
* Set to true to force the UI to not render PayPal Credit button
|
|
4303
|
-
* @default false
|
|
4304
|
-
*/
|
|
4305
|
-
blockPayPalCreditButton?: boolean;
|
|
4306
|
-
/**
|
|
4307
|
-
* Set to true to force the UI to not render PayPal Pay Later button
|
|
4308
|
-
* @default false
|
|
4309
|
-
*/
|
|
4310
|
-
blockPayPalPayLaterButton?: boolean;
|
|
4311
|
-
/**
|
|
4312
|
-
* Set to true to force the UI to not render PayPal Venmo button
|
|
4313
|
-
* @default false
|
|
4314
|
-
*/
|
|
4315
|
-
blockPayPalVenmoButton?: boolean;
|
|
4316
|
-
/**
|
|
4317
|
-
* Callback called to enable creating the PayPal messages component.
|
|
4318
|
-
* @param createPayPalMessages - Function to create the messages component
|
|
4319
|
-
* @returns
|
|
4320
|
-
*/
|
|
4321
|
-
onCreatePayPalMessages?: (createPayPalMessages: (messagesOptions?: PayPalMessagesOptions) => PayPalMessagesSession) => void;
|
|
4322
|
-
style?: {
|
|
4323
|
-
paypal?: PayPalButtonStyle;
|
|
4324
|
-
venmo?: PayPalVenmoButtonStyle;
|
|
4325
|
-
};
|
|
4326
|
-
};
|
|
4327
3959
|
}
|
|
4328
|
-
type BasePayPalConfiguration = UIElementProps & PayPalV6Props<BasePayPalElement> & {
|
|
4329
|
-
/**
|
|
4330
|
-
* Configuration returned by the backend
|
|
4331
|
-
* @internal
|
|
4332
|
-
*/
|
|
4333
|
-
configuration?: {
|
|
4334
|
-
/**
|
|
4335
|
-
* @see {@link https://developer.paypal.com/sdk/js/configuration/#merchant-id}
|
|
4336
|
-
*/
|
|
4337
|
-
merchantId?: string;
|
|
4338
|
-
};
|
|
4339
|
-
/**
|
|
4340
|
-
* Identifies if the payment is Express. Also used for analytics
|
|
4341
|
-
* @defaultValue false
|
|
4342
|
-
*/
|
|
4343
|
-
isExpress?: boolean;
|
|
4344
|
-
/**
|
|
4345
|
-
* Used for analytics
|
|
4346
|
-
*/
|
|
4347
|
-
expressPage?: 'cart' | 'minicart' | 'pdp' | 'checkout';
|
|
4348
|
-
};
|
|
4349
|
-
type PayPalPayLaterConfiguration = Omit<BasePayPalConfiguration, 'vault'> & {
|
|
4350
|
-
/**
|
|
4351
|
-
* Set to true to hide the PayPal messages component
|
|
4352
|
-
* @default false
|
|
4353
|
-
*/
|
|
4354
|
-
hidePayPalMessaging?: boolean;
|
|
4355
|
-
/**
|
|
4356
|
-
* Options for fetching PayPal messages content
|
|
4357
|
-
* @see {@link https://docs.paypal.ai/reference/sdk/js/v6/reference#messagesinstance-fetchcontent-options}
|
|
4358
|
-
*/
|
|
4359
|
-
messagingContentOptions?: Pick<PayPalFetchContentOptions, 'logoType' | 'logoPosition' | 'textColor'>;
|
|
4360
|
-
};
|
|
4361
|
-
type PayPalCreditConfiguration = Omit<BasePayPalConfiguration, 'onCreatePayPalMessages'>;
|
|
4362
|
-
type VenmoConfiguration = Omit<BasePayPalConfiguration, 'isExpress' | 'expressPage' | 'onShippingAddressChange' | 'onShippingOptionsChange' | 'onCreatePayPalMessages'> & {
|
|
4363
|
-
style?: PayPalVenmoButtonStyle;
|
|
4364
|
-
};
|
|
4365
3960
|
/**
|
|
4366
3961
|
* The intent for the transaction. This determines whether the funds are captured immediately, or later.
|
|
4367
3962
|
* @see {@link https://developer.paypal.com/docs/checkout/reference/customize-sdk/#intent}
|
|
@@ -4380,35 +3975,7 @@ declare class PaypalElement extends UIElement<PayPalConfiguration> {
|
|
|
4380
3975
|
private resolve;
|
|
4381
3976
|
private reject;
|
|
4382
3977
|
protected static readonly defaultProps: Partial<PayPalConfiguration>;
|
|
4383
|
-
private paypalService?;
|
|
4384
3978
|
constructor(checkout: ICore, props?: PayPalConfiguration);
|
|
4385
|
-
private initializePayPalV6;
|
|
4386
|
-
/**
|
|
4387
|
-
* Updates the props, refreshes the PayPal SDK instance and the eligible payment methods if needed, and then
|
|
4388
|
-
* re-mounts the element. The refresh is needed because both the SDK instance and the eligible payment methods
|
|
4389
|
-
* are derived from props that the merchant can update, like the amount, the country code or the locale.
|
|
4390
|
-
*
|
|
4391
|
-
* @param props - props to update
|
|
4392
|
-
* @returns this - the element instance
|
|
4393
|
-
*/
|
|
4394
|
-
update(props: Partial<PayPalConfiguration>): this;
|
|
4395
|
-
/**
|
|
4396
|
-
* Re-creates the PayPal SDK instance and the eligible payment methods, but only if the updated props changed
|
|
4397
|
-
* the configuration they are derived from. Any other prop change just re-renders the element.
|
|
4398
|
-
*
|
|
4399
|
-
* @param previousServiceConfig - The service configuration before the props were updated
|
|
4400
|
-
*/
|
|
4401
|
-
private refreshPayPalService;
|
|
4402
|
-
/**
|
|
4403
|
-
* Configuration used to create and to refresh the PayPal service. It is kept in a single place to guarantee
|
|
4404
|
-
* that the service is always created and refreshed with the same set of props.
|
|
4405
|
-
*/
|
|
4406
|
-
private get paypalServiceConfig();
|
|
4407
|
-
private onPayPalServiceReady;
|
|
4408
|
-
isAvailable(): Promise<void>;
|
|
4409
|
-
protected get sdkDataPaymentMethodConfiguration(): {
|
|
4410
|
-
supportsPayPalV6: boolean;
|
|
4411
|
-
};
|
|
4412
3979
|
formatProps(props: PayPalConfiguration): PayPalConfiguration;
|
|
4413
3980
|
protected beforeRender(configSetByMerchant?: PayPalConfiguration): void;
|
|
4414
3981
|
submit: () => void;
|
|
@@ -4417,16 +3984,13 @@ declare class PaypalElement extends UIElement<PayPalConfiguration> {
|
|
|
4417
3984
|
* @param paymentData - Payment data value
|
|
4418
3985
|
*/
|
|
4419
3986
|
updatePaymentData(paymentData: string): void;
|
|
4420
|
-
private get browserInfo();
|
|
4421
3987
|
/**
|
|
4422
3988
|
* Formats the component data output
|
|
4423
3989
|
*/
|
|
4424
3990
|
protected formatData(): {
|
|
4425
|
-
storePaymentMethod: boolean;
|
|
4426
|
-
browserInfo: BrowserInfo;
|
|
4427
3991
|
paymentMethod: {
|
|
4428
|
-
userAction: "continue" | "pay";
|
|
4429
3992
|
type: TxVariants;
|
|
3993
|
+
userAction: "continue" | "pay";
|
|
4430
3994
|
subtype: string;
|
|
4431
3995
|
};
|
|
4432
3996
|
};
|
|
@@ -4439,15 +4003,7 @@ declare class PaypalElement extends UIElement<PayPalConfiguration> {
|
|
|
4439
4003
|
* Paypal does not require any specific Dropin validation
|
|
4440
4004
|
*/
|
|
4441
4005
|
get isValid(): boolean;
|
|
4442
|
-
private handleOnApprove;
|
|
4443
|
-
/**
|
|
4444
|
-
* Handles the PayPal SDK v6 'onApprove' event. The shape of the data depends on which session type was started:
|
|
4445
|
-
* a one-time payment session returns an 'orderId', whereas a save payment session (zero-auth) returns a
|
|
4446
|
-
* 'vaultSetupToken'.
|
|
4447
|
-
*
|
|
4448
|
-
* @param data - Approve data from the PayPal SDK
|
|
4449
|
-
*/
|
|
4450
|
-
private handleOnApproveV6;
|
|
4006
|
+
private readonly handleOnApprove;
|
|
4451
4007
|
handleResolve(token: string): void;
|
|
4452
4008
|
handleReject(errorMessage: string): void;
|
|
4453
4009
|
private handleSubmit;
|
|
@@ -4469,49 +4025,6 @@ declare class PaypalElement extends UIElement<PayPalConfiguration> {
|
|
|
4469
4025
|
* @param actions - PayPal actions.
|
|
4470
4026
|
*/
|
|
4471
4027
|
private handleOnShippingOptionsChange;
|
|
4472
|
-
/**
|
|
4473
|
-
* If the merchant provides the 'usePayPalV6' prop with an 'onShippingAddressChange' callback, then this method is used as a wrapper to it, in order
|
|
4474
|
-
* to expose to the merchant the 'component' instance. The merchant needs the 'component' in order to manipulate the
|
|
4475
|
-
* paymentData
|
|
4476
|
-
*
|
|
4477
|
-
* @param data - The shipping address change data
|
|
4478
|
-
*/
|
|
4479
|
-
private handleOnShippingAddressChangeV6;
|
|
4480
|
-
/**
|
|
4481
|
-
* If the merchant provides the 'usePayPalV6' prop with an 'onShippingOptionsChange' callback, then this method is used as a wrapper to it, in order
|
|
4482
|
-
* to expose to the merchant the 'component' instance. The merchant needs the 'component' in order to manipulate the
|
|
4483
|
-
* paymentData
|
|
4484
|
-
*
|
|
4485
|
-
* @param data - The shipping options change data
|
|
4486
|
-
*/
|
|
4487
|
-
private handleOnShippingOptionsChangeV6;
|
|
4488
|
-
protected componentToRender(): h.JSX.Element | null;
|
|
4489
|
-
}
|
|
4490
|
-
|
|
4491
|
-
declare class PayPalPaylaterElement extends BasePayPalElement<PayPalPayLaterConfiguration> {
|
|
4492
|
-
static readonly type = TxVariants.paypal_paylater;
|
|
4493
|
-
protected fundingSource: SupportedPayPalFundingSources;
|
|
4494
|
-
protected formatData(): {
|
|
4495
|
-
paymentMethod: {
|
|
4496
|
-
type: string;
|
|
4497
|
-
subtype: string;
|
|
4498
|
-
};
|
|
4499
|
-
browserInfo: BrowserInfo;
|
|
4500
|
-
};
|
|
4501
|
-
protected get paypalComponents(): PayPalComponents;
|
|
4502
|
-
protected componentToRender(): h.JSX.Element | null;
|
|
4503
|
-
}
|
|
4504
|
-
|
|
4505
|
-
declare class PayPalCreditElement extends BasePayPalElement<PayPalCreditConfiguration> {
|
|
4506
|
-
static readonly type = TxVariants.paypal_credit;
|
|
4507
|
-
protected fundingSource: SupportedPayPalFundingSources;
|
|
4508
|
-
protected componentToRender(): h.JSX.Element | null;
|
|
4509
|
-
}
|
|
4510
|
-
|
|
4511
|
-
declare class VenmoElement extends BasePayPalElement<VenmoConfiguration> {
|
|
4512
|
-
static readonly type = TxVariants.venmo;
|
|
4513
|
-
protected fundingSource: SupportedPayPalFundingSources;
|
|
4514
|
-
protected get paypalComponents(): PayPalComponents;
|
|
4515
4028
|
protected componentToRender(): h.JSX.Element | null;
|
|
4516
4029
|
}
|
|
4517
4030
|
|
|
@@ -4599,10 +4112,12 @@ declare class CustomCard extends UIElement<CustomCardConfiguration> {
|
|
|
4599
4112
|
protected componentToRender(): h.JSX.Element;
|
|
4600
4113
|
}
|
|
4601
4114
|
|
|
4602
|
-
|
|
4603
|
-
|
|
4604
|
-
|
|
4605
|
-
|
|
4115
|
+
type IbanData = Partial<IbanInputData>;
|
|
4116
|
+
/** Unlike `IbanData` (the external, optional prop shape), the component's own state always normalizes these to strings in the constructor. */
|
|
4117
|
+
interface IbanInputData {
|
|
4118
|
+
ownerName: string;
|
|
4119
|
+
ibanNumber: string;
|
|
4120
|
+
countryCode: string;
|
|
4606
4121
|
}
|
|
4607
4122
|
|
|
4608
4123
|
interface SepaElementData {
|
|
@@ -5144,6 +4659,13 @@ declare class EPSElement extends IssuerListContainer {
|
|
|
5144
4659
|
};
|
|
5145
4660
|
}
|
|
5146
4661
|
|
|
4662
|
+
interface GiftCardBrandConfiguration extends BrandConfiguration {
|
|
4663
|
+
/**
|
|
4664
|
+
* Placeholders for this gift card brand. Keys not set here fall back to the top-level `placeholders`.
|
|
4665
|
+
*/
|
|
4666
|
+
placeholders?: Placeholders$1;
|
|
4667
|
+
}
|
|
4668
|
+
type GiftCardBrandsConfiguration = Record<string, GiftCardBrandConfiguration>;
|
|
5147
4669
|
interface GiftCardElementData {
|
|
5148
4670
|
paymentMethod: {
|
|
5149
4671
|
type: 'giftcard';
|
|
@@ -5168,7 +4690,11 @@ type onOrderRequestCallbackType = (resolve: (order: Order) => void, reject: (err
|
|
|
5168
4690
|
interface GiftCardConfiguration extends UIElementProps {
|
|
5169
4691
|
pinRequired?: boolean;
|
|
5170
4692
|
expiryDateRequired?: boolean;
|
|
5171
|
-
brandsConfiguration?:
|
|
4693
|
+
brandsConfiguration?: GiftCardBrandsConfiguration;
|
|
4694
|
+
/**
|
|
4695
|
+
* Placeholders for the gift card fields. Used for every brand, unless a brand sets its own in `brandsConfiguration`.
|
|
4696
|
+
*/
|
|
4697
|
+
placeholders?: Placeholders$1;
|
|
5172
4698
|
brand?: string;
|
|
5173
4699
|
onOrderUpdated?: onOrderUpdatedCallbackType;
|
|
5174
4700
|
onBalanceCheck?: onBalanceCheckCallbackType;
|
|
@@ -5188,7 +4714,18 @@ interface GiftCardValidationError {
|
|
|
5188
4714
|
errorI18n?: string;
|
|
5189
4715
|
error?: string;
|
|
5190
4716
|
}
|
|
5191
|
-
|
|
4717
|
+
/**
|
|
4718
|
+
* Errors synthesized client-side from a successful (2xx) balance check response.
|
|
4719
|
+
* These are rendered inline, next to the gift card number field.
|
|
4720
|
+
*/
|
|
4721
|
+
declare const BALANCE_CHECK_ERRORS: readonly ["no-balance", "card-error", "currency-error"];
|
|
4722
|
+
type KnownBalanceCheckError = (typeof BALANCE_CHECK_ERRORS)[number];
|
|
4723
|
+
/**
|
|
4724
|
+
* `unknown-error` covers everything we cannot attribute to the card itself
|
|
4725
|
+
* (5xx, network, CORS, timeout, a merchant calling `reject()`) and is rendered
|
|
4726
|
+
* as a banner rather than an inline field error.
|
|
4727
|
+
*/
|
|
4728
|
+
type GiftCardBalanceCheckErrorType = KnownBalanceCheckError | 'unknown-error';
|
|
5192
4729
|
|
|
5193
4730
|
interface GiftcardComponentProps extends Partial<Pick<SFPProps, 'clientKey' | 'loadingContext'>> {
|
|
5194
4731
|
onChange: (state: any) => void;
|
|
@@ -5215,6 +4752,7 @@ declare class Giftcard extends Component<Readonly<GiftcardComponentProps>> {
|
|
|
5215
4752
|
sfpState: {};
|
|
5216
4753
|
isValidating: boolean;
|
|
5217
4754
|
transformedErrors: {};
|
|
4755
|
+
showUnknownError: boolean;
|
|
5218
4756
|
};
|
|
5219
4757
|
static readonly defaultProps: {
|
|
5220
4758
|
pinRequired: boolean;
|
|
@@ -5241,10 +4779,6 @@ declare class Giftcard extends Component<Readonly<GiftcardComponentProps>> {
|
|
|
5241
4779
|
* Compatible with the transformedErrors structure
|
|
5242
4780
|
*/
|
|
5243
4781
|
private generateBalanceCheckErrors;
|
|
5244
|
-
/**
|
|
5245
|
-
* Checks if a status represents a balance check error
|
|
5246
|
-
*/
|
|
5247
|
-
private isBalanceCheckError;
|
|
5248
4782
|
/**
|
|
5249
4783
|
* Method called by GiftcardElement to set balance check errors only
|
|
5250
4784
|
*/
|
|
@@ -5252,12 +4786,13 @@ declare class Giftcard extends Component<Readonly<GiftcardComponentProps>> {
|
|
|
5252
4786
|
showValidation: () => void;
|
|
5253
4787
|
setIsValidating: (val: boolean) => void;
|
|
5254
4788
|
setStatus: (status: UIElementStatus) => void;
|
|
5255
|
-
render(props: any, { focusedElement, balance, transactionLimit, isValidating, transformedErrors }: {
|
|
4789
|
+
render(props: any, { focusedElement, balance, transactionLimit, isValidating, transformedErrors, showUnknownError }: {
|
|
5256
4790
|
focusedElement: any;
|
|
5257
4791
|
balance: any;
|
|
5258
4792
|
transactionLimit: any;
|
|
5259
4793
|
isValidating: any;
|
|
5260
4794
|
transformedErrors: any;
|
|
4795
|
+
showUnknownError: any;
|
|
5261
4796
|
}): h.JSX.Element;
|
|
5262
4797
|
}
|
|
5263
4798
|
|
|
@@ -6985,9 +6520,6 @@ declare const ComponentsMap: {
|
|
|
6985
6520
|
clicktopay: typeof ClickToPayElement;
|
|
6986
6521
|
googlepay: typeof GooglePay;
|
|
6987
6522
|
paypal: typeof PaypalElement;
|
|
6988
|
-
paypal_paylater: typeof PayPalPaylaterElement;
|
|
6989
|
-
paypal_credit: typeof PayPalCreditElement;
|
|
6990
|
-
venmo: typeof VenmoElement;
|
|
6991
6523
|
fastlane: typeof Fastlane;
|
|
6992
6524
|
paywithgoogle: typeof GooglePay;
|
|
6993
6525
|
/** Wallets */
|
|
@@ -7665,6 +7197,10 @@ interface CoreConfiguration {
|
|
|
7665
7197
|
risk?: RiskModuleOptions;
|
|
7666
7198
|
donation?: DonationOptions;
|
|
7667
7199
|
order?: Order;
|
|
7200
|
+
/**
|
|
7201
|
+
* Suppress warnings about configuration issues. ATM this just relates to warnings about multiple instances of checkout on the same page.
|
|
7202
|
+
*/
|
|
7203
|
+
suppressConfigWarnings?: boolean;
|
|
7668
7204
|
/**
|
|
7669
7205
|
* Add @adyen/web metadata to the window object.
|
|
7670
7206
|
* It helps to identify version number and bundle type in the merchant environment
|
|
@@ -7828,23 +7364,13 @@ interface CoreConfiguration {
|
|
|
7828
7364
|
};
|
|
7829
7365
|
}
|
|
7830
7366
|
|
|
7831
|
-
interface SdkDataPaymentMethodConfiguration {
|
|
7832
|
-
supportsPayPalV6?: boolean;
|
|
7833
|
-
}
|
|
7834
|
-
interface CreateSdkDataParams {
|
|
7835
|
-
checkoutAttemptId: string;
|
|
7836
|
-
clientData: string | null;
|
|
7837
|
-
paymentMethodBehavior: PAYMENT_METHOD_BEHAVIOR;
|
|
7838
|
-
paymentMethodConfiguration?: SdkDataPaymentMethodConfiguration;
|
|
7839
|
-
}
|
|
7840
|
-
|
|
7841
7367
|
declare abstract class BaseElement<P extends BaseElementProps, S extends BaseElementState = BaseElementState> implements IBaseElement<P> {
|
|
7842
7368
|
readonly _id: string;
|
|
7843
7369
|
readonly core: ICore;
|
|
7844
7370
|
props: P;
|
|
7845
7371
|
state: S;
|
|
7846
7372
|
_component: ComponentChild | undefined;
|
|
7847
|
-
protected _node: HTMLElement;
|
|
7373
|
+
protected _node: HTMLElement | null;
|
|
7848
7374
|
protected static readonly defaultProps: {};
|
|
7849
7375
|
constructor(checkout: ICore, props?: P);
|
|
7850
7376
|
protected buildElementProps(componentProps?: P): void;
|
|
@@ -7858,10 +7384,14 @@ declare abstract class BaseElement<P extends BaseElementProps, S extends BaseEle
|
|
|
7858
7384
|
* Returns the component data necessary for the /payments request
|
|
7859
7385
|
*/
|
|
7860
7386
|
protected formatData(): PaymentData;
|
|
7861
|
-
protected submitAnalytics(_analyticsObj?: AbstractAnalyticsEvent):
|
|
7862
|
-
protected handleKeyDown(_e: TargetedKeyboardEvent<HTMLInputElement>):
|
|
7387
|
+
protected submitAnalytics(_analyticsObj?: AbstractAnalyticsEvent): void;
|
|
7388
|
+
protected handleKeyDown(_e: TargetedKeyboardEvent<HTMLInputElement>): void;
|
|
7389
|
+
/**
|
|
7390
|
+
* The node the element is currently mounted into.
|
|
7391
|
+
* Throws the same error as `mount()` when the element has not been mounted yet.
|
|
7392
|
+
*/
|
|
7393
|
+
protected get mountedNode(): HTMLElement;
|
|
7863
7394
|
protected setState(newState: S): void;
|
|
7864
|
-
protected get sdkDataPaymentMethodConfiguration(): CreateSdkDataParams['paymentMethodConfiguration'];
|
|
7865
7395
|
/**
|
|
7866
7396
|
* Returns the component payment data ready to submit to the Checkout API
|
|
7867
7397
|
* Note: this does not ensure validity, check isValid first
|
|
@@ -7907,6 +7437,7 @@ declare abstract class UIElement<P extends UIElementProps = UIElementProps> exte
|
|
|
7907
7437
|
*/
|
|
7908
7438
|
protected componentRef: ComponentMethodsRef | undefined;
|
|
7909
7439
|
protected resources: Resources;
|
|
7440
|
+
protected i18n: Language;
|
|
7910
7441
|
/**
|
|
7911
7442
|
* elementRef is a ref to the subclass that extends UIElement e.g. Card.tsx or Dropin.tsx
|
|
7912
7443
|
*/
|
|
@@ -7933,7 +7464,7 @@ declare abstract class UIElement<P extends UIElementProps = UIElementProps> exte
|
|
|
7933
7464
|
protected reportIntegrationFlavor(): void;
|
|
7934
7465
|
get analytics(): IAnalytics;
|
|
7935
7466
|
get srPanel(): SRPanel;
|
|
7936
|
-
protected getPaymentMethodConfigFromResponse(componentProps
|
|
7467
|
+
protected getPaymentMethodConfigFromResponse(componentProps?: P): RawPaymentMethod;
|
|
7937
7468
|
protected buildElementProps(componentProps?: P): void;
|
|
7938
7469
|
protected getStoredPaymentMethodDetails(storedPaymentMethodId: string): StoredPaymentMethod;
|
|
7939
7470
|
/**
|
|
@@ -7958,19 +7489,27 @@ declare abstract class UIElement<P extends UIElementProps = UIElementProps> exte
|
|
|
7958
7489
|
updateAmount(amount: PaymentAmount, secondaryAmount?: PaymentAmount): void;
|
|
7959
7490
|
/**
|
|
7960
7491
|
* Set status using elementRef, which:
|
|
7961
|
-
*
|
|
7492
|
+
*
|
|
7493
|
+
* - If Drop-in, will set status for Dropin component, and then it will propagate the
|
|
7494
|
+
* new status for the active payment method componen. This is triggered via componentDidUpdate
|
|
7495
|
+
* on DropinComponent.tsx and it will not push the state if it hasn't changed.
|
|
7496
|
+
*
|
|
7962
7497
|
* - If Component, it will set its own status
|
|
7963
7498
|
*/
|
|
7964
7499
|
setElementStatus(status: UIElementStatus): this;
|
|
7965
7500
|
/**
|
|
7966
7501
|
* componentRef is a ref to the primary component inside that subclass e.g. CardInput.tsx
|
|
7502
|
+
*
|
|
7503
|
+
* This bypasses elementRef, so inside Drop-in it only changes the view of this component, never Drop-in's own status.
|
|
7504
|
+
* handleError resets the status with setElementStatus('ready'), and Drop-in drops that as "no change" if it never left 'ready'.
|
|
7505
|
+
* So a status that setElementStatus will reset must also be set with setElementStatus.
|
|
7967
7506
|
*/
|
|
7968
7507
|
setStatus(status: UIElementStatus): this;
|
|
7969
7508
|
protected onChange(): void;
|
|
7970
7509
|
protected submitAnalytics(event: AbstractAnalyticsEvent): void;
|
|
7971
7510
|
submit(): void;
|
|
7972
7511
|
executePaymentsCall(): void;
|
|
7973
|
-
protected makePaymentsCall(): Promise<CheckoutAdvancedFlowResponse | CheckoutSessionPaymentResponse
|
|
7512
|
+
protected makePaymentsCall(): Promise<CheckoutAdvancedFlowResponse | CheckoutSessionPaymentResponse> | undefined;
|
|
7974
7513
|
private submitUsingAdvancedFlow;
|
|
7975
7514
|
private submitUsingSessionsFlow;
|
|
7976
7515
|
protected onComplete(state: AdditionalDetailsData): void;
|
|
@@ -7980,7 +7519,9 @@ declare abstract class UIElement<P extends UIElementProps = UIElementProps> exte
|
|
|
7980
7519
|
private submitAdditionalDetailsUsingSessionsFlow;
|
|
7981
7520
|
handleAction(action: PaymentAction, props?: {}): UIElement | null;
|
|
7982
7521
|
protected onActionHandled(actionHandledObj: ActionHandledReturnObject): void;
|
|
7983
|
-
protected handleOrder: (response: PaymentResponseData
|
|
7522
|
+
protected handleOrder: (response: PaymentResponseData & {
|
|
7523
|
+
order: Order;
|
|
7524
|
+
}) => void;
|
|
7984
7525
|
protected setupSessionsDonation(): void;
|
|
7985
7526
|
/**
|
|
7986
7527
|
* Handles when the payment fails. The payment fails when:
|
|
@@ -8034,7 +7575,7 @@ declare abstract class UIElement<P extends UIElementProps = UIElementProps> exte
|
|
|
8034
7575
|
/**
|
|
8035
7576
|
* Used to display the second line of a payment method item
|
|
8036
7577
|
*/
|
|
8037
|
-
get additionalInfo(): string;
|
|
7578
|
+
get additionalInfo(): string | null;
|
|
8038
7579
|
/**
|
|
8039
7580
|
* Return the type of an element
|
|
8040
7581
|
*/
|
|
@@ -8884,7 +8425,7 @@ declare class ThreeDS2Challenge extends UIElement<ThreeDS2ChallengeConfiguration
|
|
|
8884
8425
|
* (as defined in the 3DS2InMDFlow and passed in as a config prop).
|
|
8885
8426
|
*/
|
|
8886
8427
|
onComplete(state: ChallengeResolveData): void;
|
|
8887
|
-
protected componentToRender(): h.JSX.Element;
|
|
8428
|
+
protected componentToRender(): h.JSX.Element | null;
|
|
8888
8429
|
}
|
|
8889
8430
|
|
|
8890
8431
|
declare class ThreeDS2DeviceFingerprint extends UIElement<ThreeDS2DeviceFingerprintConfiguration> {
|
|
@@ -8900,7 +8441,7 @@ declare class ThreeDS2DeviceFingerprint extends UIElement<ThreeDS2DeviceFingerpr
|
|
|
8900
8441
|
* Can be called directly from PrepareFingerprint (MDFlow) or after the call to /submitThreeDS2Fingerprint endpoint (native flow)
|
|
8901
8442
|
*/
|
|
8902
8443
|
onComplete(state: FingerprintResolveData): void;
|
|
8903
|
-
protected componentToRender(): h.JSX.Element;
|
|
8444
|
+
protected componentToRender(): h.JSX.Element | null;
|
|
8904
8445
|
}
|
|
8905
8446
|
|
|
8906
8447
|
declare class OnlineBankingFI extends IssuerListContainer {
|
|
@@ -9224,8 +8765,6 @@ declare namespace index_d {
|
|
|
9224
8765
|
PayMeElement as PayMe,
|
|
9225
8766
|
PayNowElement as PayNow,
|
|
9226
8767
|
PaypalElement as PayPal,
|
|
9227
|
-
PayPalCreditElement as PayPalCredit,
|
|
9228
|
-
PayPalPaylaterElement as PayPalPayLater,
|
|
9229
8768
|
PayToElement as PayTo,
|
|
9230
8769
|
PayuNetCashcardElement as PayuCashcard,
|
|
9231
8770
|
PayuNetBankingElement as PayuNetBanking,
|
|
@@ -9244,7 +8783,6 @@ declare namespace index_d {
|
|
|
9244
8783
|
TrustlyElement as Trustly,
|
|
9245
8784
|
TwintElement as Twint,
|
|
9246
8785
|
index_d_UPI as UPI,
|
|
9247
|
-
VenmoElement as Venmo,
|
|
9248
8786
|
VippsElement as Vipps,
|
|
9249
8787
|
WalletINElement as WalletIN,
|
|
9250
8788
|
WeChatPayElement as WeChat,
|
|
@@ -9311,7 +8849,8 @@ declare class FastlaneSDK {
|
|
|
9311
8849
|
/**
|
|
9312
8850
|
* Creates the configuration for the Fastlane component
|
|
9313
8851
|
*
|
|
9314
|
-
* @param
|
|
8852
|
+
* @param card - card from the authenticated shopper's Fastlane profile
|
|
8853
|
+
* @param email - email of the authenticated shopper
|
|
9315
8854
|
* @private
|
|
9316
8855
|
*/
|
|
9317
8856
|
private createFastlaneComponentConfiguration;
|
|
@@ -9346,6 +8885,7 @@ declare class Core implements ICore {
|
|
|
9346
8885
|
static readonly metadata: {
|
|
9347
8886
|
version: string;
|
|
9348
8887
|
bundleType: string;
|
|
8888
|
+
numberOfInitialisedCheckouts: number;
|
|
9349
8889
|
};
|
|
9350
8890
|
static readonly registry: {
|
|
9351
8891
|
componentsMap: Record<string, NewableComponent>;
|
|
@@ -9355,6 +8895,7 @@ declare class Core implements ICore {
|
|
|
9355
8895
|
createComponentsMap(components: NewableComponent[]): {};
|
|
9356
8896
|
};
|
|
9357
8897
|
static setBundleType(type: string): void;
|
|
8898
|
+
static increaseInitialisationCount(): void;
|
|
9358
8899
|
static register(...items: NewableComponent[]): void;
|
|
9359
8900
|
/**
|
|
9360
8901
|
* Used internally by the PaymentMethod components to auto-register themselves
|
|
@@ -9443,5 +8984,5 @@ declare namespace AdyenCheckout {
|
|
|
9443
8984
|
var setBundleType: (type: string) => void;
|
|
9444
8985
|
}
|
|
9445
8986
|
|
|
9446
|
-
export { ANCVElement as ANCV, AchElement as Ach, AddressElement as Address, AdyenCheckout, AdyenCheckoutError, Affirm, AfterPay, AfterPayB2B, AmazonPayElement as AmazonPay, ApplePayElement as ApplePay, Atome, BacsElement as BacsDirectDebit, BancontactElement as Bancontact, BankTransferElement as BankTransfer, BCMCMobileElement as BcmcMobile, BillDeskOnlineElement as BillDeskOnline, BillDeskWalletElement as BillDeskWallet, BlikElement as Blik, BoletoElement as Boleto, CardElement as Card, CashAppPay, ClickToPayElement as ClickToPay, Core, CustomCard, DokuElement as Doku, DonationElement as Donation, DotpayElement as Dotpay, DragonpayElement as Dragonpay, DropinElement as Dropin, DuitNowElement as DuitNow, EPSElement as EPS, EcontextElement as Econtext, FacilyPay10x as FacilPay10x, FacilyPay12x as FacilPay12x, FacilyPay3x as FacilPay3x, FacilyPay4x as FacilPay4x, FacilyPay6x as FacilPay6x, Fastlane, FastlaneSDK, GiftcardElement as Giftcard, GiropayElement as Giropay, GooglePay, Iris, IrisMode, KlarnaPayments as Klarna, MBWayElement as MBWay, MealVoucherFRElement as MealVoucherFR, MolPayEBankingMYElement as MolPayEBankingMY, MolPayEBankingTHElement as MolPayEBankingTH, MolPayEbankingVNElement as MolPayEBankingVN, MultibancoElement as Multibanco, OnlineBankingCZElement as OnlineBankingCZ, OnlineBankingFI, OnlineBankingINElement as OnlineBankingIN, OnlineBankingPL, OnlineBankingSKElement as OnlineBankingSK, OxxoElement as Oxxo, PayByBank, PayByBankPixElement as PayByBankPix, PayByBankUS, PayMeElement as PayMe, PayNowElement as PayNow, PaypalElement as PayPal,
|
|
9447
|
-
export type { ANCVConfiguration, ANCVDataState, AchConfiguration, AchPlaceholders, ActionDescriptionType, ActionHandledReturnObject, AdditionalDetailsActions, AdditionalDetailsData, AddressData, AddressField, AmazonPayBackendConfiguration, AmazonPayButtonProps, AmazonPayButtonSettings, AmazonPayComponentProps, AmazonPayComponentRef, AmazonPayConfiguration, AmazonPayElementData, AmazonWindowObject, App, ApplePayButtonStyle, ApplePayButtonType, ApplePayConfiguration, ApplePayElementData, ApplePayPaymentAuthorizationResult, ApplePayPaymentOrderDetails, ApplePaySessionRequest, ApplePaySessionResponse, ApplePayWebConfiguration, AwaitComponentProps, AwaitConfiguration, BankDetailsSchema, BankTransferConfiguration, BankTransferSchema, BankTransferState,
|
|
8987
|
+
export { ANCVElement as ANCV, AchElement as Ach, AddressElement as Address, AdyenCheckout, AdyenCheckoutError, Affirm, AfterPay, AfterPayB2B, AmazonPayElement as AmazonPay, ApplePayElement as ApplePay, Atome, BALANCE_CHECK_ERRORS, BacsElement as BacsDirectDebit, BancontactElement as Bancontact, BankTransferElement as BankTransfer, BCMCMobileElement as BcmcMobile, BillDeskOnlineElement as BillDeskOnline, BillDeskWalletElement as BillDeskWallet, BlikElement as Blik, BoletoElement as Boleto, CardElement as Card, CashAppPay, ClickToPayElement as ClickToPay, Core, CustomCard, DokuElement as Doku, DonationElement as Donation, DotpayElement as Dotpay, DragonpayElement as Dragonpay, DropinElement as Dropin, DuitNowElement as DuitNow, EPSElement as EPS, EcontextElement as Econtext, FacilyPay10x as FacilPay10x, FacilyPay12x as FacilPay12x, FacilyPay3x as FacilPay3x, FacilyPay4x as FacilPay4x, FacilyPay6x as FacilPay6x, Fastlane, FastlaneSDK, GiftcardElement as Giftcard, GiropayElement as Giropay, GooglePay, Iris, IrisMode, KlarnaPayments as Klarna, MBWayElement as MBWay, MealVoucherFRElement as MealVoucherFR, MolPayEBankingMYElement as MolPayEBankingMY, MolPayEBankingTHElement as MolPayEBankingTH, MolPayEbankingVNElement as MolPayEBankingVN, MultibancoElement as Multibanco, OnlineBankingCZElement as OnlineBankingCZ, OnlineBankingFI, OnlineBankingINElement as OnlineBankingIN, OnlineBankingPL, OnlineBankingSKElement as OnlineBankingSK, OxxoElement as Oxxo, PayByBank, PayByBankPixElement as PayByBankPix, PayByBankUS, PayMeElement as PayMe, PayNowElement as PayNow, PaypalElement as PayPal, PayToElement as PayTo, PayuNetCashcardElement as PayuCashcard, PayuNetBankingElement as PayuNetBanking, PersonalDetailsElement as PersonalDetails, PixElement as Pix, PreAuthorizedDebitCanada, PromptPayElement as PromptPay, RatePay, RatePayDirectDebit, RedirectElement as Redirect, Riverty, SepaElement as SepaDirectDebit, SwishElement as Swish, ThreeDS2Challenge, ThreeDS2DeviceFingerprint, TrustlyElement as Trustly, TwintElement as Twint, UIElement, UPI, VippsElement as Vipps, WalletINElement as WalletIN, WeChatPayElement as WeChat, index_d as components, initializeFastlane };
|
|
8988
|
+
export type { ANCVConfiguration, ANCVDataState, AchConfiguration, AchPlaceholders, ActionDescriptionType, ActionHandledReturnObject, AdditionalDetailsActions, AdditionalDetailsData, AddressData, AddressField, AmazonPayBackendConfiguration, AmazonPayButtonProps, AmazonPayButtonSettings, AmazonPayComponentProps, AmazonPayComponentRef, AmazonPayConfiguration, AmazonPayElementData, AmazonWindowObject, App, ApplePayButtonStyle, ApplePayButtonType, ApplePayConfiguration, ApplePayElementData, ApplePayPaymentAuthorizationResult, ApplePayPaymentOrderDetails, ApplePaySessionRequest, ApplePaySessionResponse, ApplePayWebConfiguration, AwaitComponentProps, AwaitConfiguration, BankDetailsSchema, BankTransferConfiguration, BankTransferSchema, BankTransferState, BeforeSubmitActions, BinLookupResponse, BinLookupResponseRaw, BoletoConfiguration, BoletoElementProps, BoletoInputDataState, BoletoInputErrorState, BoletoInputValidState, BrandConfiguration, BrandObject, BrowserInfo, CReqData, CardAllValidData, CardAutoCompleteData, CardBackendConfiguration, CardBinLookupData, CardBinValueData, CardBrandData, CardBrandsConfiguration, CardConfigSuccessData, CardConfiguration, CardElementData, CardErrorData, CardFieldValidData, CardFocusData, CardLoadData, CardPlaceholders, CashAppPayConfiguration, CashAppPayElementData, CashAppPayEventData, ChallengeData, ChallengeResolveData, ChallengeWindowSize, ChangeActionOptions, ChangePaymentDetailsButtonProps, ChargeAmount, CheckoutAdvancedFlowResponse, CheckoutDetailsRequest, CheckoutSession, CheckoutSessionConfig, ClickToPayConfiguration, ClickToPayPaymentData, ClickToPayProps, ClickToPayScheme, CommonVoucherProps, ComponentFocusObject, ComponentMethodsRef, CoreConfiguration, CoreModules, CorePropsForComponent, CreateFromActionOptions, Currency, CustomCardConfiguration, CustomTranslations, DecodeObject, DeliverySpecifications, DokuVoucherResultProps, DonationCampaign, DonationCampaignOptions, DonationConfiguration, DonationOptions, DonationProps, DragonpayConfiguraton, DragonpayInputData, DragonpayInputIssuerItem, DragonpayInputProps, DragonpayVoucherResultProps, DropinComponentProps, DropinComponentState, DropinConfiguration, DropinStatus, DropinStatusProps, DualBrandButtons, DualBrandSelectElement, DualBrandingChangeHandler, EcontextConfiguration, EcontextInputSchema, EcontextVoucherResultProps, ErrorCodeObject, ExtendedMerchantInfo, FastlaneAddress, FastlaneAuthenticatedCustomerResult, FastlaneConfiguration, FastlaneConsentRenderState, FastlaneData, FastlaneOptions, FastlanePaymentMethodConfiguration, FastlaneProfile, FastlaneSDKConfiguration, FastlaneShipping, FastlaneShippingAddressSelectorResult, FastlaneSignupConfiguration, FastlaneWindowInstance, FieldsetVisibility, FingerPrintData, FingerprintResolveData, FundingSource, FundingSourceKeys, GiftCardBalanceCheckErrorType, GiftCardBrandConfiguration, GiftCardBrandsConfiguration, GiftCardConfiguration, GiftCardElementData, GiftCardValidationError, GlobalOptions, GooglePayConfiguration, GooglePaymentDataRequest, ICore, IDropin, InstantPaymentTypes, Intent, IrisConfiguration, IrisData, IrisState, IssuerListConfiguration, IssuerListData, KlarnaAction, KlarnaAdditionalDetailsData, KlarnaComponentRef, KlarnaConfiguration, KlarnaSdkData, KlarnaWidgetAuthorizeResponse, KlarnaWidgetProps, KnownBalanceCheckError, LedgerCurrencies, MandateFrequencyType, MandateType, OnChangeData, OnChangeDataErrors, OpenInvoiceActiveFieldsets, OpenInvoiceConfiguration, OpenInvoiceFieldsetsRefs, OpenInvoiceProps, OpenInvoiceState, OpenInvoiceStateData, OpenInvoiceStateError, OpenInvoiceStateValid, OpenInvoiceVisibility, Order, OrderButtonProps, OrderStatus, PayPalConfiguration, PayToConfiguration, PayToData, PayToPlaceholdersType, PayloadJSON, PaymentAction, PaymentActionsType, PaymentAmount, PaymentCompletedData, PaymentData, PaymentFailedData, PaymentMethodBrand, PaymentMethodData, PaymentMethodDisplayMode, PaymentMethodGroup, PaymentMethodOptions, PaymentMethods, PaymentMethodsConfiguration, PaymentMethodsRequestData, PaymentMethodsResponse, PaymentResponseData, PersonalDetailsSchema, PixConfiguration, PixElementData, PostMsgParseErrorObject, PreAuthorizedDebitCanadaConfiguration, PreAuthorizedDebitCanadaPlaceholders, ProcessedPaymentStatusResponse, QRLoaderConfiguration, RawPaymentMethod, RawPaymentResponse, RawPaymentStatusResponse, RawStoredPaymentMethod, RecurringMetadata, RedirectConfiguration, Region, ResultCode, ResultObject, ResultValue, ReviewDetails, SepaConfiguration, SepaElementData, SessionsResponse, SignOutButtonProps, SocialSecurityMode, StatusFromAction, SubmitActions, SubmitData, SupportedLocale, SupportedPayPalFundingSources, ThreeDS2ActionProps, ThreeDS2ChallengeConfiguration, ThreeDS2ConfigProps, ThreeDS2DeviceFingerprintConfiguration, ThreeDS2FingerprintResponse, ThreeDS2FlowObject, ThreeDS2FlowProps, ThreeDS2Token, UIElementProps, UIElementStatus, UPIAppList, UPIConfiguration, UpdateAmazonCheckoutSessionRequest, UpiMode, UpiPaymentData, UpiType, ValidationError, VoucherConfiguration, VoucherDetail, VoucherProps, balanceCheckResponseType, onBalanceCheckCallbackType, onOrderCancelData, onOrderCancelInternalCallback, onOrderCancelType, onOrderRequestCallbackType, onOrderUpdatedCallbackType, onRequiringConfirmationCallbackType };
|