#stripe

/

      • blackb1rd joined the channel
      • blackb1rd has quit
      • deadghost joined the channel
      • sunburn joined the channel
      • nisseni has quit
      • nisseni joined the channel
      • phpeek joined the channel
      • MPablo joined the channel
      • MPablo
        Halloj, what is the max length of the transaction id?
      • Hugh joined the channel
      • Hugh is now known as Guest39910
      • Guest39910
        Hey guys
      • Just a quick question about Stripe....how is surcharge being taken care of?
      • paulparton has quit
      • can the surcharge for Amex or Diners card be added automatically?
      • capin_ has quit
      • assanine13313
        I dont think any stripe staff are awake atm
      • capin joined the channel
      • Guest39910
        :)
      • they are awake...just have other priorities
      • nisseni has quit
      • inara joined the channel
      • nausea joined the channel
      • nausea joined the channel
      • halorgium has quit
      • halorgium joined the channel
      • Guest38 has quit
      • i guess for now use this https://support.stripe.com/
      • NickG365 joined the channel
      • qar joined the channel
      • nisseni joined the channel
      • blackb1rd joined the channel
      • blackb1rd has quit
      • namidark joined the channel
      • wmertens joined the channel
      • nisseni has quit
      • josh^ has quit
      • josh^ joined the channel
      • edrocks joined the channel
      • MPablo has quit
      • Guest39910 has quit
      • wmertens
        Can somebody help me with figuring out how to block a transaction for longer than 7 days? Car rental companies do this so I know it is possible. Braintree has two approaches at https://articles.braintreepayments.com/control-..., the first one is a no-go because the funds must be guaranteed, is the second option possible with Stripe? So, creating a transaction, voiding it after 6.9 days and immediately creating a new
      • Khayman joined the channel
      • TheAdversary joined the channel
      • ed joined the channel
      • uresh joined the channel
      • ed is now known as Guest94332
      • Guest94332 has quit
      • uresh
        hello
      • bkenny joined the channel
      • bkenny
        Quick question — can you do something like 'source_transaction' for connected accounts with bank account transfers?
      • For example, if I wanted to split up a payment between multiple different bank accounts we own (not connected accounts)
      • Even to schedule where the money will go prior to the 7 day balance update
      • uresh has quit
      • jaylett joined the channel
      • MPablo joined the channel
      • MPablo
        had to reboot, but my question is if there is any limit to the fields like transaction id or customer id, and what are they, only thing I can find in api-reference is that values can be up to 500 charactes long
      • ywain
        MPablo: "You can safely assume object IDs we generate will never exceed 255 characters, but you should be able to handle IDs of up to that length. If for example you’re using MySQL, you should store IDs in a VARCHAR(255) COLLATE utf8_bin column (the COLLATE configuration ensures case-sensitivity in lookups)."
      • MPablo
        Ok, then we know, but case-sensitivity is nothing that I can see is needed, or do stripe use that?, so we could get a cus_abc and cus_ABC from you for different customers?
      • dev2lead has quit
      • nisseni joined the channel
      • bkenny_ joined the channel
      • bkenny has quit
      • gitgud joined the channel
      • ywain
        MPablo: resource identifiers are case sensitive, yes
      • MPablo
        thats worrying
      • bkenny_ has quit
      • blackb1rd joined the channel
      • NYTimes has quit
      • NYTimes joined the channel
      • blackb1rd has quit
      • dev2lead joined the channel
      • NYTimes
        hi people how to verify if the payment has been accepted with stripe checkout ?
      • ywain
        Hi NYTimes. Checkout doesn't create charges by itself, it only collects the payment information and creates a token. You need to have backend code that uses the token to actually create the charge
      • Tim__ joined the channel
      • NYTimes
        ywain: ok so I get the token to the server side and then what shoud I do with it ?
      • ywain: sorry for that dummy question but I really don't know what to do
      • ywain
        NYTimes: use it in a charge creation request: https://stripe.com/docs/api#create_charge. Here's a simple tutorial: https://stripe.com/docs/charges
      • NYTimes: no problem :)
      • NYTimes
        thank you ywain
      • Tim__ has quit
      • wmertens joined the channel
      • deadghost has quit
      • wmertens joined the channel
      • sunburn has quit
      • deadghost joined the channel
      • sunburn joined the channel
      • kengu_ joined the channel
      • wmertens has quit
      • NYTimes has quit
      • kengu has quit
      • kengu_ is now known as kengu
      • assanine13313
        goodmorning chaps
      • qar has quit
      • gitgud has quit
      • phpeek has quit
      • blackb1rd joined the channel
      • everyone still asleep?
      • kengu
        it is afternoon so not really sleeping
      • blackb1rd has quit
      • wmertens joined the channel
      • stripe109 joined the channel
      • qar joined the channel
      • assanine13313
        qtw2killa
      • stripe109
        There?
      • wmertens joined the channel
      • edrocks joined the channel
      • assanine13313
        where?
      • brett_ joined the channel
      • brett_
        I want to edit current subscription plans to be a smaller charge, what is the best way for me to do this?
      • I don't want to cause friction with customers needing to sign up for a new plan, just wanting it to go smooth in the back ground
      • ywain
        Hi brett_. Create a new plan with the desired values, then update every subscription (https://stripe.com/docs/api#update_subscription) to switch them to the new plan. You probably want to include `prorate=false` in the subscription update requests to avoid automatic proration
      • assanine13313
        Hi ywain, I didnt realize you were here
      • I have a quick question reg webooks in live mode
      • ywain
        Hi assanine13313, sure
      • assanine13313
        Ive just upgraded my site to https, and accordingly updated the webhooks to https, and after testing a live payment i notived that no new events came through the webhook. So question is, can webhooks still be given a https address?
      • the transaction was successfull btw
      • brett_
        I don't really understand how stripe works, in the plans there are hunderds of plans ... each time a customer signs up a new plan is created. So when you say I create a new plan, I just create one plan and then "switch" them to that one. What does Swtich mean ?
      • ywain
        assanine13313: yes, you can use HTTPS for webhook endpoints, but your server must have a valid certificate chain. What's the result of the SSL test for your endpoint? https://www.ssllabs.com/ssltest/
      • brett_: if your integration creates one plan per customer, then switching might be a little trickier. Are you using a third-party plugin or integration?
      • brett_
        I'm using memberpress
      • assanine13313
        ywan : im using port 16001 sslabs wont work
      • brett_
        it has been nothing but trouble with stripe
      • ywain
        assanine13313: you have to use the standard SSL port (443)
      • assanine13313
        ahh OK. I have to wait for a dedicated IP before I can do that. But that explains everything thanls
      • ywain
        brett_: then I'm sorry but you should reach out to Memberpress directly. they'll have more insight into what you should do exactly to lower the price of your plans
      • brett_
        okay, not very hopeful with them .... I actually want to switch to Woocommerce subscriptions, is there a way I can manually do this and keep the stripe plans going?
      • ywain
        brett_: on Stripe's end, the existing subscriptions will keep running until they're canceled (either manually by yourself, or automatically after too many failed payments if that's how you set your account settings). but I'm guessing importing the subscriptions from Memberpress into Woocommerce will be difficult :/
      • brett_
        damn :/ ...as difficult as it maybe, it couldn't be any worse than the headaches of memberpress/stripe integration ... they have been trying to solve issues for 4 months
      • gitgud joined the channel
      • NYTimes joined the channel
      • NYTimes
        yo
      • assanine13313
        stripe is easy dude
      • NYTimes
        ywain: ok now I have this object that has been return Object { isFulfilled=false, isRejected=false}
      • what does it mean ?
      • MPablo has quit
      • ywain
        NYTimes: are you talking about the token?
      • NYTimes
        I've posted the token to the back created the charge and got Object { isFulfilled=false, isRejected=false} in response
      • ywain: ^^
      • ywain
        NYTimes: which server-side language are you using?
      • NYTimes
        nodejs
      • ywain
        NYTimes: so you have some code similar to `stripe.charges.create({...}, function(err, charge) { ... });`, right?
      • jops
        @ollondow An update on the blank page in Checkout issue: It appears that an update to the Facebook In-App Browser on mobiles is what's broken things. The user agent string always includes: [FB_IAB/FB4A;FBAV/93.0.0.13.69;]
      • @orlondow An update on the blank page in Checkout issue: It appears that an update to the Facebook In-App Browser on mobiles is what's broken things. The user agent string always includes: [FB_IAB/FB4A;FBAV/93.0.0.13.69;]
      • NYTimes
        ywain: yep
      • ywain
        NYTimes: so if the request was successful, the `charge` variable should be a charge object: https://stripe.com/docs/api#charge_object
      • deadghost has quit
      • jops
        I'm letting the support engineer know via email but wanted to let you know too.
      • wmertens
        NYTimes: you are getting a promise, you have to call `.then(callback)` on it to get the value when it is ready
      • Can somebody help me with figuring out how to block a transaction for longer than 7 days? Car rental companies do this so I know it is possible. Braintree has two approaches at https://articles.braintreepayments.com/control-..., the first one is a no-go because the funds must be guaranteed, is the second option possible with Stripe? So, creating a transaction, voiding it after 6.9 days and immediately creating a new