Ingenico-ePayments / connect-extension-magento2

Ingenico Connect based Shopping Cart Extension for Magento 2.x
https://epayments.developer-ingenico.com/documentation/ecommerce-extensions/magento-2/
MIT License
4 stars 4 forks source link

Not redirect to HostedCheckout magento 2.4.2 Community #21

Closed mesguerrae closed 1 year ago

mesguerrae commented 3 years ago

Describe the issue

Using the community version of Magento in its version 2.4.2. When trying to make a payment, the plugin does not redirect to Ingenico's Hosted checkout to make the payment.

I am currently trying to test in the pre-production environment.

When the plugin fails it generates the following log trace

_Current customer does not have an active cart.

0 /var/www/html/lentesplus/generated/code/Magento/Quote/Model/Webapi/ParamOverriderCartId/Proxy.php(95): Magento\Quote\Model\Webapi\ParamOverriderCartId->getOverriddenValue()

1 /var/www/html/lentesplus/app/code/Magento/Webapi/Controller/Rest/ParamsOverrider.php(64): Magento\Quote\Model\Webapi\ParamOverriderCartId\Proxy->getOverriddenValue()

2 /var/www/html/lentesplus/app/code/Magento/Webapi/Controller/Rest/InputParamsResolver.php(112): Magento\Webapi\Controller\Rest\ParamsOverrider->override()

3 /var/www/html/lentesplus/app/code/Magento/Webapi/Controller/Rest/InputParamsResolver.php(83): Magento\Webapi\Controller\Rest\InputParamsResolver->getInputData()

4 /var/www/html/lentesplus/lib/internal/Magento/Framework/Interception/Interceptor.php(58): Magento\Webapi\Controller\Rest\InputParamsResolver->resolve()

5 /var/www/html/lentesplus/lib/internal/Magento/Framework/Interception/Interceptor.php(138): Magento\Webapi\Controller\Rest\InputParamsResolver\Interceptor->___callParent()

6 /var/www/html/lentesplus/lib/internal/Magento/Framework/Interception/Interceptor.php(153): Magento\Webapi\Controller\Rest\InputParamsResolver\Interceptor->Magento\Framework\Interception{closure}()

7 /var/www/html/lentesplus/generated/code/Magento/Webapi/Controller/Rest/InputParamsResolver/Interceptor.php(23): Magento\Webapi\Controller\Rest\InputParamsResolver\Interceptor->___callPlugins()

8 /var/www/html/lentesplus/app/code/Magento/Webapi/Controller/Rest/SynchronousRequestProcessor.php(85): Magento\Webapi\Controller\Rest\InputParamsResolver\Interceptor->resolve()

9 /var/www/html/lentesplus/app/code/Magento/Webapi/Controller/Rest.php(188): Magento\Webapi\Controller\Rest\SynchronousRequestProcessor->process()

10 /var/www/html/lentesplus/lib/internal/Magento/Framework/Interception/Interceptor.php(58): Magento\Webapi\Controller\Rest->dispatch()

11 /var/www/html/lentesplus/lib/internal/Magento/Framework/Interception/Interceptor.php(138): Magento\Webapi\Controller\Rest\Interceptor->___callParent()

12 /var/www/html/lentesplus/lib/internal/Magento/Framework/Interception/Interceptor.php(153): Magento\Webapi\Controller\Rest\Interceptor->Magento\Framework\Interception{closure}()

13 /var/www/html/lentesplus/generated/code/Magento/Webapi/Controller/Rest/Interceptor.php(23): Magento\Webapi\Controller\Rest\Interceptor->___callPlugins()

14 /var/www/html/lentesplus/lib/internal/Magento/Framework/App/Http.php(116): Magento\Webapi\Controller\Rest\Interceptor->dispatch()

15 /var/www/html/lentesplus/lib/internal/Magento/Framework/App/Bootstrap.php(263): Magento\Framework\App\Http->launch()

16 /var/www/html/lentesplus/pub/index.php(29): Magento\Framework\App\Bootstrap->run()

17 {main}_

Checklist

Before posting an issue, please make sure you've checked the following checklist:

To Reproduce

Please provide clear steps on how to reproduce the behavior. Also provide the following information:

Expected behavior

Redirect to checkout to make payment

Ingenico-Shoppingcarts commented 3 years ago

@mesguerrae My apologies for the late reply.

We will release 2.5.X version of the Module, planned for this week. Validated if there are any issues with Magento 2.4.2 and the hosted checkout. In the error shared from Magento the first feedback of the developer was the absence of a reference to our module.

Moving forward, we will pick up the communication on the issue. I will reach out to my Colleague to get all the contact details.

The issue of a missing CartID is only in relation to Ingenico, the native check money order works fine and disabling the module of Ingenico allows you to process steps in the checkout without any error ?

mesguerrae commented 3 years ago

@Ingenico-Shoppingcarts thanks for the answer me.

It is correct, this error only occurs with Ingenico's payment method, other payment methods work correctly and do not present the error allowing the purchase to be completed.

bertterheide commented 2 years ago

@mesguerrae does this issue also occur in the latest version of this module?