When the purchase order is finished the payment module must redirect to the page to process the payment but generates this error
Fatal error: Call to a member function getMethodInstance() on null in /var/www/html/magento/medishop/vendor/magento/module-payment/Observer/SalesOrderBeforeSaveObserver.php on line 24
I guess magento doesn't know which payment you choose. Do you use a custom module ?
Did you check in the order if all data (payment method) was set ?
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.