From 5701ba67fef598597f2787d15c9bb50e019e5adf Mon Sep 17 00:00:00 2001 From: Can Demiralp Date: Wed, 27 Sep 2023 10:34:56 +0200 Subject: [PATCH] [PW-8640] Modify payment method code of Apple Pay request (#44) * [PW-8640] Modify payment method code of Apple Pay request * [PW-8640] Fix composer.json * [PW-8640] Fix composer.json --- composer.json | 2 +- view/frontend/web/js/applepay/button.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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)