Hi - I'm just starting to use Ubercart, and am working on a Drupal 5.x site so I have UC 5.x-1.7 installed. In addition, I'm using UC_Donation and UC_PayflowPro (for fulfillment).
First question: Is there a way to automatically add items to the cart, so that the first page a user sees can be the checkout page? The organization would like a one-page donation form, similar to the one found here: https://secure.groundspring.org/dn/index.php?aid=2595
What they want is to be able to enter the donation amount right on that page, enter text for an attribute right there (for example, if the donation is in memory of someone - I may be able to use Order Comments for that), ideally choose recurring or not right there, and select if the contributor wants to sign up for their mailing list.
I have UC_Donation, which works for variable prices (would like to use the new UC_variable_price, but it's only for D6), but I need to have the product already in the cart in order to show the Checkout page. I can't make the "Donate" link simply a form and include the product at $0 value, because the product doesn't seem to exist at $0 value.
I want to be able to display the Checkout page because I'm hoping that with hook_form_alter I'll be able to add a form field to create a "fake" version of the donation product so I'll be able to edit the price right on the Checkout page without having a separate Shopping Cart page. Other suggestions would be welcome for this as well.
Finally, I'm trying to figure out how to add a "sign up for our mailing list" checkbox to the Checkout page. Presumably using hook_form_alter would do it, but I was hoping someone else had already done this (don't see anything out there, since this is different from linking to the SignUp module for event registration). Once I have that checkbox, I'm assuming I'll be able to grab the information and do something with it using Workflow-NG. Any suggestions for this would also be greatly appreciated.
If I'm going about this all the wrong way, and anyone else can point me down a different path, that would be fine with me. A webform was where this process started out, but we had to change things around once the organization wanted payment processing all on their own site, and I wanted to take advantage of all the fine work folks have already been doing with API integration with payment processors.
Thank you!
-Matthew O'Malley
