If you're upgrading from previous versions, you must add the following to
your app/views/layouts/application.html.erb
before the closing of the <head>
tag or your credit card form will no longer work:
<%= yield :koudoku %>
If you have a Haml layout file, it is:
= yield :koudoku
Adding support for non-monthly plans. The default is still monthly. To
accommodate this, a interval
attribute has been added to the Plan
class.
To upgrade earlier installations, you can run the following commands:
$ rails g migration add_interval_to_plan interval:string
$ rake db:migrate
You'll also need to make this attribute mass-assignable:
class Plan < ActiveRecord::Base
include Koudoku::Plan
attr_accessible :interval
end
Fixed updating credit card as default. There was issue Accounts that are Past due. CC, cannot be updated.
- User creates a CF account and makes a valid payment.
- After x months' user's CC goes out of date or is declined for another reason.
- User loses access to their funnel dashboard.
- When user logs back in, they are presented with a choice to choose a new plan.
- They enter new CC info and select a plan.