Closed (works as designed)
Project:
Webform Pay
Version:
6.x-1.0-alpha3
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
1 Jan 2011 at 16:51 UTC
Updated:
30 Sep 2011 at 04:54 UTC
Jump to comment: Most recent file
Comments
Comment #1
sgabe commentedSee the attached patch.
Comment #2
quicksketchI don't think our current logic is incorrect (or at least that there is a resulting problem). Making your suggested change breaks the validation, which then causes your patch at #1012080: Validate transaction amount to be necessary. Without making any changes, everything works just fine.
We don't need to check which payment method is "selected" on our form because the payment method is hard-coded into the Webform component, the user doesn't have a choice which payment method to use. Ultimately that may change if #1004572: Fire only on defined payment method is implemented, but for now this patch doesn't seem to have an upside and doesn't seem necessary.