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 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:
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.