Order confirmation email sent even if order cancelled

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
14 years ago
I've just setup PayPal Standard but when I place an order and am redirected to PayPal, if I cancel the order by clicking on the 'Cancel and return to xxx web site' the system still sends a 'thank you for your order' email even though I haven't paid for for the goods.
14 years ago
I'm having the same problem too.  I'll look into it and if i find a solution, I'll post it here.
14 years ago
I am also having the same problem, please someone help us to do some modification.
14 years ago
This is not "Order confirmation" email. This is "Order placed" email. "Order completed" is sent only when order is completed (e.g. paid and shipped)
13 years ago
I think we have a problem here.

We could customise the Order Received email that will be send to the customer so they know orders are not processed until payment is made. Fine.

But the problem is, there is no way for the customers to made payment later if they somehow missed paying the first time. So now the customer know the order is pending payment, but how can the customer pay up?

It seems like they cannot pay up and they must re-create a new order. Am I missing something here?
12 years ago
Hello,

I've just run into this issue too. Has anyone come up with a good solution?

I'm about to get in and change the program but before I do I'm checking to see if there's already a solution.

The problem is this:

In my web site the only available way to pay is by credit card using DibsFlexWin. The way nopCommerce 1.90 works now the order is saved in the database and an email is sent out BEFORE the Dibs transaction occurs. If for some reason the transaction isn't completed (either the customer cancels or the card is rejected) then that's it. All I have is an order, status pending, on the books and the customer has an email saying thank you for your order. At that point I can cancel the order, and the customer will receive a cancellation email, or I can contact the customer to see if he wants to continue. If he wants to continue I still have to cancel the order and he goes through the ordering process again. There is no way for him to jump back in where he left off.

This is not acceptable. I would like to hold off sending any emails until the confirmation comes back from Dibs saying Confirmed or Rejected, at which point I can send an email appropriate to one of those two responses. I don't know what it will take to change nopCommerce to do that but...

If anyone has a solution, please let me know.

Thanks!

Tom
12 years ago
Right, order should be placed before its paid. One of the main issues here was impossibility of finishing a payment later. But this issue was resolved in nopCommerce 2.20. Customer is able to complete a payment on order details page, so there's no need to place a new order.
12 years ago
Hello and thanks for the prompt reply.

Yes, what you say is true but I think it misses the point, which I didn't make clear. That is that the order is recorded, pending, and a thank you sent via email *before* it has been established that an order is placed. If for instance the customer cancels the process while in the dibs page, or if the card is declined. At this point the process is done, the customer can give up or can initiate a new order. BUT that isn't the state that nopCommerce has left things. It has left me with a pending order, and I don't know why. The customer is left with a "thank you for your order" email and is probably wondering what that is all about (he didn't order anything).

My contention is that the initial email should be postponed until after the dibs transaction is complete, either consummated or canceled. At that point the email can be sent (it will be immediate feedback) acknowledging whether the order is actually placed or has been cancelled.

Do you think it will be difficult for me (a not so experienced programmer) to fix this in code? Unfortunately using version 2.2 isn't an option for me so I won't see if the issue is resolved there.

thanks again,

Tom
12 years ago
It's by design. So saving an order only when after it's paid is quite hard task.

Regarding emails. See my post above. This is not "Order confirmation" email. This is "Order placed" email. "Order completed" is sent only when order is completed (e.g. paid and shipped). And can simply disable sending "Order placed" email in admin area. In this case customers will received only "Order confirmation" email (when it's completed)
12 years ago
So by design nopCommerce issues an "Order placed" email before it knows that an order has been placed, and there's a not-so-small chance that it won't be placed.

I need to fix that problem. I'll see if I can change the program flow so that nopCommerce first checks the response from dibs before issuing the email and recording the order.

There need not be any waiting time, I should know as soon as the customer exits the dibs dialog box *IF* dibs issues a response to me. It's hard to imagine dibs doesn't respond with something.

wish me luck! Tom
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.