Closed (fixed)
Project:
Commerce Core
Version:
7.x-1.x-dev
Component:
Payment
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
24 Jan 2012 at 19:02 UTC
Updated:
13 Oct 2012 at 02:41 UTC
Jump to comment: Most recent file
Comments
Comment #1
rszrama commentedAre you sure the transaction is successful? Could it be reporting a false positive inside of Drupal Commerce?
Comment #2
dabblela commentedThanks for getting back on this. The transaction is successful and the card is charged. I believe the problem is that I have a one page checkout (no review) and clicking submit even if there are required fields missing or other form errors will still attempt a transaction. The form errors are reported to the user, but the transaction still goes through and the order balance is zeroed. Since the order balance is zero, subsequent transactions don't go through and the user can't complete checkout.
Comment #3
rszrama commentedSounds like that'd do it. The module doesn't do anything atm to accommodate such a scenario
Comment #4
dabblela commentedWould it break anything to add something like:
Comment #5
andyg5000Form errors on other elements (ie: billing information) do not prevent payment submission when payment form is on the same pane.
Comment #6
dabblela commentedThis looks great to me.
Comment #7
rszrama commentedYep, great patch. I added in a warning message so the customer knows that their payment will not be processed until all errors on the page have been addressed.
Commit: http://drupalcode.org/project/commerce.git/commitdiff/044ce3d