mollie / magento2

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

[ISSUE] Creating a payment link without selected methods triggers an error. #725

Closed qsolutions-pl closed 5 months ago

qsolutions-pl commented 7 months ago

To Reproduce Steps to reproduce the behavior:

  1. Go to 'Admin Panel'
  2. Click on 'Create Order'
  3. Fill some client data / use guest data
  4. Add some products
  5. Fill Address Data
  6. Use Mollie: Payment Link as a payment option:
  7. Do not select ANY options: image

Expected behavior Order id created

Actual behavior Fatal error is thrown

Screenshots

Additional context

Frank-Magmodules commented 7 months ago

HI There @qsolutions-pl ,

Thank you for raising this issue. It appears to be a duplicate of an earlier ticket, so let me share the response with you:

We investigated the error you're experiencing and found that it occurs when no payment methods are selected in the multiple-select field designed to limit method options. To temporarily resolve the issue, please select some payment methods to proceed or apply this patch file. Surely, we will include this fix in our upcoming release!

I will keep the issue open until we've implemented the fix in the upcoming release. Thank you for your patience on that!

qsolutions-pl commented 7 months ago

This is causing problem in all our projects, can't this just be merged as a hotfix ?

Frank-Magmodules commented 5 months ago

Appreciate your patience, @qsolutions-pl! Exciting news – we've just rolled out version 2.33.0, including the necessary fix. Additionally, we've refactored the functionality of Payment links; details can be found in this comment. Thanks once more; closing this issue now.