#stripe

/

      • samwr
        i guess the negative price invoice items is the next best idea
      • markin
        if you just want to do an extension, setting prorate=true will do some weird stuff as according to Stripe's accounting they would have paid for time you're now giving them for free
      • proration is fine when you do upgrades
      • Taftse|Mac has quit
      • samwr
        so if an upgraded user who has paid for their prorated subscription gets an extension, we just have to not set prorate:true in the invoice item?
      • is that all you're saying?
      • cause if so, awesome
      • markin
        I'm a bit confuse
      • if all you want to do is give someone 5 extra days then you should set trial_end to the period end + 5 days and prorate false
      • samwr
        aha, got it
      • thanks
      • that is different from what i was saying
      • jareddlc joined the channel
      • rroman___ has quit
      • LochnessMobster3 has quit
      • jareddlc has quit
      • kies joined the channel
      • coffelius has quit
      • coffelius joined the channel
      • pavan joined the channel
      • pavan has quit
      • nkr joined the channel
      • ccho joined the channel
      • ccho
        hi, from the balance_transaction id, how would I retrieve the fee using the Stripe API?
      • markin
        ccho: the retrieve balance transaction api
      • LochnessMobster3 joined the channel
      • ccho
        maybe my API version is out of date and therefore I don't have it available?
      • citizen-stig joined the channel
      • coffelius has quit
      • jeffrey_abbott joined the channel
      • CCME joined the channel
      • jareddlc joined the channel
      • CCME
        Hey buds, how would one simulate the next billing cycle event for a subscription?
      • MrSam
        euh
      • i think trial period of 5 minutes
      • or change subscription period
      • or charge manually using website
      • CCME
        Hmm, I wonder if it's possible to create a test plan that bills every .02 of a day or something..
      • ccho
        nvm I see it now. I guess there's no way for it to be populated in the webhook on the charge events
      • citizen-stig has quit
      • CCME
        Hmm, looks like the smallest billing period is daily
      • devbug has quit
      • yoji joined the channel
      • yoji
        can you search stripe customers by email
      • LochnessMobster3 has quit
      • devbug joined the channel
      • LochnessMobster3 joined the channel
      • daron has quit
      • CCME has quit
      • flippyhead joined the channel
      • ccho has quit
      • devbug has quit
      • csurap has quit
      • flippyhead has quit
      • lukeburden has quit
      • lukeburden joined the channel
      • scellow has quit
      • LochnessMobster3 has quit
      • scellow joined the channel
      • coffelius joined the channel
      • gnoze5 has quit
      • LochnessMobster3 joined the channel
      • Telvana has quit
      • coffelius has quit
      • Guest80892 has quit
      • yoji has quit
      • LochnessMobster3 has quit
      • manfrin has quit
      • daisytherobot joined the channel
      • lacebarr joined the channel
      • flippyhead joined the channel
      • jareddlc has quit
      • _ssc joined the channel
      • flippyhead has quit
      • _ssc
        can invoiced be updated to contain discount objects?
      • *invoices
      • cdbattags joined the channel
      • cdbattags
        Hi all! Quick question: can Stripe be used for payment for let's say dev work and consulting?
      • _ssc has quit
      • And would this require setting up some form of a company through a state in the United States?
      • Let's say I have a family member that I'd like to set up a recurring payment (subscription) to manage and maintain their website. Any ideas?
      • daisytherobot
        Ahoy! how can I change a customer's default card through an http request for example would I post to: https://" + STRIPE_SECRET_KEY + ':@' + STRIPE_API_BASE_URL + "/customers/" + request.params.customerId + "/default_source ?
      • jeffrey_abbott has quit
      • jeffrey_abbott joined the channel
      • stanley joined the channel
      • stanley is now known as Guest23395
      • Guest23395 has quit
      • jeffrey_abbott has quit
      • dixon_ has quit
      • lacebarr
        is it possible to only have payments taken out until the product is paid for, and not a recurring subscription until it is cancelled? like a payment plan?
      • funkster joined the channel
      • funkster
        could someone explain how i could do a "paid trial" ? basically $1 initial charge and then in 14 days have the user start on a monthly recurring plan.
      • markin
        funkster: do a $1 charge and then put them on a subscription with a 14 day charge
      • lacebarr: you'd do a subscription and in your code keep track of the number of payments
      • daisytherobot: you do a post to the customer endpoint and the body of the post request sets default_source to the new source id. stripe.com/docs/api#update_customer
      • cdbattags: you'd need some sort of business, in the US that can be a sole proprietor (basically you yourself are a business)
      • citizen-stig joined the channel
      • rromanchuk joined the channel
      • rromanc__ joined the channel
      • scellow has quit
      • scellow joined the channel
      • sufiplayboy joined the channel
      • one00handed has quit
      • lukeburden has quit
      • lukeburden joined the channel
      • daisytherobot has quit
      • sufiplayboy has quit
      • stanley joined the channel
      • stanley is now known as Guest56882
      • Guest56882 has quit
      • daisytherobot joined the channel
      • jareddlc joined the channel
      • rromanchuk has quit
      • rromanc__ has quit
      • jareddlc has quit
      • dmarr has quit
      • black_ is now known as blackmagic
      • Rever joined the channel
      • cdbattag_ joined the channel
      • Rever
        Hey, love stripe! We are looking at implementing a gift card type system and want to use the checkout form you provide for simplicity (or a custom form). We have subscriptions on our site (monthly and yearly) would the person purchasing the gift card just enter the recipients email, and then if that person signs up on the site could we assign that users email to the credit they received? Or I am totally open to any thoughts you had o
      • markin
        Rever: that sounds like a pretty simple way to implement it
      • Rever
        Thanks for responding.
      • So when the user signs up on our site (and we communicate with the stripe API), we can then recognize the email and the payment applied to the subscription?
      • markin
        the way I'd do it is you create the one time charge, and in your database you'd store the recipients email and the amount, and then when the recipient signs up, you can create a stripe customer for them, you'd notice their email already exists in your database, so then add that amount as the stripe customer's account balance and mark the gift card as used in
      • your database
      • Rever
        ok, interesting. That sounds like a good way to do it.
      • Thanks for your help.
      • zachsnow joined the channel
      • saikat joined the channel
      • devbug joined the channel
      • flippyhead joined the channel
      • lukeburden has quit
      • flippyhead has quit
      • sufiplayboy joined the channel
      • lacebarr has quit
      • railswebdev joined the channel
      • saikat joined the channel
      • funkster has quit
      • alvinzhang joined the channel
      • alvinzhang
        have a question: what do we do with tokens that are not used for payments or converted into cards?
      • doesn't seem to be a way to delete or invalidate tokens
      • markin
        alvinzhang: why would you create a token and not use them? They're only guaranteed for 5 minutes
      • johny_ joined the channel
      • johny_ has quit
      • alvinzhang
        markin we are migrating from another payment provider and tokenising the card details in parallel to stripe so when we move over it is seamless for the customers, we do recurring payments
      • dmarr joined the channel
      • after 5 minutes what happens to the tokens?
      • and one more question: if i tokenise the same card twice and add both to the same customer, do i have 2 card IDs, or 1 card ID on stripe? Does stripe de-dup?
      • markin
        they're only guaranteed to be valid for 5 minutes, they may work for longer but only 5 minutes are promised.
      • the card id would change the fingerprint are the same