I would like to use a form to collect a billing address, pass this
address to a new form where I collect credit card info, and then pass
the whole thing to the credit card processor.  The only thing I want
to save to the database is a shipping address.  Is there a best
practice for doing this?  Below is pseudo-code for what I'm trying to
do:

def getAddress(request):
if get:
show form
if post:
validate form
save if shipping address
send to getCCInfo

def getCCInfo(request, billingAddress):
if get:
show form
if post:
validate form
send form results and billingAddress to cc processor
redirect to success/fail

Any help would be much appreciated.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to