#stripe

/

      • dqsf
        nikhil you can set it to `minimum` which will always be the lowest for your country. in the us you may get a 2 day rolling payout period
      • ZachZeke joined the channel
      • nikhil has quit
      • ZachZeke has quit
      • cagomez joined the channel
      • cagomez has quit
      • cagomez joined the channel
      • cagomez has quit
      • cagomez joined the channel
      • cagomez has quit
      • jseagull1 has quit
      • hi joined the channel
      • hi you can enable `debit_negative_balances` and stripe will try to retrieve funds from their bank account if their balance goes negative. https://stripe.com/docs/connect/account-balances
      • correct. well, you, as a platform, could refund the charge but not pull back the transfer from the connected account (but in that case your platform would eat all the refunded money for the transaction)
      • hi has quit
      • greengriminal has quit
      • dqsf has quit
      • jseagull1 joined the channel
      • dqsf joined the channel
      • dqsf has quit
      • dqsf joined the channel
      • dqsf has quit
      • dqsf joined the channel
      • dqsf has quit
      • jrewing joined the channel
      • jrewing has quit
      • dqsf joined the channel
      • asdf_ joined the channel
      • dqsf has quit
      • Xionkana joined the channel
      • measwel joined the channel
      • cagomez joined the channel
      • measwel has quit
      • Xionkana has quit
      • cagomez has quit
      • dqsf joined the channel
      • MACscr|lappy joined the channel
      • dqsf has quit
      • hendry joined the channel
      • hendry
        morning, I ran into an issue with Stripe some months ago RE number of subscriptions per customer
      • I was wondering why there were limits to begin with and perhaps what I was doing with this particular customer having 50+ subscriptions is the wrong way of billing?
      • mattwc
        hendry: generally 50 subscriptions for a customer means they're going to get charged 50 times a month which isn't great for you nor the customer
      • they're going to have 50 charges which makes it impossible for them to reconcile and you're charged the stripe flat fee 50 times which is expensive
      • hendry
        mattwc: so how should I have handled this use case?
      • mattwc
        you can add items to the subscription, or use the quantity property on the subscription plan
      • hendry
        mattwc: aka why is stripe not reconciling this for me and making me jump hoops ;)
      • this is painful to implement since new subscriptions are added one by one (by current design)
      • mattwc
        it depends a bit on how your system is set up, but you could just increment the quantity https://stripe.com/docs/billing/subscriptions/q...
      • or add a new plan to their current subscription https://stripe.com/docs/billing/subscriptions/m...
      • hendry
        but incrementing the quantity doesn't make sense since the i would be charging inaccurately i think
      • imagine i have 30 subscriptions, added individually every day of the month
      • mattwc
        by default Stripe prorates
      • hendry
        mattwc: oh
      • that includes the 7 day trial or whatever ?
      • mattwc
        the trial only applies when the subscription is initially created
      • generally you don't give people trials once they're already a paying customer
      • hendry
        mattwc: hmmm true
      • so I should be thinking now, IIUC that each subscription is actually a "plan" ?
      • bradleymeck22 joined the channel
      • dqsf joined the channel
      • mattwc
        it depends a bit on your app, generally I think of subscription as someone signing up for your app, creating a new account, etc. then if they want more services, add ons, additional licenses, than that is adding a plan / updating qty
      • hendry
        is 'adding a plan' the same as 'updating qty' or are they different things (sorry, just want to avoid confusion)
      • dqsf has quit
      • bradleymeck22 has quit
      • mattwc
        you can update the quantity of a plan a subscription has or you can add a new plan a subscription
      • you'd most likely want to update if they're going from 1 user to 2 users, but if they're adding a different product then you'd most likely add a new plan to the subscription
      • hendry
        mattwc: thank you for answering my question
      • iirc stripe has the notion of customer
      • mattwc
        customer would be the account in that case
      • hendry
        and i think i have been mapping each user to a customer when creating subscriptions
      • so if I want to treat a customer as an account... how do in practically achieve this?
      • because i was hoping to be lazy and make a clean mapping to stripe and get locked in ;)
      • mattwc
        so that requires that your app have some sort of parent account, an account has 1 stripe customer, and then an account has many users that exist in your system but not Stripe
      • *that account has 1 stripe customer...
      • hendry
        ok, so Stripe doesn't have that heirachy or whatever I can just use
      • asdf_ has quit
      • n-amari joined the channel
      • mattwc
        nope, you'd implement that yourself
      • hendry
        is https://checkout.stripe.com/checkout.js still the easiest way to implement some sort of a payment? since I am especially interested in leveraging Web payments
      • I think I saw some sexy Safari or Chrome demos, and I wonder if Stripe supports that flow.
      • I ask these questions since I am starting from scratch on this new project
      • mattwc
        thats going to be the simplest way to get a checkout form built, but if you want more extension-ability then you'd want to use Stripe elements, or if you want to use any of the alternative payments that aren't credit card you'd need to use Stripe.js
      • MACscr|lappy joined the channel
      • hendry
        are there any demos / reference implementations of Web payments working via Stripe out of interest?
      • mattwc
        what do you mean by web payments?
      • like the apple pay / google pay in the browser stuff?
      • hendry
      • mattwc: sorry, I am not familiar with the maturity of this technology
      • mattwc
      • hendry
        mattwc: cool thanks
      • ok, another question
      • I am trying to understand https://stripe.com/sg/billing
      • i think it's stuff I've implemented myself before, but i am not sure
      • i guess it makes it easier to define plans and such in a gui, without code?
      • mattwc
        billing is just the standard subscription stuff as before just with some added features
      • the gui always existed to create plans
      • hendry
        tbh i have had my own invoicing system before (using stripe), so i guess https://stripe.com/sg/billing would perform the same flows... but argh the devil is in the details
      • ok, this is a use case I think i need to be able to cover
      • user uses my app. user likes my app and wants to unlock premium. user fills in a form telling us who are the billing contacts for his organisation.
      • we then send an invoice to his organisation. organisation pays the invoice hopefully. user becomes premium.
      • can https://stripe.com/sg/billing support that sort of flow?
      • or am i best off just coding stuff myself
      • mattwc
        the one thing I don't think billing will do is wait until the invoice is paid for them to become premium
      • since generally you have the customer pay immediately, and you'd only do the sending of an invoice if the customer is large enough to warrant a purchase order type set up
      • hendry
        yes, the delay for a billing dept to pay could be rather painful, but i think it would be saner for me only to allow the user to go premium once their billing dept swings into action
      • perhaps the system can accomodate me marking the user as premium although an invoice is outstanding? not sure
      • nontheless i am wondering if https://stripe.com/sg/billing will save me any time. i guess it's pretty straightforward in my brain to implement myself.
      • mattwc
        yeah with billing, the payment is due X days after the invoice is sent which would be at the start of the billing cycle
      • so you'd generally only want to use it in cases where you have a like signed purchase order agreement with a large customer or are doing post-service billing
      • [CAN] has quit
      • hendry
        yeah... don't want to be fixed in that neccessarily
      • ice799 has quit
      • arooni has quit
      • arooni joined the channel
      • ice799 joined the channel
      • Xionkana joined the channel
      • [CAN] joined the channel
      • measwel joined the channel
      • measwel has quit
      • n-amari has quit
      • n-amari joined the channel
      • Xionkana has quit
      • Xionkana joined the channel
      • Xionkana has quit
      • Xionkana joined the channel
      • Xionkana has quit
      • Xionkana joined the channel
      • valczir has quit
      • valczir joined the channel
      • mattwc
        do you plan on most of your customers being organizations with multiple users?
      • hendry
        mattwc: not neccessarily
      • i am not sure if there will be mostly single users or mostly organisations of users
      • tbh i'd prefer mostly organisations of users from a business model perspective
      • mattwc
        so the one thing is generally an organization invites / manages users themselves as opposed to a user creating their own account and then like adding the organization's billing info
      • The typical flow is company a creates an account, the account admin then just invites user's B, C, D etc...
      • the company account is then configured with a credit card or for invoicing, etc
      • hendry
        i understand, but the flow i have proposed here, i think is more accomodating to both scenarios based on preivous experience
      • because both the individual user and the organisation of users can be accomodated with one flow effectively
      • (hope it made sense)
      • mattwc
        in the flow I explained it still handles individual users and organizations of users though?
      • an individual user doesn't invite any extra users, and an organization invites extra users
      • hendry
        i suppose
      • ColdHeat has quit
      • mattwc
        and from a point that the tweet was trying to get to, you're going to want to know the account a user belongs to before creating it
      • (this has to do with the eventual need to likely shard your database / scale databases / services / etc)
      • hendry
        but the cool thing about have a billing contact form as I proposed is that is clear from the outset
      • valczir joined the channel
      • there isn't a notion of a user is migrated to an account by adding billing info, billing is seperate