Displaying 2 results from an estimated 2 matches for "card_expires_on".
2010 Aug 13
2
Rails 3 / ActiveModel for Credit Card information?
...In addition I always end up storing the card
expiration date so that the date form helper works correctly.
With Active Model it seems logical to create a CreditCard class to
hold this data instead.
**1st issue.**
It seems there still isn''t support for handling the form date_select.
(the card_expires_on(*) parameters). Should this work? Perhaps I''m
just missing an ActiveModel module
**2nd issue.**
In a perfect world this CreditCard class would be on the same form as
an ActiveRecord Order class but I have not been able to get an
ActiveModel to work as a nested object on a form.
somet...
2009 Oct 07
1
output validations errors form causing type error?
...;, shipping_us: #<BigDecimal:105bfb840,''0.7E1'',9(18)>, currency:
"USD", status: nil, comments: nil, customer_ip: "127.0.0.1",
payment_method: "Credit Card", downloaded: nil, express_token: nil,
express_payer_id: nil, card_type: "visa", card_expires_on:
"2009-10-01">>
If anyone has any idea where I can start looking to debug this error,
I would appreciated it very much.
Thanks,
Sean