Page 1 of 1

Order Confirmation before Payment

Posted: Thu Sep 07, 2023 2:14 pm
by Dtours
Why does OC send out an order confirmation email before you enter the payment information?

Re: Order Confirmation before Payment

Posted: Thu Sep 07, 2023 5:52 pm
by kestas
Need more info.
OC version?
Theme?
Maybe some modules is installed like "one page checkout"?

Re: Order Confirmation before Payment

Posted: Thu Sep 07, 2023 6:10 pm
by JNeuhoff
Dtours wrote:
Thu Sep 07, 2023 2:14 pm
Why does OC send out an order confirmation email before you enter the payment information?
It doesn't. Please provide more details, see forum rules. Most likely you have some extensions causing this issue.

Re: Order Confirmation before Payment

Posted: Thu Sep 07, 2023 10:58 pm
by Dtours
Sorry, my bad. I am using OC 3.0.3.8 with default theme and Bambora payment extension.

Re: Order Confirmation before Payment

Posted: Thu Sep 07, 2023 11:32 pm
by JNeuhoff
Contact the author of the Bambora payment extension.

Re: Order Confirmation before Payment

Posted: Thu Sep 07, 2023 11:59 pm
by Dtours
JNeuhoff wrote:
Thu Sep 07, 2023 11:32 pm
Contact the author of the Bambora payment extension.
So are you saying that this is not normal and the order confirmation email should not be sent until after the credit card screen has been filled out and payment has been processed? I thought that is how my processing worked with PayPal but not sure.

Re: Order Confirmation before Payment

Posted: Wed Sep 20, 2023 9:25 pm
by Johnathan
That is correct -- the order e-mail is not sent until the order is completed after payment. However, it occurs when the addOrderHistory() function is called, so it's possible your Bambora extension is calling that function too soon -- if it is, then that would trigger the order e-mail to get sent out before payment happened.

Contact the author of the Bambora extension and they should be able to fix it. They'd just need to replace their call to addOrderHistory() with a direct database query to add whatever order status / history note they are adding before payment is completed.