-
Notifications
You must be signed in to change notification settings - Fork 54
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
[CRITICAL] Checkout crashes with UnexpectedValueException #30
Comments
Hi Koen, thanks for the detailed report! The model is set by default value in etc/config.xml, so this should be available after installation. What where the exact steps you took, so I'm able te replicate this and get this fixed? Can you also supply the Magento version, extension version. There are no other Mollie extensions installed on this instance? |
There are no other mollie extensions installed and we are using the latest release (through composer). After that we just followed the default Magento flow to go to the checkout (add product to cart, go to checkout through minicart) and on the checkout page the exception is thrown. We assume this happens because no settings have been configured (we can't yet as we are waiting on the data from our client) because on another webshop we are using the same version with settings configured and everything is working there. |
Thanks for the info, one last question, what Magento version is the client running? |
We are running CE 2.1.7 |
I also have issues with Mollie and CE 2.1.7. In the admin all is functioning just fine. I frontend it is not loading. No errors or exceptions. Also no debug file is being created. |
Any errors on the selftest? |
Success: PHP version: 7.0.21. |
@koenner01 did some testing, but was not able to reproduce this. Think this is a caching issue, do you still have this error after flushing the cache? Magento 2.1.7 is also loading all the disabled payment methods. This issue of loading disabled payment methods is fixed in the 2.1-develop and 2.1.8-preview: magento/magento2@c41743d If you sill have this issue after flushing the cache, can you ping me some login details if possible, so we can investigate this issue? https://www.magmodules.eu/contact-us.html |
Closing this issue because it has been inactive for over a month. Please reopen if you still encounter this issue with the latest version 1.1.1. Thank you! |
If the module is installed and 'Enabled' is set to 'No', the checkout crashes with an UnexpectedValueException when there are no settings entered in the backend.
Stacktrace:
Please add checks to see if the module is actually enabled in the stores configuration, before applying Mollie logic to any page! This is a blocking issue.
The text was updated successfully, but these errors were encountered: