You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Active Merchant
Is there a way to set up an Credit Card Active Record object that
inherits all of the Active Merchant Credit Card methods? For example,
it would be great if I could just validate my credit card number on
the model without instantiating an Active Merchant clone of my Active
Record object. Does that make sense?
Thanks,
Tom
Cody Fauser
unread,
Jun 22, 2009, 3:47:56 PM6/22/09
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to activem...@googlegroups.com
You can get a lot of functionality from:
class CreditCard < ActiveRecord::Base
include ActiveMerchant::Billing::CreditCardMethods
end
However, I think even more functionality should be available.