mirror of
https://github.com/apigy/selfstarter.git
synced 2026-01-08 22:07:56 -05:00
documentation of the payment optoins component
This commit is contained in:
@@ -12,7 +12,7 @@ Selfstarter is a starting point. We made some specific choices with Selfstarter
|
|||||||
* We use Amazon Payments for payments. You can use [Stripe](https://stripe.com) or [WePay](https://www.wepay.com/). We used Kickstarter's awesome ```amazon_flex_pay``` gem.
|
* We use Amazon Payments for payments. You can use [Stripe](https://stripe.com) or [WePay](https://www.wepay.com/). We used Kickstarter's awesome ```amazon_flex_pay``` gem.
|
||||||
* We collect multi-use tokens from customers with Amazon Payments - this let's us collect payment information without charging the customer until we are ready to ship
|
* We collect multi-use tokens from customers with Amazon Payments - this let's us collect payment information without charging the customer until we are ready to ship
|
||||||
* Selfstarter doesn't come with any authentication, administration, mailers or analytics tools. We recommend adding a basic set of these so that you can message backers and manage orders.
|
* Selfstarter doesn't come with any authentication, administration, mailers or analytics tools. We recommend adding a basic set of these so that you can message backers and manage orders.
|
||||||
|
* There is a payment options component that allows you to define different packages or levels for people to puchase/support at. You can turn it on and off with a configuration setting.
|
||||||
## Getting Started
|
## Getting Started
|
||||||
*Note: This assumes you have Ruby 1.9.2 or later installed properly and have a basic working knowledge of how to use RubyGems*
|
*Note: This assumes you have Ruby 1.9.2 or later installed properly and have a basic working knowledge of how to use RubyGems*
|
||||||
|
|
||||||
@@ -32,6 +32,11 @@ Now let's create the database:
|
|||||||
rake db:migrate
|
rake db:migrate
|
||||||
```
|
```
|
||||||
|
|
||||||
|
If you're using the payment options component (use_payment_options = true in settings.yml) then need to seed some data for the options:
|
||||||
|
```bash
|
||||||
|
rake db:seed
|
||||||
|
```
|
||||||
|
|
||||||
Let's get it running:
|
Let's get it running:
|
||||||
```bash
|
```bash
|
||||||
rails s
|
rails s
|
||||||
|
|||||||
@@ -44,7 +44,7 @@ price: 19.95
|
|||||||
|
|
||||||
# if use_payment_options is set to true, then a set of radio buttons will be displayed with various payment options.
|
# if use_payment_options is set to true, then a set of radio buttons will be displayed with various payment options.
|
||||||
# There is a PaymentOption model for storing info about payment options. To set up your payment options you should
|
# There is a PaymentOption model for storing info about payment options. To set up your payment options you should
|
||||||
# put code in seeds.rb
|
# put code in seeds.rb, then run rake db:seed
|
||||||
use_payment_options: true
|
use_payment_options: true
|
||||||
|
|
||||||
payment_description: "You really should change this text because people will see it on Amazon's order page!!!!!"
|
payment_description: "You really should change this text because people will see it on Amazon's order page!!!!!"
|
||||||
@@ -95,4 +95,4 @@ google_id: "1234567890"
|
|||||||
# If you want to change the images for the key points (e.g. "Kickstarter is not a store")
|
# If you want to change the images for the key points (e.g. "Kickstarter is not a store")
|
||||||
# They're in app/assets/images/#{pointer_number}-background.png
|
# They're in app/assets/images/#{pointer_number}-background.png
|
||||||
# So, the first key point, it's at app/assets/images/1-background.png
|
# So, the first key point, it's at app/assets/images/1-background.png
|
||||||
# Alternatively, change it up in app/assets/stylesheets/homepage/key_points.css.scss
|
# Alternatively, change it up in app/assets/stylesheets/homepage/key_points.css.scss
|
||||||
|
|||||||
@@ -44,8 +44,8 @@ ActiveRecord::Schema.define(:version => 20130107010733) do
|
|||||||
t.string "shipping_desc"
|
t.string "shipping_desc"
|
||||||
t.string "delivery_desc"
|
t.string "delivery_desc"
|
||||||
t.integer "limit"
|
t.integer "limit"
|
||||||
t.datetime "created_at", :null => false
|
t.datetime "created_at", :null => false
|
||||||
t.datetime "updated_at", :null => false
|
t.datetime "updated_at", :null => false
|
||||||
end
|
end
|
||||||
|
|
||||||
create_table "users", :force => true do |t|
|
create_table "users", :force => true do |t|
|
||||||
|
|||||||
Reference in New Issue
Block a user