#stripe

/

      • Northwoods has quit
      • jseagull1_ has quit
      • Wackamol1 joined the channel
      • jseagull1_ joined the channel
      • rllu joined the channel
      • hpar
        chesstrian: radar rules? yes, they apply to payments.
      • cannon: sorry, but some basic questions: what do you see on this page https://dashboard.stripe.com/account/applicatio... ; what API call are you trying to make?
      • __stanislaw joined the channel
      • please use pastebin.com or gist.github.com if you want to share some code; be sure to remove any secret keys!
      • Xionkana joined the channel
      • callum-freenode joined the channel
      • arunpyas- joined the channel
      • something joined the channel
      • Zerox10C1 has quit
      • nick231 has quit
      • callumacrae has quit
      • pigoz has quit
      • sr2016 has quit
      • jseagull1 has quit
      • Wackamole has quit
      • arunpyasi has quit
      • raylu has quit
      • Johnny_Bravo joined the channel
      • Johnny_Bravo
        Hi there. I found a payment that returned a do_not_honor code from the customer's bank. What might be the reason for this?
      • Xionkana has quit
      • __stanislaw has quit
      • cannon
        hpar I have two accounts. One that I use to process CC on a current production site and a new account that I am using for connect. On the new account that I am using for the connect integration, I see my company details, client id, and a couple of text fields showing availability.
      • hpar
        Johnny_Bravo: it's impossible to say, your customer should contact their bank and ask for more details
      • cannon: ok, so have you connected these two accounts together?
      • cannon
        hpar I am trying to make a direct charge to the account I currently use in production via the new account I created for the connect integration.
      • Yes
      • ywain has quit
      • Johnny_Bravo
        Okay. So this is subjective based on the bank more than likely?
      • hpar
        Johnny_Bravo: yep
      • cannon: ok, so in order to do this you need to make the request using the new account's secret key, and pass the stripe_account header with the connected account's ID
      • Johnny_Bravo has quit
      • cannon: do you have the ID of a request from your logs? it's req_XXX in the URL when you're looking at your dashboard logs
      • Larry_ joined the channel
      • Larry_
        Does anyone know how I would create a Stripe Donate button in Wix?
      • mnc_ joined the channel
      • ywain joined the channel
      • cannon
        When I login to the account that I use for production and go to Connect -> Applications I see the proper application. I am making that request just as you explained. Using the secret key of the new account and also using the stripe_user_id that I received when originally connecting the account. Not real sure where to find the dashboard logs.
      • pigoz joined the channel
      • hpar
        Larry_: you'd have to contact Wix support for help with that
      • cannon
        req_h6jVLQX9SamzK6
      • chasepub joined the channel
      • hpar hang on I sent you the wrong id
      • hpar
        ok, one minute while I put the coffee on as well
      • mnc_ has quit
      • cannon
        hpar I am seeing the logs from past requests but none since I started working on this integration.
      • hpar
        in either account?
      • mnc has quit
      • cannon
        correct
      • toggled test data also
      • Northwoods joined the channel
      • Larry_ has quit
      • double checking the secret key
      • v4ult has quit
      • hpar
        huh, it looks like you've maybe connected your platform account to itself?
      • mw44106 has quit
      • mikeyS joined the channel
      • arunpyas- is now known as arunpyasi
      • cannon
        hpar I think I may have I am trying to reset all of this.
      • rogue_koder joined the channel
      • toklas joined the channel
      • hpar req_yJdfnjdhXgn8Mf
      • hpar
        hm, that's definitely not a connect request, just a checkout one, but let me dig...
      • toklas has quit
      • cannon
        hpar I see the payment id in connected production account which should correspond to the id I sent you a minute ago (from the new account) ch_1C0XxNFa2zApO3lUFLO8r4o5
      • hpar
        that looks like a normal charge, not a connect charge
      • rado_ joined the channel
      • rado_
        I am using your Android SDK. When a payment fails the error alerted by the displayError(throwable.getLocalizedMessage()); is "invalid index 1 size is 1". How come and how to fix it?
      • hpar
        rado_: not sure, but it sounds like something's passing a 1-length array where it's expecting > 1 thing in the array
      • I'd dig through the stack trace maybe
      • cannon
        hpar check this id please req_7ItdgfOqIxUKfC
      • hpar
        ok, that one definitely came through Connect, so that looks fine
      • mikeyS
        Were the Stripe API docs built in-house? Using them for inspiration to build my own doc engine
      • chesstrian
        hpar, one more question, is there a way to check the charge for the first subscription invoice in radar rules? so I can use validations there, the ip was only an example, but probably something else can be used
      • cannon
        Ok I was using the publishable key to the wrong account within the script that is embedded in the html. Thanks for the help
      • hpar
        cannon: glad you got it sorted!
      • cannon
        Thanks again
      • hpar
        chesstrian: no, radar doesn't consider subscriptions, only charges
      • mikeyS: yep, built-in house in a way that a lot of the information is pulled automatically from the API code
      • mikeyS
        Ah, clever. Thanks!
      • mikeyS has left the channel
      • rado_ has quit
      • m0ltar_ has quit
      • chasepub has quit
      • bronzoflower joined the channel
      • bronzoflower has quit
      • m0ltar joined the channel
      • Prakash joined the channel
      • Prakash
        Webhook Status: Pending (16 tries)
      • [2018/02/27 17:07 to https://www.insidearbitrage.com/stripe-webhook]: (TLS error) ERR
      • I am using webhook and my site has https.
      • Webhook is not working
      • hpar
        Prakash: usually that's something like your SSL setup missing a chain certificate or something
      • Prakash
        What should I do now
      • Please guide me
      • hpar
        if you run your domain through the https://www.ssllabs.com tester, it will tell you what certificate is missing. You'd need to get that cert from whoever issued your SSL and update your server setup
      • Northwoods has quit
      • based on that you don't have the Godaddy intermediate cert, they include that in the email/download when they issue your certificate
      • kasper joined the channel
      • kasper
        help with testing
      • anyone there?
      • hpar
        hi kasper, what's up?
      • Prakash
        Do I need to ask that certificate in godaddy?
      • hpar
        Prakash: you might need to download it again, yes. And then update your web server's setup
      • Prakash
        Ok will this fix that error?
      • hpar
        yes, when you update your web server with the full cert it should start working
      • you can use that same link I sent to test your server again
      • kasper
        i need to test whether a tax was added correctly when a customer fills out Stripe Checkout. I need to make API calls for testing purposes - how can I get one? I was just submitting the form and saving the params but the token only works once and I cannot rerun the tests? How can i add an rspec test to verify that the tax is added correctly?
      • Prakash
        Ok thank you very much
      • kasper
        *how can i get one, meaning can i create a dynamic test token somehow?
      • *on a related note. I need to test the invoice.payment.succeeded and then the next 5 billing cycle invoice.payment.succeeded - how do i do this?
      • does it makes sense to use the Stripe API in tests to create test coupons and plans and then delete them at the end of the test?
      • hpar
        kasper: so, checkout doesn't care about taxes, and (mostly) the Stripe API doesn't either. You want to break out your tax computation logic in a way that you can test it separate from collecting a token and creating ac harge
      • for testing I'd recommend the test tokens, tok_visa for example: https://stripe.com/docs/testing#tokens
      • ha well, that link doesn't work
      • go here https://stripe.com/docs/testing#cards and click "tokens" for a list
      • chesstrian
        thanks hpar :)
      • hpar
        kasper: you can create coupons & plans for each test but that can get messy and it also slows down your test suite
      • as far as testing multiple webhook payloads the best way is to mock this out: take a single payload, and adjust it for each test
      • __stanislaw joined the channel
      • dionysus69 joined the channel
      • stripe791 joined the channel
      • kasper has quit
      • Prakash has quit
      • stripe791
        Hi, can I create multiple invoices with "send_invoice" billing which will "live" together until all paid?
      • digitalnomad91 joined the channel
      • krnbatta joined the channel
      • __stanislaw has quit
      • krnbatta
        Hey, I need to call stripe api for testing. But I don't have a stripeToken for that(since, I am not filling any stripe form - only testing my functions). How do I get stripeToken? Is there any master testing stripeToken or something? Is there any turn around for testing this?
      • agitator joined the channel
      • chrisrosillo has quit
      • chrisrosillo joined the channel
      • hpar
        stripe791: multiple invoices for the same customer?
      • krnbatta: you can use tok_visa for example https://stripe.com/docs/testing#cards (click the tokens tab)
      • stripe791
        @hpar, yes
      • circ-user-futli joined the channel
      • for example, I will issue an invoice for my customers, each month with a 60 days until due
      • chrisrosillo has quit
      • this will result in multiple pending invoices
      • hpar
        stripe791: yep, you definitely can do this and have more than one invoice open
      • stripe791
        ok, thanks, and for each invoice a new source will be created for the upcoming funds?
      • hpar
        when you create an invoice it "sweeps up" all invoice items that haven't been attached to another invoice
      • yeah I think they get a different swift code on each? it's unique per credit source / invoice
      • NJ_ joined the channel