#stripe

/

      • wspider
        ?
      • carl__
        why is stripe asking for a personal_id_number for verification?
      • ftknox
        wspider: no, you still need both of those parameters
      • wspider
        ok
      • ftknox
        wspider: the `data-amount` and `data-currency` attributes in the Checkout config are only for display purposes in the Checkout modal
      • wspider
        ftknox: oks, good
      • ftknox
        carl__: this is usually an SSN or EIN that US based merchants are asked to submit so that we can verify the identity of that legal_entity
      • dhod
        @ftknox - i'm trying to think, but how would one approach that? storing something in the metadata to check against when the coupon has been used is the only way i could think
      • ftknox
        dhod: my thoughts are that in your database, you keep track of the Stripe Customer object's id parameter and each coupon code that this Customer has used. Then prior to applying the coupon to the Customer in Stripe, you check in your database to make sure that this would not be a duplicate use
      • stripe136 joined the channel
      • gingerale joined the channel
      • stripe136 has quit
      • davisonio joined the channel
      • Duc_ joined the channel
      • fels joined the channel
      • Guest67877 joined the channel
      • stripe129 joined the channel
      • derwiki joined the channel
      • s2013 joined the channel
      • derwiki
        Hi Stripe engineers! Quick question: if a connect user links a savings account instead of a checking account a) won't work right? and b
      • sorry: b) is the error message any different when it fails if it failed because it was savings?
      • carl__
        \exit
      • carl__ has quit
      • bwa
        derwiki: I believe it's possible for transfers to be successful at a savings account as long as it can accept ACH transfers. If it fails, I believe it's just a generic 'Could not Process' error that is thrown.
      • That's just from experience though. If you'd want the official confirmation, I'd wait for one of the devs to chime in :)
      • ta_ has quit
      • Duder9999 joined the channel
      • Danilo_ joined the channel
      • Danilo_ has quit
      • bschumacher has quit
      • danilo_ joined the channel
      • Duc_
        I want to update a Past Due subscription to active
      • I just need to update customer's credit card to a card that can charge successful, right?
      • derwiki has quit
      • is anyone there?
      • wspider
        ftknox: one question, with this charge example, I want to authorize the charge, so when I go to the website and capture the money, is there a way to get a notification ?
      • not pay instantly but for the client to auth the capture
      • Rellim joined the channel
      • dhod has quit
      • ftknox
        wspider: sure, you can pass `false` for the `capture` parameter in the Charge creation call
      • wspider: https://stripe.com/docs/api#create_charge-capture you will have 7 days down to the millisecond to capture that Charge then (https://stripe.com/docs/api#capture_charge)
      • snax_ has quit
      • wspider
        ftknox: but If I capture a payment through www.stripe.com, there wont be any kind of notification sent to my backend ?
      • I ask because that's how this website worked previously, so I am trying to emulate it
      • timebox joined the channel
      • Guest67877 has quit
      • hpar
        wspider: you'll get a charge.succeeded webhook
      • wspider
        hpar: ok, thx !
      • Guest67877 joined the channel
      • Duc_
        hi
      • timebox
        Duc_: Hi!
      • Duc_
        could you help my question above?
      • Tim has quit
      • timebox
        Duc_: What was the question?
      • jester joined the channel
      • Tim joined the channel
      • ftknox has quit
      • Duc_
        I want to update a Past Due subscription to active
      • I just need to update customer's credit card to a card that can charge successful, right?
      • lenochka joined the channel
      • bschumacher joined the channel
      • timebox
        Duc_: As long as there are still retries left on the invoice, then yes, that should solve it.
      • edrocks joined the channel
      • lenochka is now known as Guest14237
      • Duc_
        ok
      • hirshy joined the channel
      • how about unpaid status
      • how to active it?
      • hirshy
        I'm looking to use Stripe Subscription for recurring donations. How am I able to have each subscription have a specific amount (instead of getting it from the plan)?
      • timebox
        hirshy: You can use quantities for that: https://stripe.com/docs/subscriptions/guide#set...
      • jester has quit
      • Guest67877 has quit
      • hirshy
        So I would need to make a $1 plan and then charge in quantities. It sounds backwards.
      • Guest14237 has quit
      • timebox
        Duc_: You can reopen the most recent invoice and pay it, and that will reactivate the subscription - but it must be the most recent invoice. https://support.stripe.com/questions/unpaid-sub...
      • kiddorails joined the channel
      • Duc_
        @timebox: as I know after subscription is unpaid, next invoice still generate but will be close default
      • timebox
        Duc_: Right, so you need to get the most recent unpaid one for the subscription and pay it 'manually': https://stripe.com/docs/api#pay_invoice
      • hirshy
        @timebox: So I would need to make a $1 plan and then charge in quantities? It sounds backwards.
      • irctc377 joined the channel
      • irctc377 has quit
      • Duc_
        for example, I have invoice on 1/1 paid success, invoice on 2/1 fails and then all payment retry attempts have been exhausted.
      • So invoice on 3/1 still generated but will be closed, right?
      • so on, 4/1, 5/1..
      • timebox
        hirshy: Ya, that's right.
      • ftknox joined the channel
      • hirshy
        Also, do I have to create the plan for each connected account? Is there a way to create it once and copy it over to the connected account?
      • timebox
        Duc_: Invoices with daily billing cycles are unfortunately weird; they don't properly hit the retry limit because there's always a not-failed invoice left to try, so just find the most recent one and pay it and it should resume the subscription.
      • hirshy: They will have to be created in each Connected account - and no way to copy unfortunately. https://stripe.com/docs/connect/payments-fees#c...
      • lenochka1 joined the channel
      • Duc_
        ok, I have monthly
      • not daily
      • stripe869 joined the channel
      • stripe869
        hey all, anyone here?
      • danilo_ has quit
      • Duc_
        so in my case, invoice on 2/1 is most recent one, right?
      • philk15 joined the channel
      • Gsham has quit
      • timebox
        Duc_: I can't read. Lolz. So, ya, if it's just marked as 'unpaid', it will keep generating them until you either cancel the subscription (to stop it) or pay the most recent invoice (to reenable it). You'd probably want to list all the invoices for the customer (https://stripe.com/docs/api#list_invoices) which comes back most recent first, and then step through to find the first one associated with the subscription, and then /pay that
      • one.
      • vincent joined the channel
      • stripe869: Yup, what's up?
      • vincent has quit
      • vincent joined the channel
      • Gsham joined the channel
      • ta_ joined the channel
      • jon_x has quit
      • mpokress joined the channel
      • Guest36319 has quit
      • jester joined the channel
      • ta_ has quit
      • Rellim has quit
      • ta_ joined the channel
      • Gsham has quit
      • dglambert joined the channel
      • dglambert
        yo
      • jester has quit
      • timebox
        dglambert: Yo.
      • dglambert
        Suprized there is such a large following for stripe on IRC
      • timebox
        dglambert: Here's a terrible Venn diagram to help explain it: [ Stripe { developers ] IRC }
      • dglambert: What's up? What can I help you with?
      • dglambert
        Well I think its a stupid question, I am just starting to integrate checkout to my website with the sample code and everytime I click "Pay with Card" the page refreshes
      • i'll figure it out, I just thought it was weird that the sample code would do that
      • timebox
        dglambert: Are you using the simple (HTML snippet) integration or the custom (JavaScript) one?
      • dglambert
      • its the only code on the page
      • Duc_
        can there be multiple unpaid invoices for a subscription?
      • timebox
        dglambert: <form action="" method="POST"> <-- You need to put something in the `action` or else it assumes it's the current URL and POSTs back to the same page. Make sense?
      • Duc_: There could be one for each period in which it was unpaid.
      • Duc_
        oh, so if a subscription has 3 unpaid invoices, then customer needs to paid all invoice so that their subscription change to active, right?
      • einnjo joined the channel
      • timebox
        dglambert: You know what? What I just told you is not clear from the docs. I'll pass that along to the docs folks and see if we can make it clearer.
      • Guest67877 joined the channel
      • pavel__ has quit
      • dglambert
        thanks timebox, I assumed maybe it was something simpler
      • or rather on my side
      • not the sample
      • also, no decimal point in checkout data-amount??
      • ie 999 is 9.99 and 50000 is 500.00
      • timebox
        dglambert: No decimal point. They're integer cents (or whatever the smallest unit of the currency is).
      • Duc_
        timebox: right?
      • timebox
        Duc_: No, you only need to pay the most recent one to reactivate the subscription, but you might want to pay the others too; up to you. :D Actually, if you want to make sure you collect all your money, you might want to start from the oldest and move towards the newest to ensure you capture everything owing - but up to you and your use case. :)
      • qar_ joined the channel
      • Duc_
        ok, thanks timeout
      • timebox
      • :D
      • timebox
        Duc_: No problemo! :)
      • qar__ joined the channel
      • qar___ joined the channel
      • qar_ has quit