Jump to content

order still emailed when payment fails


Guest

Recommended Posts

Hey,

One of my clients is using authorize AIM gateway and noticed even if they payment fails cubecart generates and emails an order to the admin. Why is this? and is there a fix to this bug? It should only be generating an invoice on successful orders so the admin doesnt get confused.

Link to comment
Share on other sites

Guest choccroc

has it been covered on how to stop that? i love having it tell me about pending orders that either they have checked all the way out or had a cc problem, but my client doesnt want to recieve a new order email when its not yet a 100% confirmed in the bank order.

Any way to exclude those? like check the status and if its pending then dont send? where would i change this? anyone? heheh

Link to comment
Share on other sites

You could try:

In "includes/content/gateway.inc.php", in an un-mod'd file at about line 217 starts the "Notify Shop Owner of a New Order".

At about line 281 is the send command. Comment out that line.

Now, I don't know if the htmlMimeMail class, once an instance has been instantiated, requires either a send or a cancel, or else it may get stuck in limbo. I'll leave examining the class up to you.

In the file "includes/orderSuccess.inc.php", is where the thankyou e-mail and the digital link info email gets sent to the customer. In this file you might think about adding another section to send an e-mail to the store owner because I think in "gateway" is the only time the owner gets an e-mail of a new order.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...