I've just installed Magento but when I go to /sales (I'm french so I think it's the right path) I have an error:

Payment model name is not provided in config

How do I fix that?



In magento app/etc/config.php

edit Amazon_Payment = 1

and run

php bin/magento cache:flush  
php bin/magento setup:di:compile
| improve this answer | |

In my case, it was because I'm using Magento 2.2.4 and I disabled the Amazon Payment. If you did some order using the payment method you need to keep the module, or changing the orders that use this payment method directly on the database, using the table to doesn't show a payment method that is not enabled anymore. You can test to use:


update `sales_order_grid` set payment_method='checkmo';


n98-magerun2.phar module:enable --all
| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.