Hi guys,
am getting an issue that is when am selecting payment gateway after redirecting to payment page order is creating . how can i handle that situation .can anyone help me ?
Hello @bharath553
Its default Magento functionality as soon as you click on place order, it will make an entry of the order in database and order grid.
If you have issue of email or something, you might be looking for this solution.
https://magecomp.com/blog/send-order-confirmation-email-after-successful-payment-magento-2/
Here is the ready extension for the same fix
https://magecomp.com/magento-2-order-confirmation-email.html
It's default magento stardard that when you click on 'Place Order' button, it creates an order but not with success status. so you can find status like "pending" or "in progress".
If you want to change flow you can customise it.
you can store email by plugin or you can create order when customer returns to magento from payment gateway but that will need so much customisation.
If it helps, please give "Kudos" and "Accept Solution".
i tried the below extension . but still order is placeing from backend. can anyone help ?
https://magecomp.com/magento-2-order-confirmation-email.html