diff --git a/src/Resources/app/storefront/src/express-checkout/express-checkout.plugin.js b/src/Resources/app/storefront/src/express-checkout/express-checkout.plugin.js index fd286be6..701d9a79 100755 --- a/src/Resources/app/storefront/src/express-checkout/express-checkout.plugin.js +++ b/src/Resources/app/storefront/src/express-checkout/express-checkout.plugin.js @@ -262,8 +262,8 @@ export default class ExpressCheckoutPlugin extends Plugin { paymentMethodsResponse: data.paymentMethodsResponse, onAdditionalDetails: this.handleOnAdditionalDetails.bind(this), onSubmit: function (state, component) { - console.log("on submit funkcija") - } + // SUBMIT PAYMENT + }.bind(this) }; return Promise.resolve(await AdyenCheckout(ADYEN_EXPRESS_CHECKOUT_CONFIG)); diff --git a/src/Resources/views/storefront/component/checkout/expresscheckout.html.twig b/src/Resources/views/storefront/component/checkout/expresscheckout.html.twig index 1727a494..4203c60d 100755 --- a/src/Resources/views/storefront/component/checkout/expresscheckout.html.twig +++ b/src/Resources/views/storefront/component/checkout/expresscheckout.html.twig @@ -1,8 +1,10 @@