Live data from Hacker News

Implementing API Billing with Stripe

daily.co

81–84 of 84 posts

Re: Implementing API Billing with Stripe

#81
post #42

I so wish Stripe would stop ignoring a number of countries and make their billing available there (Poland is an example). I am stuck with Braintree and it is not a happy ride.

Poland is currently in private beta. You can request invite here: https://stripe.com/global#PL

Huh? I signed up several times already, and never heard from Stripe… Well, signed up again. Anything to get the option of switching from Braintree.

Re: Implementing API Billing with Stripe

#82
post #74

Earlier quoted context omitted.

I've done it both ways. My last company processed >$100MM/yr of tshirts, split between Stripe and PayPal. Stripe was wonderful; PayPal was hell. It required a lot of engineering effort to build and maintain the system, even as simple purchases (no subscriptions). But if you're selling impulse buys online, PayPal is required. Current company is B2B SaaS, smaller team, and I said "no freaking way" to PayPal. Built the…

Out of interest, why did you go down the avenue of hacking together your own system to handle subscriptions? Surely you've limited yourself like you've said you have to build out every time you want to attach another payment method like paypal - Is this not more expensive than looking into a Merchant of Record handling these complexities for you?

There must be some sort of miscommunication here. My (SaaS) subscription system is vanilla Stripe without abstraction. My (single-purchase, tshirt) system was an abstraction across Stripe and PayPal.

I can only imagine the elevated pain of abstracting across multiple subscription systems. Ouch.

Re: Implementing API Billing with Stripe

#83

Earlier quoted context omitted.

I've done it both ways. My last company processed >$100MM/yr of tshirts, split between Stripe and PayPal. Stripe was wonderful; PayPal was hell. It required a lot of engineering effort to build and maintain the system, even as simple purchases (no subscriptions). But if you're selling impulse buys online, PayPal is required. Current company is B2B SaaS, smaller team, and I said "no freaking way" to PayPal. Built the…

How did you go about implementing a referral program in Stripe?

I have a polymorphic ledger table of Credit, Spend, Payout.

I scan recent invoice history periodically to keep Credits up to date. Payouts are via PayPal masspay. Spends (using credit balance to offset their SaaS bill) are created on the invoice.created webhook, which adds a corresponding negative line item to the invoice.

I considered doing everything in Stripe - you can add pending invoice items instead of credits and payouts, then 'spends' are just the natural processing of bills - but it would have been very difficult to get analytics (eg, total outstanding payout liability).

Re: Implementing API Billing with Stripe

#84
post #74

Earlier quoted context omitted.

Out of interest, why did you go down the avenue of hacking together your own system to handle subscriptions? Surely you've limited yourself like you've said you have to build out every time you want to attach another payment method like paypal - Is this not more expensive than looking into a Merchant of Record handling these complexities for you?

There must be some sort of miscommunication here. My (SaaS) subscription system is vanilla Stripe without abstraction. My (single-purchase, tshirt) system was an abstraction across Stripe and PayPal. I can only imagine the elevated pain of abstracting across multiple subscription systems. Ouch.

My bad must have been a miscommunication here. I was about to expand on those key differences between payment gateways vs Merchant of Records. http://bit.ly/2Us1OWM - Could still be an interesting read as it explores those key elements of what you have to juggle.
Post reply on HN