-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathRequirements.txt
29 lines (25 loc) · 1.39 KB
/
Requirements.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
Memberships:
- User should see link for Basic plan on home page -done-
- User should see link for Pro plan on home page -done-
- Basic plan link should point to the regular Devise sign up form -done-
- Pro plan link should point to a custom sign up form -done-
------------------
Stripe Integration:
- Users should have a stripe customer token in the users table. -done-
- Javascript should prevent Pro form from submitting, after user fills
it out, and should send card info to Stripe. Stripe will return with
a card token. -done-
- Javascript should send user fields and card token to our rails app.
Rails app should validate the user fields. Rails app will note whether
plan 1 or plan 2. -done-
- Once validated, Rails should send user info (email, plan id) and
card token to Stripe server and Stripe will create a subscription and
send back customer token. Rails should save customer token and user
information to our database. -done-
--------------
User Profiles:
- Each user should have one profile. -done-
- User should see a link to new profile form upon signing up. -done-
- User should be able to create and view their user profile. -done-
- User profile should have a profile picture. -done-
- User should be able to view all user profiles. -done-