lib/recurly/alternative-payment-methods/gateways/adyen.js
Function createAndMountWebComponent
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
async createAndMountWebComponent (paymentMethodData) {
const adyenOpts = this.options.adyen || {};
const checkout = await window.AdyenCheckout({
clientKey: adyenOpts.publicKey,