HomeНаука и техникаRelated VideosMore From: Fireship

Stripe Checkout Payments with Angular and Firebase - Part 1

196 ratings | 25682 views
This is a multipart series about building a payment system with Angular4 and Firebase. You can check out the Part 1 Full Lesson at https://angularfirebase.com/lessons/collect-payments-with-angular-stripe-checkout-and-firebase/ I start by talking about the payment process with Stripe. Then show you how to code it step-by-step with Stripe Checkout. Also, make sure to get an API key at https://stripe.com
Html code for embedding videos on your blog
Text Comments (23)
anton franzen (4 days ago)
How to do this with vue?
ARTHI MURUGANANDHAM (8 days ago)
can i able to integrate in ionic4
Ammar Hussain (4 months ago)
For typings.d.ts. Create a file named typings.d.ts in src folder. Then goto tsconfig.json and add "typeRoots": [ "node_modules/@types", "../src/typings.d.ts" ]
Patricio Vargas (5 months ago)
Where's the typings.d.ts file?
Huzefa Tunkiwala (6 months ago)
thanks lot , please help us 2checkout also
Taha BOUHALI (7 months ago)
Someone knows where can I find typings.d.ts please ?
Matt McCullough (1 month ago)
Taha BOUHALI I ended up just manually creating the file at src/typings.d.ts
John Anderson (11 months ago)
Anyone know why I am getting "Cannot find name 'StripeCheckout'" ... it is defined in my typings.d.ts
최홍석 (11 months ago)
so if I implement this, can I get away with the commission due to inapp purchase?
Joris Cornelis (1 year ago)
Thanks man, great job!
Peter (1 year ago)
this channel provides perhaps some of the very best content on youtube
James Knippel (1 year ago)
Hey! I'm not seeing the charged field in my firebase DB when I call the function to process payment. Has something changed? I've even copy pasted the code from your site and completed up until the end of part 2!
Fireship (1 year ago)
Hi James. Are you getting errors? Consider joining our slack team, much easier to help there. Here's the invite: https://join.slack.com/t/angularfirebase/shared_invite/enQtMjU2OTU5OTMyODM3LWU4YTZiMGFhZjJhYmEwYzI1MWFmYTgyMWRmOTI5NWZjYWE3NTMwZjFmNWMwZGI1MmMzODQ3OTFlZjFkMjc5N2Y
shivam singh (1 year ago)
firebase sample on firebase stripe is on vuejs lol :o , love vue :P
guojin dong (1 year ago)
I only got amount and token data but, no charge data.
Cepheaus Chee (1 year ago)
me too! have you found a fix around this?
Minhal Khan (1 year ago)
Could you do this with an IOS app? If so, please make a tutorial! :)
Ozzi Buy (1 year ago)
Hi, Thank you for the upload. i have followed your tutorial and getting this > ERROR Error: Uncaught (in promise): Error: No provider for PaymentService! Error: No provider for PaymentService!, i have double checked the code and everything seems to be right. wondering what went wrong
Fireship (1 year ago)
It sounds like you need to add the PaymentsModule to the imports section of the AppModule (or whatever Module you want to use payments). Here's an invite to our slack team if you want to talk Angular https://join.slack.com/angularfirebase/shared_invite/MjA2NTgxMTI0MTk2LTE0OTg4NTQ4MDAtMjhhZDIzMjc0Mg
Bellia Habib (1 year ago)
thank you , please there is any way for angular4 seo like angular universal
Fireship (1 year ago)
I will do a SEO video in the future. Not sure when, but it will happen. Thanks for the suggestion.
Chris Bishop (1 year ago)
I have been looking for a tutorial on this for a while, thank you! One question to follow up though, is it possible to have a product on firebase showing inventory amount, then after a successful credit card transaction with stripe decrement the amount of inventory? I know this is probably possible but not sure what best practices might be considering this would mean you likely give a user write permissions on an object.
Fireship (1 year ago)
Yes, it is possible. You can update the inventory in a cloud function with the admin database, so the user will never have write permission to an item. (stay tuned for a Stripe/Angular video part 2 releasing today).

Would you like to comment?

Join YouTube for a free account, or sign in if you are already a member.