Adyen / adyen-web

Adyen Web Drop-in and Components
https://docs.adyen.com/online-payments
MIT License
187 stars 132 forks source link

Adyen Custom Card Secured fields #2968

Open kxbui-accesso opened 6 days ago

kxbui-accesso commented 6 days ago

Is your feature request related to a problem? Please describe. I'm following this to migrate Adyen Custom Card Secured fields from v4.9 to v6.5. Notice a few cosmetics issues with the Secured fields and missing callback types from all the events.

Describe the solution you'd like

  1. The internal iframe shows gray border and display unused spaces. Currently there's no way to add custom styles to the iframe element. image

  2. The library does not export all callback types for Custom Card events image

  3. Since I installed the latest version of @adyen/adyen-web, I started seeing some issues with ApplePayJS type definition from @types/applepayjs not being found. image

Let me know if you need more information about the issue.

UPDATE: Number 1 was fixed by including the stylesheet import '@adyen/adyen-web/styles/adyen.css'