I used signals to add some stuff to the payment form a while back. I added fields using the form pre_init signal. Then, I added some more code that listened to the form's post_save signal. I added my code to save the custom fields into the db there.
Alex On Mon, May 10, 2010 at 9:09 AM, Alvaro Gomez <[email protected]> wrote: > Hi > > I was making progress in that direction but my question is, how can I store > in the database the information retrieved in the updated form?. Should I > create a new object for that? > > > Regards > > 2010/5/10 Alex Robbins <[email protected]> >> >> If you are looking to get some extra information during checkout, you >> can probably use signals (without changing the satchmo source). >> >> Check out this example as a starting point: >> >> http://www.satchmoproject.com/docs/dev/signals.html#ensuring-acceptance-of-terms-during-checkout >> >> Hope that helps, >> Alex >> -- >> Alex Robbins >> 5Q Communications, Inc. >> http://www.5Qcommunications.com/ >> [email protected] >> 800-747-4214 ext 913 (p) >> http://www.ask5q.com/twitter/ >> >> >> >> On Sat, May 8, 2010 at 2:39 PM, Czare1 <[email protected]> wrote: >> > I have similar problem and I'm not sure how to handle it. Can you >> > explain me your idea? I need to store a little more information about >> > each client, not necessarily connected with payment? Is it possible, >> > or do I need to change the source code of satchmo? >> > >> > On 7 Maj, 10:12, Alvaro <[email protected]> wrote: >> >> Let me rescue this topic. >> >> >> >> I'm planning to use several Payment Methods (PayPal, Credit Card, >> >> COD,...) but i think it would be nice to store the ID# somewhere in >> >> the contact information object. I'm checking right now how to do it in >> >> a similar way as phone numbers are managed. >> >> >> >> Regards >> >> >> >> On 29 mar, 01:49, Chris Moffitt <[email protected]> wrote: >> >> >> >> >> >> >> >> >> >> >> >> > What payment processor are you planning on using? You may just want >> >> > to >> >> > modify an existing one to add the field for capturing the National ID >> >> > #. >> >> >> >> > -Chris >> >> >> >> > On Sun, Mar 28, 2010 at 6:33 PM, Alvaro <[email protected]> wrote: >> >> > > I need to add and extra field to the billing information to allow >> >> > > customers enter their National ID Number (mandatory in my country). >> >> >> >> > > I don't know wehre to start, maybe usign signals or should I >> >> > > directly >> >> > > extend the orders data model? >> >> > > Probably I'll need to add this field to the contact information >> >> > > too. >> >> >> >> > > -- >> >> > > You received this message because you are subscribed to the Google >> >> > > Groups >> >> > > "Satchmo users" group. >> >> > > To post to this group, send email to >> >> > > [email protected]. >> >> > > To unsubscribe from this group, send email to >> >> > > >> >> > > [email protected]<satchmo-users%2bunsubscr...@goog >> >> > > legroups.com> >> >> > > . >> >> > > For more options, visit this group at >> >> > >http://groups.google.com/group/satchmo-users?hl=en. >> >> >> >> -- >> >> You received this message because you are subscribed to the Google >> >> Groups "Satchmo users" group. >> >> To post to this group, send email to [email protected]. >> >> To unsubscribe from this group, send email to >> >> [email protected]. >> >> For more options, visit this group >> >> athttp://groups.google.com/group/satchmo-users?hl=en. >> > >> > -- >> > You received this message because you are subscribed to the Google >> > Groups "Satchmo users" group. >> > To post to this group, send email to [email protected]. >> > To unsubscribe from this group, send email to >> > [email protected]. >> > For more options, visit this group at >> > http://groups.google.com/group/satchmo-users?hl=en. >> > >> > >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Satchmo users" group. >> To post to this group, send email to [email protected]. >> To unsubscribe from this group, send email to >> [email protected]. >> For more options, visit this group at >> http://groups.google.com/group/satchmo-users?hl=en. >> > > > > -- > Alvaro > www.dorsalcero.net > > -- > You received this message because you are subscribed to the Google Groups > "Satchmo users" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/satchmo-users?hl=en. > -- You received this message because you are subscribed to the Google Groups "Satchmo users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/satchmo-users?hl=en.
