mollie / magento2

Mollie Payments for Magento 2
https://www.mollie.com
Other
100 stars 53 forks source link

[ISSUE] AdminHTML can't add product to admin order #688

Closed riccardofinkers closed 11 months ago

riccardofinkers commented 1 year ago

Describe the bug AdminHTML can't add product to admin order

Used versions

To Reproduce Steps to reproduce the behavior:

  1. Go to Sales -> Orders -> Create new order
  2. After selecting customer and store view click on add products and try to add a product

Expected behavior Product is added to order

Actual behavior No product can be added to the order

Actual FIX I have already patched this issue in file vendor/mollie/magento2/Block/Form/Pointofsale.php and change line 65:

-        } catch (\Mollie\Api\Exceptions\ApiException $exception) {
+        } catch (\Exception $exception) {

I have created a composer patch file for this one but it would be nice to fix this issue in the upcoming version.

Frank-Magmodules commented 1 year ago

Hello @riccardofinkers, we appreciate your post and for sharing your potential fix. You can likely prevent this issue by manually disabling the POS method, but rest assured, we will consider your problem and potential solution for our upcoming release!

Frank-Magmodules commented 1 year ago

Hello @riccardofinkers, could you please provide details about the exception that's being thrown? Specifically, we need the class name of the exception and its associated message. We are currently unable to replicate this issue, and having this information could help us identify the root cause.

Frank-Magmodules commented 1 year ago

Hello @riccardofinkers, we were unable to replicate this specific problem. Could you please verify if you still encounter this issue when using our latest release?

riccardofinkers commented 1 year ago

Hello @riccardofinkers, we were unable to replicate this specific problem. Could you please verify if you still encounter this issue when using our latest release?

Sorry for the late reply. I will test the newest version that came out 3 hours ago (2.31.0) because in 2.30.1 it was still present

Frank-Magmodules commented 1 year ago

Hello @riccardofinkers, have you had the opportunity to verify whether the issue persists in the latest release?

Frank-Magmodules commented 12 months ago

Hello @riccardofinkers, as I haven't received a response regarding this matter, I believe it can be closed. If you encounter the issue again, please don't hesitate to reopen it or create a new one.

riccardofinkers commented 12 months ago

Sorry for the late response.

I've updated another shop to 2.31.0 and also in this shop we can't add products in the admin on a manual order .. image

image

So the bug is still not fixed in 2.31.0

When I change line 59 of vendor/mollie/magento2/Block/Form/Pointofsale.php: From: } catch (ApiException $exception) { To: } catch (\Exception $exception) {

As you can see I can add the products again

image

Frank-Magmodules commented 12 months ago

Hello @riccardofinkers, could you please provide details about the exception that’s being thrown? Specifically, we need the class name of the exception and its associated message.

We are currently unable to replicate this issue, and having this information could help us identify the root cause. If you need help with this you can always contact us directly so we can help you out!

Frank-Magmodules commented 11 months ago

Hello @riccardofinkers,

It appears that we have not received any further information on this ticket. Despite launching a new release of the plugin, we were unable to address your issue, as we still cannot replicate it without additional information. Could you kindly confirm if this ticket is still valid, and if it is, please reach out to us with more technical details so that we can collaborate on resolving this matter?

Frank-Magmodules commented 11 months ago

Hi There @riccardofinkers , Because of inactivity, I am closing this matter for the time being. If you have any further questions or concerns regarding this issue, please don't hesitate to reopen this ticket or reach out to us directly.