Re: Losing cust checkout data on error.

Posts: 3
Joined: 04/11/2008

I've updated to the latest version and I've narrowed down our issue to a contributed module. The module is uc_nodetype, referenced here: http://www.ubercart.org/forum/development/2121/uc_nodetype_module_purcha...

When credit card info on the checkout page fails validation the data contained in uc_nodetype's section of the form is lost. I've been looking through diffs of the uc_quote code to see what was done there to allow it to maintain it's state after a failed validation. I'm unfamiliar with the module so I'm a bit unsure of which code is core to storing that state.

I was hoping someone could point me towards a good starting point. Is it as simple as storing the form values in the sesssion during validation and retrieving them in form_alter()? Or, are there other gotchas i should be aware of?

Thanks for taking the time. Smiling