Place order issue in payment information in magento 2
Code was shared in github : https://github.com/sd2894/OrderAttribute
Magento Stack Exchange is a question and answer site for users of the Magento e-Commerce platform. It only takes a minute to sign up.Sign up to join this community
It seems like you should have done some custom code on order creation event on your store. Or there might be any third party extension installed doing the same on your store.
This additional code is somewhere throwing an error that you can find in error logs under "/var/log" directory.
You can also turn on the error log by removing the comment from the line "ini_set('display_errors', 1);" in below located file:
This will show you the exact error in specific file along with line no. These steps should help you to resolve your issue.
You are feel free to ask any further queries.
Happy to help.
try to check or debug in a custom module or third party module any set event after place order like
<event name="checkout_submit_all_after"> <observer name="devi_checkout_submit_all_after" instance="Vendor\Module\Observer\NewOrder"/> </event>
if set then disable event and hit below commands and then check order is placed or not
sudo rm -rf var/* generated/* pub/static/frontend/* sudo php bin/magento setup:upgrade sudo php bin/magento setup:di:compile sudo php bin/magento setup:static-content:deploy -f sudo php bin/magento ca:cl sudo php bin/magento ca:fl sudo chmod -R 777 /var/www/html/(project name)/
so you could find what is the exact issue.