cancel
Showing results for 
Search instead for 
Did you mean: 

order creating before payment method success in magento 2

order creating before payment method success in magento 2

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 ?

3 REPLIES 3

Re: order creating before payment method success in magento 2

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

Was my answer helpful? You can accept it as a solution.
200+ Premium Magento 2 Extensions Need help? Hire Magento Developer

Re: order creating before payment method success in magento 2

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".

Re: order creating before payment method success in magento 2

i tried the below extension . but still order is placeing from backend. can anyone help ?

https://magecomp.com/magento-2-order-confirmation-email.html