If you put Webform fields within a fieldset (something that Webform natively supports), those values don't get passed to Authorize.Net.

This is because $submitted_tree has multiple arrays within it when fieldsets are present, and it doesn't appear the module is designed to iterate through them.

Comments

obsidiandesign’s picture

Assigned: Unassigned » obsidiandesign

I'll work on a patch. The module was made somewhat specifically at first, and this wasn't a concern at the time. The module should iterate through the arrays and add whatever fields there are.

Thanks,
Bryan O'Shea
Obsidian Design

rhlowe’s picture

Subscribing because this is extra important to me!

kamkejj’s picture

I just ran into this same problem and finally remembered to check the issue queue and found the solution.

obsidiandesign’s picture

Status: Active » Needs review
StatusFileSize
new2.49 KB

I've created a patch that allows for 3-level nesting. I'm trying to figure out a proper recursive function to make this work with any depth fieldset, but have hit a wall so far. If anyone could lend a hand with that, I'll replace this code with the better function. In the meantime, I'd appreciate any help testing this patch to make sure it works properly. On my testing box, things work, but that's with just a basic test form.

Bryan O'Shea
Obsidian Design

obsidiandesign’s picture

Status: Needs review » Fixed

Committed the patch in #4; in the future we can explore a function to handle any depth of fieldset.

Bryan O'Shea
Obsidian Design

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.