Missing component for specific payment methods
See original GitHub issueDescribe the bug Specific payment methods are not displayed as web components, for example directEbanking and paysafecard https://docs.adyen.com/payment-methods/sofort/web-component#show-sofort-in-your-payment-form
The npm package behaves inconsistent comparing it with the “old way” by including the SDK via the <script> tag, the old implementation works flawlessly.
To Reproduce
Steps to reproduce the behavior:
checkout.create('directEbanking', ...).mount('#selector')
Expected behavior The adyen web package should just render the continue button, instead of throwing a Error.
Error: The passed payment method is not a valid Checkout Component
Screenshots
Desktop (please complete the following information):
- Browser: Chrome canary (latest)
Smartphone (please complete the following information): nope
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (3 by maintainers)
Top GitHub Comments
Hey @marcperez, it seems like i had a typo in the AdyenCheckout config object (paymentMethodResponse -> paymentMethodsResponse). It works now, thanks for your support
Happy it’s solved @stormtroop! Cheers!