5

So im at the part where you sign in your Stripe account and it redirects you to my website once done.

I dont know what to do next and the documentation is difficult to comprehend because i dont have any expierence in node.js

I just need some guidance in what to do.

user3670235
  • 3,125
  • 3
  • 13
  • 17
  • The next part is to use the `authorization_code`: https://stripe.com/docs/connect/oauth#token-request – koopajah Feb 23 '15 at 14:14

2 Answers2

2
  1. After Clicking on 'Authorize' button, at your redirected URI it will give you Authorization code.
  2. After getting Authorization code you should make post request to get details of connected user account.

It will give you json like this

{
   "token_type": "bearer",
   "stripe_publishable_key": PUBLISHABLE_KEY,
   "scope": "read_write",
   "livemode": false,
   "stripe_user_id": USER_ID,
   "refresh_token": REFRESH_TOKEN,
   "access_token": ACCESS_TOKEN
}
  1. Now by using USER_ID and ACCESS_TOKEN and REFRESH_TOKEN, you can make charges on connected user account.
Mayank Patel
  • 3,868
  • 10
  • 36
  • 59
Akshay Phulare
  • 1,359
  • 2
  • 10
  • 15
0

1 Use https://github.com/gtramontina/stripe-angular on Client

2.Use https://github.com/stripe/stripe-node on server

Cuong Pham
  • 106
  • 4