diff --git a/composer.json b/composer.json index c319fc9..d262fd1 100755 --- a/composer.json +++ b/composer.json @@ -11,7 +11,7 @@ } ], "require": { - "adyen/module-payment": "^*" + "adyen/module-payment": "*" }, "require-dev": { "phpunit/phpunit": "*", diff --git a/view/frontend/web/js/applepay/button.js b/view/frontend/web/js/applepay/button.js index 8316028..2ba277f 100644 --- a/view/frontend/web/js/applepay/button.js +++ b/view/frontend/web/js/applepay/button.js @@ -429,7 +429,7 @@ define([ const postData = { email: shippingContact.emailAddress, paymentMethod: { - method: 'adyen_hpp', + method: 'adyen_applepay', additional_data: { brand_code: 'applepay', stateData: JSON.stringify(componentData)