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

The payments sent through this popup doesnot reflect in the Stripe account #6

Closed
Raman1313 opened this issue Jan 9, 2018 · 2 comments
Labels

Comments

@Raman1313
Copy link

Hi there,

I have inserted my publishable key in the code. When i fill the details and send the payment, it shows the green tick as if it has been paid successfully but it doesnot show up in my Stripe account.
Any help would be highly appreciable.

Thanks in advance.

@jofftiquez
Copy link
Member

jofftiquez commented Jan 10, 2018

Hi @Raman1313

I get that question a lot. Please be informed that Stripe's checkout is not responsible for actually storing the transaction or customer data in your stripe account. What it does is create a token from the user's card and credentials send it back to you in this function :

// the sample in the README.md
...
token: (token) => {
  // handle the token
} 
...

When you got the token back, you can now send it to your API to be used to store customers and create payments.

If you are using NodeJs here's the docs.

Just to wrap it up :

  1. User enters details in stripe checkout
  2. Checkout returns a token
  3. You send the token to your server
  4. Create customers and payments

@Raman1313
Copy link
Author

Thanks alot @jofftiquez .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants