Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BP-3885 Apple Pay direct Pay button function not working on product page #1095

Open
ws-service opened this issue Nov 7, 2024 · 1 comment
Assignees
Labels
Bug Bugs, functions that are not working like they should. Priority: Normal This issue has a normal/medium priority. Status: Researching We are researching this issue.

Comments

@ws-service
Copy link

We use the latest version of your Magento 2 extension to enable Apple Pay on the Magento 2 product page and Cart. Unfortunately Apple Pay doesn't work on the Product Page. I get this exception:

1 exception(s):
Exception #0 (Exception): Product data is missing or invalid.

Exception #0 (Exception): Product data is missing or invalid.
<pre>#1 Buckaroo\Magento2\Controller\Applepay\Add->execute() called at [vendor/magento/framework/Interception/Interceptor.php:58]
#2 Buckaroo\Magento2\Controller\Applepay\Add\Interceptor->___callParent() called at [vendor/magento/framework/Interception/Interceptor.php:138]
#3 Buckaroo\Magento2\Controller\Applepay\Add\Interceptor->Magento\Framework\Interception\{closure}() called at [vendor/magento/framework/Interception/Interceptor.php:153]
#4 Buckaroo\Magento2\Controller\Applepay\Add\Interceptor->___callPlugins() called at [generated/code/Buckaroo/Magento2/Controller/Applepay/Add/Interceptor.php:23]
#5 Buckaroo\Magento2\Controller\Applepay\Add\Interceptor->execute() called at [vendor/magento/framework/App/Action/Action.php:111]
#6 Magento\Framework\App\Action\Action->dispatch() called at [vendor/magento/framework/Interception/Interceptor.php:58]
#7 Buckaroo\Magento2\Controller\Applepay\Add\Interceptor->___callParent() called at [vendor/magento/framework/Interception/Interceptor.php:138]
#8 Buckaroo\Magento2\Controller\Applepay\Add\Interceptor->Magento\Framework\Interception\{closure}() called at [vendor/magento/framework/Interception/Interceptor.php:153]
#9 Buckaroo\Magento2\Controller\Applepay\Add\Interceptor->___callPlugins() called at [generated/code/Buckaroo/Magento2/Controller/Applepay/Add/Interceptor.php:32]
#10 Buckaroo\Magento2\Controller\Applepay\Add\Interceptor->dispatch() called at [vendor/magento/framework/App/FrontController.php:245]
#11 Magento\Framework\App\FrontController->getActionResponse() called at [vendor/magento/framework/App/FrontController.php:212]
#12 Magento\Framework\App\FrontController->processRequest() called at [vendor/magento/framework/App/FrontController.php:147]
#13 Magento\Framework\App\FrontController->dispatch() called at [vendor/magento/framework/Interception/Interceptor.php:58]
#14 Magento\Framework\App\FrontController\Interceptor->___callParent() called at [vendor/magento/framework/Interception/Interceptor.php:138]
#15 Magento\Framework\App\FrontController\Interceptor->Magento\Framework\Interception\{closure}() called at [vendor/magento/module-store/App/FrontController/Plugin/RequestPreprocessor.php:99]
#16 Magento\Store\App\FrontController\Plugin\RequestPreprocessor->aroundDispatch() called at [vendor/magento/framework/Interception/Interceptor.php:135]
#17 Magento\Framework\App\FrontController\Interceptor->Magento\Framework\Interception\{closure}() called at [vendor/magento/module-page-cache/Model/App/FrontController/BuiltinPlugin.php:75]
#18 Magento\PageCache\Model\App\FrontController\BuiltinPlugin->aroundDispatch() called at [vendor/magento/framework/Interception/Interceptor.php:135]
#19 Magento\Framework\App\FrontController\Interceptor->Magento\Framework\Interception\{closure}() called at [vendor/magento/framework/Interception/Interceptor.php:153]
#20 Magento\Framework\App\FrontController\Interceptor->___callPlugins() called at [generated/code/Magento/Framework/App/FrontController/Interceptor.php:23]
#21 Magento\Framework\App\FrontController\Interceptor->dispatch() called at [vendor/magento/framework/App/Http.php:116]
#22 Magento\Framework\App\Http->launch() called at [vendor/magento/framework/App/Bootstrap.php:264]
#23 Magento\Framework\App\Bootstrap->run() called at [pub/index.php:30]
</pre>

This problem doesn't appear at the Shopping Cart page: /checkout/cart/ The Apple Pay direct pay button works as aspected ath that point.

We use Magento 2.4.6-p8, v1.50.2 of your extension and CSP completely disabled with this extension: https://github.com/yireo/Yireo_DisableCsp

Hope you can fix this issue.

@Buckaroo-Rene Buckaroo-Rene changed the title Apple Pay direct Pay button function not working on product page BP-3885 Apple Pay direct Pay button function not working on product page Nov 7, 2024
@Buckaroo-Rene Buckaroo-Rene self-assigned this Nov 7, 2024
@Buckaroo-Rene Buckaroo-Rene added Bug Bugs, functions that are not working like they should. Status: Researching We are researching this issue. Priority: Normal This issue has a normal/medium priority. labels Nov 7, 2024
@Buckaroo-Rene
Copy link
Contributor

Hi @ws-service ,

Thank you for bringing this to our attention.
We'll investigate the issue and keep you updated on our progress.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Bugs, functions that are not working like they should. Priority: Normal This issue has a normal/medium priority. Status: Researching We are researching this issue.
Projects
None yet
Development

No branches or pull requests

2 participants