@adyen/adyen-web 6.46.0 → 6.47.0-alpha.eada81f

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.
Files changed (188) hide show
  1. package/dist/cjs/adyen.css +14 -12
  2. package/dist/cjs/adyen.css.map +1 -1
  3. package/dist/cjs/index.cjs +2 -2
  4. package/dist/cjs/index.cjs.map +1 -1
  5. package/dist/cjs/index.d.cts +525 -4
  6. package/dist/es/adyen.css +14 -12
  7. package/dist/es/adyen.css.map +1 -1
  8. package/dist/es/components/ApplePay/services/ApplePaySdkLoader.js.map +1 -1
  9. package/dist/es/components/Donation/components/DonationComponent.js.map +1 -1
  10. package/dist/es/components/Donation/components/FixedAmounts.js.map +1 -1
  11. package/dist/es/components/PayPal/PayPalCredit.js +2 -0
  12. package/dist/es/components/PayPal/PayPalCredit.js.map +1 -0
  13. package/dist/es/components/PayPal/PayPalPaylater.js +2 -0
  14. package/dist/es/components/PayPal/PayPalPaylater.js.map +1 -0
  15. package/dist/es/components/PayPal/Paypal.js +1 -1
  16. package/dist/es/components/PayPal/Paypal.js.map +1 -1
  17. package/dist/es/components/PayPal/Venmo.js +2 -0
  18. package/dist/es/components/PayPal/Venmo.js.map +1 -0
  19. package/dist/es/components/PayPal/components/PayPalButton.js +2 -0
  20. package/dist/es/components/PayPal/components/PayPalButton.js.map +1 -0
  21. package/dist/es/components/PayPal/components/PayPalComponentV6.js +2 -0
  22. package/dist/es/components/PayPal/components/PayPalComponentV6.js.map +1 -0
  23. package/dist/es/components/PayPal/components/PayPalComponentV6.module.scss.js +2 -0
  24. package/dist/es/components/PayPal/components/PayPalComponentV6.module.scss.js.map +1 -0
  25. package/dist/es/components/PayPal/components/PayPalCreditButton.js +2 -0
  26. package/dist/es/components/PayPal/components/PayPalCreditButton.js.map +1 -0
  27. package/dist/es/components/PayPal/components/PayPalCreditComponent.js +2 -0
  28. package/dist/es/components/PayPal/components/PayPalCreditComponent.js.map +1 -0
  29. package/dist/es/components/PayPal/components/PayPalMessaging.js +2 -0
  30. package/dist/es/components/PayPal/components/PayPalMessaging.js.map +1 -0
  31. package/dist/es/components/PayPal/components/PayPalPayLaterButton.js +2 -0
  32. package/dist/es/components/PayPal/components/PayPalPayLaterButton.js.map +1 -0
  33. package/dist/es/components/PayPal/components/PayPalPaylaterComponent.js +2 -0
  34. package/dist/es/components/PayPal/components/PayPalPaylaterComponent.js.map +1 -0
  35. package/dist/es/components/PayPal/components/PayPalPaylaterComponent.module.scss.js +2 -0
  36. package/dist/es/components/PayPal/components/PayPalPaylaterComponent.module.scss.js.map +1 -0
  37. package/dist/es/components/PayPal/components/PayPalProcessingSpinner.js +2 -0
  38. package/dist/es/components/PayPal/components/PayPalProcessingSpinner.js.map +1 -0
  39. package/dist/es/components/PayPal/components/PayPalSpinner.js +2 -0
  40. package/dist/es/components/PayPal/components/PayPalSpinner.js.map +1 -0
  41. package/dist/es/components/PayPal/components/PaypalButtons.js +1 -1
  42. package/dist/es/components/PayPal/components/PaypalButtons.js.map +1 -1
  43. package/dist/es/components/PayPal/components/PaypalComponent.js +1 -1
  44. package/dist/es/components/PayPal/components/PaypalComponent.js.map +1 -1
  45. package/dist/es/components/PayPal/components/VenmoButton.js +2 -0
  46. package/dist/es/components/PayPal/components/VenmoButton.js.map +1 -0
  47. package/dist/es/components/PayPal/components/VenmoComponent.js +2 -0
  48. package/dist/es/components/PayPal/components/VenmoComponent.js.map +1 -0
  49. package/dist/es/components/PayPal/config.js +1 -1
  50. package/dist/es/components/PayPal/config.js.map +1 -1
  51. package/dist/es/components/PayPal/hooks/usePayPalButtonEligibility.js +2 -0
  52. package/dist/es/components/PayPal/hooks/usePayPalButtonEligibility.js.map +1 -0
  53. package/dist/es/components/PayPal/hooks/usePayPalOneTimeSession.js +2 -0
  54. package/dist/es/components/PayPal/hooks/usePayPalOneTimeSession.js.map +1 -0
  55. package/dist/es/components/PayPal/hooks/usePayPalSaveSession.js +2 -0
  56. package/dist/es/components/PayPal/hooks/usePayPalSaveSession.js.map +1 -0
  57. package/dist/es/components/PayPal/hooks/usePayPalSessionOptions.js +2 -0
  58. package/dist/es/components/PayPal/hooks/usePayPalSessionOptions.js.map +1 -0
  59. package/dist/es/components/PayPal/hooks/usePayPalStatus.js +2 -0
  60. package/dist/es/components/PayPal/hooks/usePayPalStatus.js.map +1 -0
  61. package/dist/es/components/PayPal/hooks/useStartPayPalSession.js +2 -0
  62. package/dist/es/components/PayPal/hooks/useStartPayPalSession.js.map +1 -0
  63. package/dist/es/components/PayPal/models/BasePayPalElement.js +2 -0
  64. package/dist/es/components/PayPal/models/BasePayPalElement.js.map +1 -0
  65. package/dist/es/components/PayPal/services/PayPalSdkLoader.js +2 -0
  66. package/dist/es/components/PayPal/services/PayPalSdkLoader.js.map +1 -0
  67. package/dist/es/components/PayPal/services/PayPalService.js +2 -0
  68. package/dist/es/components/PayPal/services/PayPalService.js.map +1 -0
  69. package/dist/es/components/PayPal/services/request-paypal-oauth-token.js +2 -0
  70. package/dist/es/components/PayPal/services/request-paypal-oauth-token.js.map +1 -0
  71. package/dist/es/components/PayPal/services/request-paypal-order-details.js +2 -0
  72. package/dist/es/components/PayPal/services/request-paypal-order-details.js.map +1 -0
  73. package/dist/es/components/PayPal/utils/get-paypal-locale.js +1 -1
  74. package/dist/es/components/PayPal/utils/get-paypal-locale.js.map +1 -1
  75. package/dist/es/components/PayPal/utils/get-paypal-settings.js +1 -1
  76. package/dist/es/components/PayPal/utils/get-paypal-settings.js.map +1 -1
  77. package/dist/es/components/PayPal/utils/get-paypal-url.js +1 -1
  78. package/dist/es/components/PayPal/utils/get-paypal-url.js.map +1 -1
  79. package/dist/es/components/PayPal/utils/is-paypal-service-config-equal.js +2 -0
  80. package/dist/es/components/PayPal/utils/is-paypal-service-config-equal.js.map +1 -0
  81. package/dist/es/components/components-name-map.js +1 -1
  82. package/dist/es/components/components-name-map.js.map +1 -1
  83. package/dist/es/components/index.js +1 -1
  84. package/dist/es/components/internal/BaseElement/BaseElement.js +1 -1
  85. package/dist/es/components/internal/BaseElement/BaseElement.js.map +1 -1
  86. package/dist/es/components/internal/PayButton/utils.js.map +1 -1
  87. package/dist/es/components/tx-variants.js +1 -1
  88. package/dist/es/components/tx-variants.js.map +1 -1
  89. package/dist/es/core/config.js +1 -1
  90. package/dist/es/core/config.js.map +1 -1
  91. package/dist/es/index.d.ts +525 -4
  92. package/dist/es/index.js +1 -1
  93. package/dist/es/utils/createSdkData.js +1 -1
  94. package/dist/es/utils/createSdkData.js.map +1 -1
  95. package/dist/es/utils/is-live-environment.js +2 -0
  96. package/dist/es/utils/is-live-environment.js.map +1 -0
  97. package/dist/es-legacy/adyen.css +14 -12
  98. package/dist/es-legacy/adyen.css.map +1 -1
  99. package/dist/es-legacy/components/ApplePay/services/ApplePaySdkLoader.js.map +1 -1
  100. package/dist/es-legacy/components/Donation/components/DonationComponent.js.map +1 -1
  101. package/dist/es-legacy/components/Donation/components/FixedAmounts.js.map +1 -1
  102. package/dist/es-legacy/components/PayPal/PayPalCredit.js +2 -0
  103. package/dist/es-legacy/components/PayPal/PayPalCredit.js.map +1 -0
  104. package/dist/es-legacy/components/PayPal/PayPalPaylater.js +2 -0
  105. package/dist/es-legacy/components/PayPal/PayPalPaylater.js.map +1 -0
  106. package/dist/es-legacy/components/PayPal/Paypal.js +1 -1
  107. package/dist/es-legacy/components/PayPal/Paypal.js.map +1 -1
  108. package/dist/es-legacy/components/PayPal/Venmo.js +2 -0
  109. package/dist/es-legacy/components/PayPal/Venmo.js.map +1 -0
  110. package/dist/es-legacy/components/PayPal/components/PayPalButton.js +2 -0
  111. package/dist/es-legacy/components/PayPal/components/PayPalButton.js.map +1 -0
  112. package/dist/es-legacy/components/PayPal/components/PayPalComponentV6.js +2 -0
  113. package/dist/es-legacy/components/PayPal/components/PayPalComponentV6.js.map +1 -0
  114. package/dist/es-legacy/components/PayPal/components/PayPalComponentV6.module.scss.js +2 -0
  115. package/dist/es-legacy/components/PayPal/components/PayPalComponentV6.module.scss.js.map +1 -0
  116. package/dist/es-legacy/components/PayPal/components/PayPalCreditButton.js +2 -0
  117. package/dist/es-legacy/components/PayPal/components/PayPalCreditButton.js.map +1 -0
  118. package/dist/es-legacy/components/PayPal/components/PayPalCreditComponent.js +2 -0
  119. package/dist/es-legacy/components/PayPal/components/PayPalCreditComponent.js.map +1 -0
  120. package/dist/es-legacy/components/PayPal/components/PayPalMessaging.js +2 -0
  121. package/dist/es-legacy/components/PayPal/components/PayPalMessaging.js.map +1 -0
  122. package/dist/es-legacy/components/PayPal/components/PayPalPayLaterButton.js +2 -0
  123. package/dist/es-legacy/components/PayPal/components/PayPalPayLaterButton.js.map +1 -0
  124. package/dist/es-legacy/components/PayPal/components/PayPalPaylaterComponent.js +2 -0
  125. package/dist/es-legacy/components/PayPal/components/PayPalPaylaterComponent.js.map +1 -0
  126. package/dist/es-legacy/components/PayPal/components/PayPalPaylaterComponent.module.scss.js +2 -0
  127. package/dist/es-legacy/components/PayPal/components/PayPalPaylaterComponent.module.scss.js.map +1 -0
  128. package/dist/es-legacy/components/PayPal/components/PayPalProcessingSpinner.js +2 -0
  129. package/dist/es-legacy/components/PayPal/components/PayPalProcessingSpinner.js.map +1 -0
  130. package/dist/es-legacy/components/PayPal/components/PayPalSpinner.js +2 -0
  131. package/dist/es-legacy/components/PayPal/components/PayPalSpinner.js.map +1 -0
  132. package/dist/es-legacy/components/PayPal/components/PaypalButtons.js +1 -1
  133. package/dist/es-legacy/components/PayPal/components/PaypalButtons.js.map +1 -1
  134. package/dist/es-legacy/components/PayPal/components/PaypalComponent.js +1 -1
  135. package/dist/es-legacy/components/PayPal/components/PaypalComponent.js.map +1 -1
  136. package/dist/es-legacy/components/PayPal/components/VenmoButton.js +2 -0
  137. package/dist/es-legacy/components/PayPal/components/VenmoButton.js.map +1 -0
  138. package/dist/es-legacy/components/PayPal/components/VenmoComponent.js +2 -0
  139. package/dist/es-legacy/components/PayPal/components/VenmoComponent.js.map +1 -0
  140. package/dist/es-legacy/components/PayPal/config.js +1 -1
  141. package/dist/es-legacy/components/PayPal/config.js.map +1 -1
  142. package/dist/es-legacy/components/PayPal/hooks/usePayPalButtonEligibility.js +2 -0
  143. package/dist/es-legacy/components/PayPal/hooks/usePayPalButtonEligibility.js.map +1 -0
  144. package/dist/es-legacy/components/PayPal/hooks/usePayPalOneTimeSession.js +2 -0
  145. package/dist/es-legacy/components/PayPal/hooks/usePayPalOneTimeSession.js.map +1 -0
  146. package/dist/es-legacy/components/PayPal/hooks/usePayPalSaveSession.js +2 -0
  147. package/dist/es-legacy/components/PayPal/hooks/usePayPalSaveSession.js.map +1 -0
  148. package/dist/es-legacy/components/PayPal/hooks/usePayPalSessionOptions.js +2 -0
  149. package/dist/es-legacy/components/PayPal/hooks/usePayPalSessionOptions.js.map +1 -0
  150. package/dist/es-legacy/components/PayPal/hooks/usePayPalStatus.js +2 -0
  151. package/dist/es-legacy/components/PayPal/hooks/usePayPalStatus.js.map +1 -0
  152. package/dist/es-legacy/components/PayPal/hooks/useStartPayPalSession.js +2 -0
  153. package/dist/es-legacy/components/PayPal/hooks/useStartPayPalSession.js.map +1 -0
  154. package/dist/es-legacy/components/PayPal/models/BasePayPalElement.js +2 -0
  155. package/dist/es-legacy/components/PayPal/models/BasePayPalElement.js.map +1 -0
  156. package/dist/es-legacy/components/PayPal/services/PayPalSdkLoader.js +2 -0
  157. package/dist/es-legacy/components/PayPal/services/PayPalSdkLoader.js.map +1 -0
  158. package/dist/es-legacy/components/PayPal/services/PayPalService.js +2 -0
  159. package/dist/es-legacy/components/PayPal/services/PayPalService.js.map +1 -0
  160. package/dist/es-legacy/components/PayPal/services/request-paypal-oauth-token.js +2 -0
  161. package/dist/es-legacy/components/PayPal/services/request-paypal-oauth-token.js.map +1 -0
  162. package/dist/es-legacy/components/PayPal/services/request-paypal-order-details.js +2 -0
  163. package/dist/es-legacy/components/PayPal/services/request-paypal-order-details.js.map +1 -0
  164. package/dist/es-legacy/components/PayPal/utils/get-paypal-locale.js +1 -1
  165. package/dist/es-legacy/components/PayPal/utils/get-paypal-locale.js.map +1 -1
  166. package/dist/es-legacy/components/PayPal/utils/get-paypal-settings.js +1 -1
  167. package/dist/es-legacy/components/PayPal/utils/get-paypal-settings.js.map +1 -1
  168. package/dist/es-legacy/components/PayPal/utils/get-paypal-url.js +1 -1
  169. package/dist/es-legacy/components/PayPal/utils/get-paypal-url.js.map +1 -1
  170. package/dist/es-legacy/components/PayPal/utils/is-paypal-service-config-equal.js +2 -0
  171. package/dist/es-legacy/components/PayPal/utils/is-paypal-service-config-equal.js.map +1 -0
  172. package/dist/es-legacy/components/components-name-map.js +1 -1
  173. package/dist/es-legacy/components/components-name-map.js.map +1 -1
  174. package/dist/es-legacy/components/index.js +1 -1
  175. package/dist/es-legacy/components/internal/BaseElement/BaseElement.js +1 -1
  176. package/dist/es-legacy/components/internal/BaseElement/BaseElement.js.map +1 -1
  177. package/dist/es-legacy/components/internal/PayButton/utils.js.map +1 -1
  178. package/dist/es-legacy/components/tx-variants.js +1 -1
  179. package/dist/es-legacy/components/tx-variants.js.map +1 -1
  180. package/dist/es-legacy/core/config.js +1 -1
  181. package/dist/es-legacy/core/config.js.map +1 -1
  182. package/dist/es-legacy/index.js +1 -1
  183. package/dist/es-legacy/utils/createSdkData.js +1 -1
  184. package/dist/es-legacy/utils/createSdkData.js.map +1 -1
  185. package/dist/es-legacy/utils/is-live-environment.js +2 -0
  186. package/dist/es-legacy/utils/is-live-environment.js.map +1 -0
  187. package/package.json +1 -1
  188. package/styles/adyen.css +14 -12
@@ -3,6 +3,7 @@
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';
6
7
 
7
8
  interface ILanguageService {
8
9
  fetchTranslationsFromCdn(locale: string): Promise<Readonly<Translations>>;
@@ -856,6 +857,17 @@ interface FastlaneConfiguration extends UIElementProps {
856
857
  }
857
858
 
858
859
  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
+ }
859
871
 
860
872
  interface IAnalytics {
861
873
  checkoutAttemptId?: string;
@@ -1193,6 +1205,9 @@ declare enum TxVariants {
1193
1205
  clicktopay = "clicktopay",
1194
1206
  googlepay = "googlepay",
1195
1207
  paypal = "paypal",
1208
+ paypal_paylater = "paypal_paylater",
1209
+ paypal_credit = "paypal_credit",
1210
+ venmo = "venmo",
1196
1211
  fastlane = "fastlane",
1197
1212
  paywithgoogle = "paywithgoogle",
1198
1213
  /** Wallets */
@@ -3777,7 +3792,341 @@ type PayPalOnShippingOptionsChangeData = OnShippingOptionsChangeData & {
3777
3792
  errors: Record<string, string>;
3778
3793
  };
3779
3794
  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
+
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
+ };
3780
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
+ };
3781
4130
  interface PayPalConfiguration extends UIElementProps {
3782
4131
  /**
3783
4132
  * Configuration returned by the backend
@@ -3939,7 +4288,80 @@ interface PayPalConfiguration extends UIElementProps {
3939
4288
  * @default undefined
3940
4289
  */
3941
4290
  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
+ };
3942
4327
  }
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
+ };
3943
4365
  /**
3944
4366
  * The intent for the transaction. This determines whether the funds are captured immediately, or later.
3945
4367
  * @see {@link https://developer.paypal.com/docs/checkout/reference/customize-sdk/#intent}
@@ -3958,7 +4380,35 @@ declare class PaypalElement extends UIElement<PayPalConfiguration> {
3958
4380
  private resolve;
3959
4381
  private reject;
3960
4382
  protected static readonly defaultProps: Partial<PayPalConfiguration>;
4383
+ private paypalService?;
3961
4384
  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
+ };
3962
4412
  formatProps(props: PayPalConfiguration): PayPalConfiguration;
3963
4413
  protected beforeRender(configSetByMerchant?: PayPalConfiguration): void;
3964
4414
  submit: () => void;
@@ -3967,13 +4417,16 @@ declare class PaypalElement extends UIElement<PayPalConfiguration> {
3967
4417
  * @param paymentData - Payment data value
3968
4418
  */
3969
4419
  updatePaymentData(paymentData: string): void;
4420
+ private get browserInfo();
3970
4421
  /**
3971
4422
  * Formats the component data output
3972
4423
  */
3973
4424
  protected formatData(): {
4425
+ storePaymentMethod: boolean;
4426
+ browserInfo: BrowserInfo;
3974
4427
  paymentMethod: {
3975
- type: TxVariants;
3976
4428
  userAction: "continue" | "pay";
4429
+ type: TxVariants;
3977
4430
  subtype: string;
3978
4431
  };
3979
4432
  };
@@ -3986,7 +4439,15 @@ declare class PaypalElement extends UIElement<PayPalConfiguration> {
3986
4439
  * Paypal does not require any specific Dropin validation
3987
4440
  */
3988
4441
  get isValid(): boolean;
3989
- private readonly handleOnApprove;
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;
3990
4451
  handleResolve(token: string): void;
3991
4452
  handleReject(errorMessage: string): void;
3992
4453
  private handleSubmit;
@@ -4008,6 +4469,49 @@ declare class PaypalElement extends UIElement<PayPalConfiguration> {
4008
4469
  * @param actions - PayPal actions.
4009
4470
  */
4010
4471
  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;
4011
4515
  protected componentToRender(): h.JSX.Element | null;
4012
4516
  }
4013
4517
 
@@ -6481,6 +6985,9 @@ declare const ComponentsMap: {
6481
6985
  clicktopay: typeof ClickToPayElement;
6482
6986
  googlepay: typeof GooglePay;
6483
6987
  paypal: typeof PaypalElement;
6988
+ paypal_paylater: typeof PayPalPaylaterElement;
6989
+ paypal_credit: typeof PayPalCreditElement;
6990
+ venmo: typeof VenmoElement;
6484
6991
  fastlane: typeof Fastlane;
6485
6992
  paywithgoogle: typeof GooglePay;
6486
6993
  /** Wallets */
@@ -7321,6 +7828,16 @@ interface CoreConfiguration {
7321
7828
  };
7322
7829
  }
7323
7830
 
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
+
7324
7841
  declare abstract class BaseElement<P extends BaseElementProps, S extends BaseElementState = BaseElementState> implements IBaseElement<P> {
7325
7842
  readonly _id: string;
7326
7843
  readonly core: ICore;
@@ -7344,6 +7861,7 @@ declare abstract class BaseElement<P extends BaseElementProps, S extends BaseEle
7344
7861
  protected submitAnalytics(_analyticsObj?: AbstractAnalyticsEvent): any;
7345
7862
  protected handleKeyDown(_e: TargetedKeyboardEvent<HTMLInputElement>): any;
7346
7863
  protected setState(newState: S): void;
7864
+ protected get sdkDataPaymentMethodConfiguration(): CreateSdkDataParams['paymentMethodConfiguration'];
7347
7865
  /**
7348
7866
  * Returns the component payment data ready to submit to the Checkout API
7349
7867
  * Note: this does not ensure validity, check isValid first
@@ -8706,6 +9224,8 @@ declare namespace index_d {
8706
9224
  PayMeElement as PayMe,
8707
9225
  PayNowElement as PayNow,
8708
9226
  PaypalElement as PayPal,
9227
+ PayPalCreditElement as PayPalCredit,
9228
+ PayPalPaylaterElement as PayPalPayLater,
8709
9229
  PayToElement as PayTo,
8710
9230
  PayuNetCashcardElement as PayuCashcard,
8711
9231
  PayuNetBankingElement as PayuNetBanking,
@@ -8724,6 +9244,7 @@ declare namespace index_d {
8724
9244
  TrustlyElement as Trustly,
8725
9245
  TwintElement as Twint,
8726
9246
  index_d_UPI as UPI,
9247
+ VenmoElement as Venmo,
8727
9248
  VippsElement as Vipps,
8728
9249
  WalletINElement as WalletIN,
8729
9250
  WeChatPayElement as WeChat,
@@ -8922,5 +9443,5 @@ declare namespace AdyenCheckout {
8922
9443
  var setBundleType: (type: string) => void;
8923
9444
  }
8924
9445
 
8925
- export { ANCVElement as ANCV, AchElement as Ach, AddressElement as Address, AdyenCheckout, AdyenCheckoutError, Affirm, AfterPay, AfterPayB2B, AmazonPayElement as AmazonPay, ApplePayElement as ApplePay, Atome, BacsElement as BacsDirectDebit, BancontactElement as Bancontact, BankTransferElement as BankTransfer, BCMCMobileElement as BcmcMobile, BillDeskOnlineElement as BillDeskOnline, BillDeskWalletElement as BillDeskWallet, BlikElement as Blik, BoletoElement as Boleto, CardElement as Card, CashAppPay, ClickToPayElement as ClickToPay, Core, CustomCard, DokuElement as Doku, DonationElement as Donation, DotpayElement as Dotpay, DragonpayElement as Dragonpay, DropinElement as Dropin, DuitNowElement as DuitNow, EPSElement as EPS, EcontextElement as Econtext, FacilyPay10x as FacilPay10x, FacilyPay12x as FacilPay12x, FacilyPay3x as FacilPay3x, FacilyPay4x as FacilPay4x, FacilyPay6x as FacilPay6x, Fastlane, FastlaneSDK, GiftcardElement as Giftcard, GiropayElement as Giropay, GooglePay, Iris, IrisMode, KlarnaPayments as Klarna, MBWayElement as MBWay, MealVoucherFRElement as MealVoucherFR, MolPayEBankingMYElement as MolPayEBankingMY, MolPayEBankingTHElement as MolPayEBankingTH, MolPayEbankingVNElement as MolPayEBankingVN, MultibancoElement as Multibanco, OnlineBankingCZElement as OnlineBankingCZ, OnlineBankingFI, OnlineBankingINElement as OnlineBankingIN, OnlineBankingPL, OnlineBankingSKElement as OnlineBankingSK, OxxoElement as Oxxo, PayByBank, PayByBankPixElement as PayByBankPix, PayByBankUS, PayMeElement as PayMe, PayNowElement as PayNow, PaypalElement as PayPal, PayToElement as PayTo, PayuNetCashcardElement as PayuCashcard, PayuNetBankingElement as PayuNetBanking, PersonalDetailsElement as PersonalDetails, PixElement as Pix, PreAuthorizedDebitCanada, PromptPayElement as PromptPay, RatePay, RatePayDirectDebit, RedirectElement as Redirect, Riverty, SepaElement as SepaDirectDebit, SwishElement as Swish, ThreeDS2Challenge, ThreeDS2DeviceFingerprint, TrustlyElement as Trustly, TwintElement as Twint, UIElement, UPI, VippsElement as Vipps, WalletINElement as WalletIN, WeChatPayElement as WeChat, index_d as components, initializeFastlane };
8926
- export type { ANCVConfiguration, ANCVDataState, AchConfiguration, AchPlaceholders, ActionDescriptionType, ActionHandledReturnObject, AdditionalDetailsActions, AdditionalDetailsData, AddressData, AddressField, AmazonPayBackendConfiguration, AmazonPayButtonProps, AmazonPayButtonSettings, AmazonPayComponentProps, AmazonPayComponentRef, AmazonPayConfiguration, AmazonPayElementData, AmazonWindowObject, App, ApplePayButtonStyle, ApplePayButtonType, ApplePayConfiguration, ApplePayElementData, ApplePayPaymentAuthorizationResult, ApplePayPaymentOrderDetails, ApplePaySessionRequest, ApplePaySessionResponse, ApplePayWebConfiguration, AwaitComponentProps, AwaitConfiguration, BankDetailsSchema, BankTransferConfiguration, BankTransferSchema, BankTransferState, BeforeSubmitActions, BinLookupResponse, BinLookupResponseRaw, BoletoConfiguration, BoletoElementProps, BoletoInputDataState, BoletoInputErrorState, BoletoInputValidState, BrandConfiguration, BrandObject, BrowserInfo, CReqData, CardAllValidData, CardAutoCompleteData, CardBackendConfiguration, CardBinLookupData, CardBinValueData, CardBrandData, CardBrandsConfiguration, CardConfigSuccessData, CardConfiguration, CardElementData, CardErrorData, CardFieldValidData, CardFocusData, CardLoadData, CardPlaceholders, CashAppPayConfiguration, CashAppPayElementData, CashAppPayEventData, ChallengeData, ChallengeResolveData, ChallengeWindowSize, ChangeActionOptions, ChangePaymentDetailsButtonProps, ChargeAmount, CheckoutAdvancedFlowResponse, CheckoutDetailsRequest, CheckoutSession, CheckoutSessionConfig, ClickToPayConfiguration, ClickToPayPaymentData, ClickToPayProps, ClickToPayScheme, CommonVoucherProps, ComponentFocusObject, ComponentMethodsRef, CoreConfiguration, CoreModules, CorePropsForComponent, CreateFromActionOptions, Currency, CustomCardConfiguration, CustomTranslations, DecodeObject, DeliverySpecifications, DokuVoucherResultProps, DonationCampaign, DonationCampaignOptions, DonationConfiguration, DonationOptions, DonationProps, DragonpayConfiguraton, DragonpayInputData, DragonpayInputIssuerItem, DragonpayInputProps, DragonpayVoucherResultProps, DropinComponentProps, DropinComponentState, DropinConfiguration, DropinStatus, DropinStatusProps, DualBrandButtons, DualBrandSelectElement, DualBrandingChangeHandler, EcontextConfiguration, EcontextInputSchema, EcontextVoucherResultProps, ErrorCodeObject, ExtendedMerchantInfo, FastlaneAddress, FastlaneAuthenticatedCustomerResult, FastlaneConfiguration, FastlaneConsentRenderState, FastlaneData, FastlaneOptions, FastlanePaymentMethodConfiguration, FastlaneProfile, FastlaneSDKConfiguration, FastlaneShipping, FastlaneShippingAddressSelectorResult, FastlaneSignupConfiguration, FastlaneWindowInstance, FieldsetVisibility, FingerPrintData, FingerprintResolveData, FundingSource, FundingSourceKeys, GiftCardBalanceCheckErrorType, GiftCardConfiguration, GiftCardElementData, GiftCardValidationError, GlobalOptions, GooglePayConfiguration, GooglePaymentDataRequest, ICore, IDropin, InstantPaymentTypes, Intent, IrisConfiguration, IrisData, IrisState, IssuerListConfiguration, IssuerListData, KlarnaAction, KlarnaAdditionalDetailsData, KlarnaComponentRef, KlarnaConfiguration, KlarnaSdkData, KlarnaWidgetAuthorizeResponse, KlarnaWidgetProps, LedgerCurrencies, MandateFrequencyType, MandateType, OnChangeData, OnChangeDataErrors, OpenInvoiceActiveFieldsets, OpenInvoiceConfiguration, OpenInvoiceFieldsetsRefs, OpenInvoiceProps, OpenInvoiceState, OpenInvoiceStateData, OpenInvoiceStateError, OpenInvoiceStateValid, OpenInvoiceVisibility, Order, OrderButtonProps, OrderStatus, PayPalConfiguration, PayToConfiguration, PayToData, PayToPlaceholdersType, PayloadJSON, PaymentAction, PaymentActionsType, PaymentAmount, PaymentCompletedData, PaymentData, PaymentFailedData, PaymentMethodBrand, PaymentMethodData, PaymentMethodDisplayMode, PaymentMethodGroup, PaymentMethodOptions, PaymentMethods, PaymentMethodsConfiguration, PaymentMethodsRequestData, PaymentMethodsResponse, PaymentResponseData, PersonalDetailsSchema, PixConfiguration, PixElementData, PostMsgParseErrorObject, PreAuthorizedDebitCanadaConfiguration, PreAuthorizedDebitCanadaPlaceholders, ProcessedPaymentStatusResponse, QRLoaderConfiguration, RawPaymentMethod, RawPaymentResponse, RawPaymentStatusResponse, RawStoredPaymentMethod, RecurringMetadata, RedirectConfiguration, Region, ResultCode, ResultObject, ResultValue, ReviewDetails, SepaConfiguration, SepaElementData, SessionsResponse, SignOutButtonProps, SocialSecurityMode, StatusFromAction, SubmitActions, SubmitData, SupportedLocale, SupportedPayPalFundingSources, ThreeDS2ActionProps, ThreeDS2ChallengeConfiguration, ThreeDS2ConfigProps, ThreeDS2DeviceFingerprintConfiguration, ThreeDS2FingerprintResponse, ThreeDS2FlowObject, ThreeDS2FlowProps, ThreeDS2Token, UIElementProps, UIElementStatus, UPIAppList, UPIConfiguration, UpdateAmazonCheckoutSessionRequest, UpiMode, UpiPaymentData, UpiType, ValidationError, VoucherConfiguration, VoucherDetail, VoucherProps, balanceCheckResponseType, onBalanceCheckCallbackType, onOrderCancelData, onOrderCancelInternalCallback, onOrderCancelType, onOrderRequestCallbackType, onOrderUpdatedCallbackType, onRequiringConfirmationCallbackType };
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, PayPalCreditElement as PayPalCredit, PayPalPaylaterElement as PayPalPayLater, 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, VenmoElement as Venmo, VippsElement as Vipps, WalletINElement as WalletIN, WeChatPayElement as WeChat, index_d as components, initializeFastlane };
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, BasePayPalConfiguration, BeforeSubmitActions, BinLookupResponse, BinLookupResponseRaw, BoletoConfiguration, BoletoElementProps, BoletoInputDataState, BoletoInputErrorState, BoletoInputValidState, BrandConfiguration, BrandObject, BrowserInfo, CReqData, CardAllValidData, CardAutoCompleteData, CardBackendConfiguration, CardBinLookupData, CardBinValueData, CardBrandData, CardBrandsConfiguration, CardConfigSuccessData, CardConfiguration, CardElementData, CardErrorData, CardFieldValidData, CardFocusData, CardLoadData, CardPlaceholders, CashAppPayConfiguration, CashAppPayElementData, CashAppPayEventData, ChallengeData, ChallengeResolveData, ChallengeWindowSize, ChangeActionOptions, ChangePaymentDetailsButtonProps, ChargeAmount, CheckoutAdvancedFlowResponse, CheckoutDetailsRequest, CheckoutSession, CheckoutSessionConfig, ClickToPayConfiguration, ClickToPayPaymentData, ClickToPayProps, ClickToPayScheme, CommonVoucherProps, ComponentFocusObject, ComponentMethodsRef, CoreConfiguration, CoreModules, CorePropsForComponent, CreateFromActionOptions, Currency, CustomCardConfiguration, CustomTranslations, DecodeObject, DeliverySpecifications, DokuVoucherResultProps, DonationCampaign, DonationCampaignOptions, DonationConfiguration, DonationOptions, DonationProps, DragonpayConfiguraton, DragonpayInputData, DragonpayInputIssuerItem, DragonpayInputProps, DragonpayVoucherResultProps, DropinComponentProps, DropinComponentState, DropinConfiguration, DropinStatus, DropinStatusProps, DualBrandButtons, DualBrandSelectElement, DualBrandingChangeHandler, EcontextConfiguration, EcontextInputSchema, EcontextVoucherResultProps, ErrorCodeObject, ExtendedMerchantInfo, FastlaneAddress, FastlaneAuthenticatedCustomerResult, FastlaneConfiguration, FastlaneConsentRenderState, FastlaneData, FastlaneOptions, FastlanePaymentMethodConfiguration, FastlaneProfile, FastlaneSDKConfiguration, FastlaneShipping, FastlaneShippingAddressSelectorResult, FastlaneSignupConfiguration, FastlaneWindowInstance, FieldsetVisibility, FingerPrintData, FingerprintResolveData, FundingSource, FundingSourceKeys, GiftCardBalanceCheckErrorType, GiftCardConfiguration, GiftCardElementData, GiftCardValidationError, GlobalOptions, GooglePayConfiguration, GooglePaymentDataRequest, ICore, IDropin, InstantPaymentTypes, Intent, IrisConfiguration, IrisData, IrisState, IssuerListConfiguration, IssuerListData, KlarnaAction, KlarnaAdditionalDetailsData, KlarnaComponentRef, KlarnaConfiguration, KlarnaSdkData, KlarnaWidgetAuthorizeResponse, KlarnaWidgetProps, LedgerCurrencies, MandateFrequencyType, MandateType, OnChangeData, OnChangeDataErrors, OpenInvoiceActiveFieldsets, OpenInvoiceConfiguration, OpenInvoiceFieldsetsRefs, OpenInvoiceProps, OpenInvoiceState, OpenInvoiceStateData, OpenInvoiceStateError, OpenInvoiceStateValid, OpenInvoiceVisibility, Order, OrderButtonProps, OrderStatus, PayPalConfiguration, PayPalCreditConfiguration, PayPalPayLaterConfiguration, 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, VenmoConfiguration, VoucherConfiguration, VoucherDetail, VoucherProps, balanceCheckResponseType, onBalanceCheckCallbackType, onOrderCancelData, onOrderCancelInternalCallback, onOrderCancelType, onOrderRequestCallbackType, onOrderUpdatedCallbackType, onRequiringConfirmationCallbackType };