Closed (fixed)
Project:
Ubercart Checkout.fi Payment Method
Version:
6.x-1.1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
7 Dec 2011 at 20:03 UTC
Updated:
27 Dec 2012 at 12:42 UTC
Jump to comment: Most recent file
Comments
Comment #1
Neo Mithrandil commentedThis bug could really use some attention.
I'm also seeing race conditions when users click several times on "Return to seller's service" in the netbank, causing some orders to be left "in checkout" even though payment was received. The frequency of these failures goes down more than ten-fold if I remove the "uc_order_save($order)" call as described above.
Comment #2
operinko commentedTested the fix, seems to work as intended.
From what I could gather, the uc_order_comment_save manages to trigger the "New order" email.
Comment #3
demoshane commentedCan confirm this, clients get double emails after completing order.
Comment #4
operinko commentedShould be fixed in commit 547b51b on 6.x-1.x.
Comment #5
demoshane commentedProblem arises in D7 version aswell.
Comment #6
operinko commentedFixed for 7.x-1.x in commit 69c48f2.
Comment #7
operinko commentedComment #8
Neo Mithrandil commentedThanks for the fix!
As mentioned in comment #1 some race conditions in payments may still exist after this, but I'll file a new bug if I can collect enough data about them.
Comment #9
Neo Mithrandil commentedClosing this bug.