Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integrate Stripe into project #25

Open
jessicasalmon opened this issue May 4, 2017 · 0 comments
Open

Integrate Stripe into project #25

jessicasalmon opened this issue May 4, 2017 · 0 comments

Comments

@jessicasalmon
Copy link
Member

jessicasalmon commented May 4, 2017

By EOD, we want to have a payments form integrated into our app

  • create payments-processing route to serve form on
  • set up handlebars views
  • set up local environment to run on HTTPS (stripe). Calls to Stripe API made over plain HTTP will fail. Heroku runs on https by default, so we only need to do this on our local environment (we expect issues with Travis setup after HTTPS implementation)
  • Add code for form (using Stripe Elements)to a payments-processing view
  • Make a call to Stripe API which generates a token when a user inputs their card details for the first time
  • Store this token in our database.
    • set up a basic database to store this info in
  • use the token to make a charge to the test card

https://stripe.com/docs/charges
https://stripe.com/docs/elements/reference
https://stripe.com/docs/quickstart

unique identifier = customer.id (format: cus_Aat5sroWwNme5E)

joeylouise added a commit that referenced this issue May 4, 2017
joeylouise added a commit that referenced this issue May 4, 2017
joeylouise added a commit that referenced this issue May 4, 2017
Add payment-processor hbs file
Add content to default.hbs file
Register inert and vision in server.js
Relates #27 #25 #23
@joeylouise joeylouise mentioned this issue May 4, 2017
joeylouise added a commit that referenced this issue May 4, 2017
jessicasalmon pushed a commit that referenced this issue May 4, 2017
jessicasalmon pushed a commit that referenced this issue May 4, 2017
jessicasalmon pushed a commit that referenced this issue May 4, 2017
joeylouise added a commit that referenced this issue May 5, 2017
@joeylouise joeylouise mentioned this issue May 5, 2017
joeylouise added a commit that referenced this issue May 10, 2017
joeylouise added a commit that referenced this issue May 10, 2017
joeylouise added a commit that referenced this issue May 10, 2017
joeylouise added a commit that referenced this issue May 10, 2017
joeylouise added a commit that referenced this issue May 10, 2017
joeylouise added a commit that referenced this issue May 10, 2017
@joeylouise joeylouise mentioned this issue May 10, 2017
joeylouise added a commit that referenced this issue May 10, 2017
joeylouise added a commit that referenced this issue May 11, 2017
…ve been replaced by createNewCustomer.js and chargeRepeatCustomer.js

Relates #25 #37 #60
joeylouise added a commit that referenced this issue May 11, 2017
So that the amount chosen by the user is the amount they are charged
Relates #25 #68 #85
joeylouise added a commit that referenced this issue May 11, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant