adamthedeveloper/wepay-rails — Issue #7: Invalid Active Record Attribute: WepayCheckoutRecord.access_token
Author: ustorf
Created: 2012-01-06 01:14:42+00:00
State: open

Hey Adam,

Just started messing around with the gem today and got pretty far: thanks for the good work.

Had one problem though: I called init_checkout_and_send_user_to_wepay and the response came back fine, however, I got an AR error when the WepayCheckoutRecord was being created saying that there is no such attribute as access_token. If I remove that assignment (by remming out line 49 in lib/helpers/controller_helpers.rb) checkout seems to work and a valid WepayCheckoutRecord is created.

Am I doing something wrong?

Hope all is well,
Bernd