Closed (fixed)
Project:
Webform Pay
Version:
6.x-1.0-alpha3
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
18 Jul 2011 at 22:07 UTC
Updated:
14 Oct 2011 at 04:41 UTC
Jump to comment: Most recent file
Comments
Comment #1
deviantintegral commentedHere's a patch that fixes _webform_pay_component_value() to work with the new array structure, adds phpdoc for the function, and removes the $node parameter.
Comment #2
quicksketchThanks, needed a reroll but clearly this is big, big problem for Webform Pay if it doesn't work with the current releases of Webform (3.12 or higher). I've committed this patch to the 6.x-1.x branch and the new 7.x-1.x branch.
Comment #3
quicksketchHmm, looks like this bug only affect multi-page webforms. That would explain why other users successfully had been using Webform Pay without further reports.
Worse yet, this patch actually *breaks* single-page forms, as the form hasn't yet been flatten at the validate step (unless it's from a previous page). Moving back to needs work.
Comment #4
quicksketchI've committed this correction which makes Webform Pay act in the "old" way for validation but the new, flat structure way for multi-page validation and submission code. This should effectively make Webform Pay work with both single and multiple page forms.