When I did this I used a checkout controller that uses an external order helper module... The order helper does all the checking and validation before my checkout controller does @order.save then if that works I do @order.process which then does all the "payment" stuff in the order model...
So the process class does the cc card and gateway setup then if that works and is valid it charges the card... --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---