Showing /Users/noel/.rvm/gems/ruby-1.9.3-p327/bundler/gems/Porpoise-6c47be14ac12/app/views/actions/_donation.html.erb where line #29 raised:
uninitialized constant ActionView::CompiledTemplates::Money
Extracted source (around line #29):
26:
27: <% content_module.options.suggested_amounts.attributes.each do |currency_code, amounts| %>
28: <% default_amount = content_module.options.default_amount.attributes[currency_code] %>
29: <% currency = Money::Currency.new(currency_code) %>
30: <div class="suggested_amounts_wrapper amounts_for_currency_<%= currency_code %>">
31: <% amounts.split(",").each do |amount| %>
32: <span class="suggested_amount">
Trace of template inclusion: /Users/noel/.rvm/gems/ruby-1.9.3-p327/bundler/gems/Porpoise-6c47be14ac12/app/views/actions/show.html.erb
Rails.root: /Users/noel/dev/purpose/test_movement
Parameters:
{"locale"=>"en", "id"=>"recurly-test-module"}
Headers:
None
- How do I setup a Donation Module correctly to avoid this exception?
gem 'money'
- How do I configure my Recurly account? I can't see any options on the page in Platform or relevant environment variables on the wiki
- As above for Paypal?
501C3_RECURLY_ACCOUNT
501C3_RECURLY_KEY
501C4_RECURLY_ACCOUNT
501C4_RECURLY_KEY
PAYPAL_501C3_API_LOGIN
PAYPAL_501C3_API_PASSWORD
PAYPAL_501C3_API_SIGNATURE
PAYPAL_501C4_API_LOGIN
PAYPAL_501C4_API_PASSWORD
PAYPAL_501C4_API_SIGNATURE
- Am I even going about things the right way here?