diff --git a/js/src/checkout-drop-in.js b/js/src/checkout-drop-in.js index 684ac61..91f6e92 100644 --- a/js/src/checkout-drop-in.js +++ b/js/src/checkout-drop-in.js @@ -18,7 +18,7 @@ */ const configuration = { ...pronamicPayAdyenCheckout.configuration, - onPaymentCompleted: ( result, component ) => { + onPaymentCompleted: ( result ) => { const redirectUrl = new URL( pronamicPayAdyenCheckout.paymentRedirectUrl );