Stripe Billing - Get Paid for your SaaS

Поделиться
HTML-код
  • Опубликовано: 29 сен 2024
  • Implement metered billing in Stripe in record time with callable Firebase cloud functions angularfirebas...
    Stripe Billing stripe.com/us/...
    Callable Functions firebase.googl...

Комментарии • 61

  • @Fireship
    @Fireship  6 лет назад +34

    I've been working with Stripe for many years and this is possibly the easiest, yet most powerful integration I've ever seen... Stripe Billing + Firebase OnCall Functions

    • @suhcars8395
      @suhcars8395 6 лет назад

      Do you build apps for people?

    • @dennisbrantley5108
      @dennisbrantley5108 3 года назад

      you prolly dont care but does anyone know a tool to log back into an instagram account??
      I was stupid lost my password. I would appreciate any help you can offer me!

    • @franciscosilva2135
      @franciscosilva2135 3 месяца назад

      If i wanted to use it with mongodb(mongoose) would it be às powerfull?

  • @reddyashok9
    @reddyashok9 6 лет назад +1

    Very informative thanks

  • @TheNerethim
    @TheNerethim 4 года назад +2

    At the end of a billing cycle, is the current usage reset to 0 on stripe even if my backend is set to a different value? How to make the usage persistant through different cycles?
    Thanks for the video, really helped :)

  • @carrillocarlosce
    @carrillocarlosce 6 лет назад +4

    Amazing thanks

    • @Fireship
      @Fireship  6 лет назад

      You bet, thanks Carlos

  • @RD-lf3pt
    @RD-lf3pt 4 года назад +2

    Any idea why this doesn't work?
    export const stripeSecret = functions.config().stripe.secret;
    // Export Stripe
    import * as Stripe from "stripe";
    export const stripe = new Stripe(stripeSecret);
    This expression is not constructable.
    Type 'typeof import("stripe")' has no construct signatures

    • @semkou
      @semkou 4 года назад

      Hi, did you found a solution?

  • @AndersonSilvaMMA
    @AndersonSilvaMMA 6 лет назад

    To be honest this is too advanced for me, but I hope I'll be able to learn in the near future

    • @derickjames4641
      @derickjames4641 3 года назад

      I advise you contact rubbtech on instagram he help got mine recovered..

  • @PBspartanPAGE
    @PBspartanPAGE 6 лет назад +2

    Europe friendly techs mb?

    • @Fireship
      @Fireship  6 лет назад

      Stripe is avail in EU stripe.com/global

    • @PBspartanPAGE
      @PBspartanPAGE 6 лет назад

      Angular Firebase Only for a few - sadly, for mine (poland), it's unavailable

    • @bassguitarmalta
      @bassguitarmalta 5 лет назад

      @@Fireship stripe is not available for 6he majority of Europe

    • @LarsRyeJeppesen
      @LarsRyeJeppesen 4 года назад

      @@Fireship Functions are still only available in region US1, sadly

  • @ClickTamil
    @ClickTamil 11 месяцев назад

    Worst company don't use this payment gateway your amount will lost forever and you will have no one to contact i lost my Rs 2,00,000/- in this gateway 😢 and support chat support is disabled since then

  • @denespapp1963
    @denespapp1963 6 лет назад +6

    excellent video, thanks! :) PS: what tool do you use to draw these beautiful diagrams at 0:12?

    • @AndersonSilvaMMA
      @AndersonSilvaMMA 6 лет назад +1

      Dénes Papp I'm also interested

    • @darinwolyniec
      @darinwolyniec 6 лет назад +1

      the diagram at 12 seconds is actually just stripes website for billing stripe.com/us/billing

  • @haifzhan
    @haifzhan 6 лет назад +5

    Perfect timing to watch this video, I need it in my project! Thanks!

    • @Fireship
      @Fireship  6 лет назад

      Awesome, let me know how your integration goes :)

  • @DevAcademyCom
    @DevAcademyCom 6 лет назад

    Join us Today Live on Angular Academy Show angular-academy.com/events/build-geolocation-with-rxjs-and-firebase/16-07-2018

  • @AndreKordasti
    @AndreKordasti 7 месяцев назад

    Great video! Followed through all the steps. Couldnt get it to work really. No firestore data but the webhook is successfully syncing with Firebase. Is there anyone who have done this without React? I am using HTML, CSS, Vanilla JS & Node.js.
    I am using the that Stripe themself creates for you in their product dashboard page.

  • @mateja176
    @mateja176 6 лет назад +3

    Get paid for your SaaS hahaha awesome title. Pay-as-you-go for the win!

    • @Fireship
      @Fireship  6 лет назад +1

      Basically it's how to "use Firebase to build Firebase's Pay-as-you-Go plan"

  • @upinthisjoynt
    @upinthisjoynt 4 года назад +1

    This is a great article. You wouldn't happen to have this same thing W/O Angular, would you?

  • @srikoala2946
    @srikoala2946 4 года назад +1

    Do I need firebase blaze plan for this?

  • @anoopisaac
    @anoopisaac 4 года назад +1

    Thanks, excellent one, really useful. By the way what was the tool you were using to design your project? that one that shown at the beginning?

  • @rydonahue1
    @rydonahue1 3 года назад

    How does the backend know from Stripe if the payment fails on recurring months? Do you have to manually check?

  • @basdfgwe
    @basdfgwe 6 лет назад +1

    How are you using Async await in cloud functions, and also is there stripe types available for typescript ?

    • @Fireship
      @Fireship  6 лет назад +1

      You can use types with `npm i @types/stripe`

    • @basdfgwe
      @basdfgwe 6 лет назад

      Thank you, going to give both of them a try.

  • @jakubtomas9154
    @jakubtomas9154 4 года назад

    Will stripe remember the card for future payments? is the createSource doing this?

  • @knuri000
    @knuri000 6 лет назад +1

    What is the font?

  • @SolomonKahsai
    @SolomonKahsai 6 лет назад +2

    again, i love you very much!!!

    • @Fireship
      @Fireship  6 лет назад +1

      Love you too, Thank you :)

  • @MrLuc420
    @MrLuc420 6 лет назад +2

    Precisely what I needed! Awesome!

    • @Fireship
      @Fireship  6 лет назад +1

      Great to hear that, thanks for watching :)

  • @patrickangel4880
    @patrickangel4880 6 лет назад +2

    French people are following you

    • @Fireship
      @Fireship  6 лет назад +1

      Merci and congrats to the French viewers on the world cup final :)

    • @patrickangel4880
      @patrickangel4880 6 лет назад

      You're welcome

  • @kevintowe3538
    @kevintowe3538 6 лет назад +1

    This has to be your most comprehensive and thorough video, very nice

    • @Fireship
      @Fireship  6 лет назад +2

      Thanks Kevin! Yes, three cloud functions was a lot to fit into a single video :)

  • @diptyprakashswain1121
    @diptyprakashswain1121 Год назад

    Suitable 😃.

  • @bdotsamir
    @bdotsamir 4 года назад

    Aye I see KDE Plasma! Plasma gang plasma gang

  • @mujeexminiminer7653
    @mujeexminiminer7653 5 лет назад

    Dude, you make the best thumbnails and soundtracks on youtube! Would love to know the name of the app that helps bring all of that together. Great video btw!

  • @MaxPicAxe
    @MaxPicAxe 3 года назад

    How to handle tax and sales tax?

  • @basdfgwe
    @basdfgwe 6 лет назад +2

    Just went through a rollercoaster when I tried to do this via ionic. In order to get AngularFireFunctions, I needed to get AngularFire2-rc09 at the very minimum. Installing AngularFire2-rc09 broke my application since it needed rxjs to go from 5.x to version 6.x, which also meant angular update... I was doing all of that and then realised that angular update meant ionic 4 - which is still in beta. *sigh*

  • @jazzymichael
    @jazzymichael 5 лет назад

    1. Sign In with popup does not work on all devices, switch it to redirect
    2. creating the user in the front end and then updating in the cloud function goes wrong when the function fires before the user makes it back to the site from logging on

    • @yocheeseify
      @yocheeseify 5 лет назад

      What do you recommend for problem number 2?

    • @jazzymichael
      @jazzymichael 5 лет назад

      @@yocheeseify use { merge: true } as a second argument to the .set call or just create the doc only in the function

  • @ianmubangizi6721
    @ianmubangizi6721 6 лет назад

    Man the way you code freaks me out LOL :-)) - Every time I ask my self how is he doing that so fast.

    • @couches
      @couches 6 лет назад +1

      I'm guessing that he types out all the code first and then starts highlighting lines and deleting them starting from the bottom and working his way up so all he has to do is hit ctrl+z to undo the lines he deleted

    • @LarsRyeJeppesen
      @LarsRyeJeppesen 4 года назад

      @@couches He records it slowly and then speed up the video, doing voice over later. It's stressful to watch

  • @NeelanshMathur
    @NeelanshMathur 4 года назад

    I needed this

  • @AviPars
    @AviPars 6 лет назад

    Lovely video!

  • @yocheeseify
    @yocheeseify 4 года назад

    You're a lifesaver 🔥

  • @murhafsousli7191
    @murhafsousli7191 6 лет назад

    Did you hear the fart on 6:34 :D