Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
Vitaly
on Oct 24, 2011
|
parent
|
context
|
favorite
| on:
Rails is not your application
If you have customer and credit card model, I'd implement the checkout process inside Order and OrderItem model classes. It would probably use an AASM state machine to represent the progress through the purchase etc.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: