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

[ECP-8905] Call config data from config helper instead #74

Merged
merged 2 commits into from
Jan 25, 2024

Conversation

hossam-adyen
Copy link
Contributor

Fix 500 Error on /rest/V1/adyen/express/init/mine

Error: Call to undefined method Adyen\Payment\Helper\Data::getAdyenAbstractConfigData() in /var/www/html/vendor/adyen/adyen-magento2-expresscheckout/Model/GetAdyenPaymentMethodsByProduct.php:81
Stack trace:
#0 /var/www/html/vendor/adyen/adyen-magento2-expresscheckout/Model/ExpressDataBuilder.php(235): Adyen\ExpressCheckout\Model\GetAdyenPaymentMethodsByProduct->execute()
#1 /var/www/html/vendor/adyen/adyen-magento2-expresscheckout/Model/ExpressDataBuilder.php(172): Adyen\ExpressCheckout\Model\ExpressDataBuilder->getAdyenPaymentMethods()
#2 /var/www/html/vendor/adyen/adyen-magento2-expresscheckout/Model/ExpressInit.php(200): Adyen\ExpressCheckout\Model\ExpressDataBuilder->execute()
#3 [internal function]: Adyen\ExpressCheckout\Model\ExpressInit->execute()
#4 /var/www/html/app/code/Magento/Webapi/Controller/Rest/SynchronousRequestProcessor.php(95): call_user_func_array()
#5 /var/www/html/app/code/Magento/Webapi/Controller/Rest.php(202): Magento\Webapi\Controller\Rest\SynchronousRequestProcessor->process()
#6 /var/www/html/lib/internal/Magento/Framework/Interception/Interceptor.php(58): Magento\Webapi\Controller\Rest->dispatch()
#7 /var/www/html/lib/internal/Magento/Framework/Interception/Interceptor.php(138): Magento\Webapi\Controller\Rest\Interceptor->___callParent()
#8 /var/www/html/lib/internal/Magento/Framework/Interception/Interceptor.php(153): Magento\Webapi\Controller\Rest\Interceptor->Magento\Framework\Interception\{closure}()
#9 /var/www/html/generated/code/Magento/Webapi/Controller/Rest/Interceptor.php(23): Magento\Webapi\Controller\Rest\Interceptor->___callPlugins()
#10 /var/www/html/lib/internal/Magento/Framework/App/Http.php(116): Magento\Webapi\Controller\Rest\Interceptor->dispatch()
#11 /var/www/html/lib/internal/Magento/Framework/App/Bootstrap.php(264): Magento\Framework\App\Http->launch()
#12 /var/www/html/pub/index.php(30): Magento\Framework\App\Bootstrap->run()
#13 {main}

@hossam-adyen hossam-adyen added the Fix Indicates a bug fix label Jan 15, 2024
@hossam-adyen hossam-adyen requested a review from a team as a code owner January 15, 2024 18:31
Copy link

sonarcloud bot commented Jan 25, 2024

Quality Gate Passed Quality Gate passed

Kudos, no new issues were introduced!

0 New issues
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

@candemiralp candemiralp merged commit 79b23f3 into develop Jan 25, 2024
7 checks passed
@candemiralp candemiralp deleted the ECP-8905 branch January 25, 2024 09:48
@khushboo-singhvi khushboo-singhvi mentioned this pull request Jan 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Fix Indicates a bug fix
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants