#stripe

/

      • lichi0323
        hello @ywain how are you? well what I did is a pos app for ios (www.sporkapp.com)
      • deadghost_ has quit
      • currently im using payeezy as payment gateway but I'm having issues with deposit the money into my user's account. I just found out that I have to be a "Payment Facilitator"
      • deadghost_ joined the channel
      • I know Stripe has a solution
      • GioGimic joined the channel
      • ywain
        lichi0323: there are some third-party integrations you can use to use Stripe with your POS system: https://stripe.com/docs/integrations#card-readers
      • gambatte has quit
      • GioGimic
        Hey, Sop Stripe is a payment gateway right?
      • ywain
        Hi GioGimic, yep
      • GioGimic
        Are there any issues using Stripe to sell gun-related products?
      • ywain
        GioGimic: you can find the list of prohibited businesses here: https://stripe.com/us/prohibited-businesses. If you're not sure whether your business is allowed or not, you should write to support: https://support.stripe.com/email. I can't really answer your question here, this channel is mostly for programming issues
      • GioGimic
        Ah alright thanks man.
      • ywain
        yw
      • GioGimic has quit
      • ArtemWt
        @ywain your own account is not registered as a Connect platform and what can I do ?
      • ywain
      • gambatte joined the channel
      • Siyfion has quit
      • ArcAngel joined the channel
      • ArcAngel
        Hello
      • Snoo joined the channel
      • Looking for some help on the stripe app
      • ywain
        Hi ArcAngel, what's the trouble?
      • ArcAngel
        Im building a Managed IT services business and would like to use Stripe for my recurring payments. However I don't have a site setup for this yet so it appears i cant setup the app.
      • learner has quit
      • lichi0323
        @ywain awesome, but as far as distributing the funds with my users?
      • gambatte joined the channel
      • ywain
        lichi0323: so you're a platform that accepts payments on behalf of others?
      • stripe974 has quit
      • ArtemWt
        I have an error "You can only create new accounts if you've registered your platform, which you can do at https://dashboard.stripe.com/account/applicatio...;
      • but keys are correct. What do I need to do?
      • ywain
        ArtemWt: you need to register your platform by clicking on that link
      • lichi0323
        @ywain kinda..... we want Square basically
      • ArtemWt
        what link ?
      • lichi0323
        @ywain we built it following the model of Square, where you can have an account open in few minutes
      • ywain
        ArtemWt: the link from the error message that you just quoted. https://dashboard.stripe.com/account/applicatio...
      • mikedizon joined the channel
      • lichi0323: I'm not very familiar with Square myself as I live in Europe and only know of them offhand. But if you're accepting payments for other people, you need to use Connect: https://stripe.com/connect + https://stripe.com/docs/connect. You should be able to use Connect in addition to PayWorks' SDK for the POS part.
      • mikedizon
        is it possible to delete a connected account in the dashboard? i'm in test mode if that matters
      • sunburn has quit
      • ywain
        mikedizon: not via the dashboard, but you can use the API: https://stripe.com/docs/api/php#delete_account
      • mikedizon
        got it, yeah
      • thanks
      • ArtemWt
        but on this link I see only my dashboard
      • ywain
        ArtemWt: are you an admin for this Stripe account?
      • lichi0323
        @ywain ah ok I think izettle.com is the company in Europe
      • ArtemWt
        yes
      • I hope :)
      • sunburn joined the channel
      • ywain
        ArtemWt: in that case you should see a "Register your platform" link in your account settings
      • christel joined the channel
      • ArtemWt
      • ywain
        ArtemWt: so you're not an admin for this Stripe account
      • ArtemWt
        ok, I'll contact my chef, thank's
      • ywain
        ArtemWt: np
      • ArtemWt has quit
      • marc__ joined the channel
      • mikedizon
        i updated to the latest version of stripe for python, but i'm getting an error that's asking me to initiate connections with TLS 1.2 or later
      • what packages should I update to resolve this?
      • ywain
        Hi mikedizon. What's your OS and Python version?
      • mikedizon
        mac sierra
      • ymmor joined the channel
      • 2.7.10
      • ywain
        mikedizon: ok, are you using brew? http://brew.sh/
      • marc__
        Hey guys, any devs have a minute to check out an Apple Pay issue I have?
      • mikedizon
        yea
      • ymmor
        hi there, in which cases the 'application_fee' of a retrieved charge can be null ? If no application fees were taken ?
      • vincent joined the channel
      • ywain
        mikedizon: k. try this: brew update && brew install openssl && brew link --force openssl && brew install python --with-brewed-openssl
      • rcavezza joined the channel
      • Kevin joined the channel
      • mikedizon: this should install the latest Python linked against a more recent version of OpenSSL than the horribly outdated one that ships with OS X (0.9.8)
      • mikedizon
        ok, it's still updating
      • Kevin has quit
      • marc__
        mikedizon: I've had the same problem with PHP and it was fixed by updating my openssl
      • jaequery joined the channel
      • ywain
        marc__: I'm not the best with Apple Pay, but I'll give it a try, what's the issue?
      • jupereira0920 joined the channel
      • ymmor: non-Connect charges, or Connect charges with no application fee
      • marc__
        @ywain: Thanks! Basically, my calls to Stripe.applePay.checkAvailability() always return false. If I ignore that value, and force the button to show up and tap it, it all works perfectly. But that check fails with 'false' every single time no matter what I can come up with. What's also weird is, it only happens on desktop. Same code runs fine on iOS Safari
      • ymmor
        @ywain what are non-connect charges?
      • marc__
        @ywain: _And_, even weirder, the desktop Safari works on the Stripe Apple Pay demo site in a different tab (to confirm, this is all Apple Pay on the web/via JS)
      • ywain
        ymmor: a charge that you'd create on your own account
      • marc__
        I'm doing it via a Connect app, and I've verified the domain in the connected account via the API, I'm providing the Stripe.applePay.stripeAccount parameter, it's done over HTTPS.. as I said, if I ignore the false value and just go with it, it all works and does issue me a live, real charge, so something weird is going on!
      • ywain
        marc__: do you have a valid card attached to your Apple Pay account?
      • marc__
        Yep. It all works perfectly and charges me for real etc if I just ignore that false value from checkAvailability()
      • tlehoux joined the channel
      • ywain
        marc__: hm. this is a non-answer, but you can find an unminified version of Stripe.js here: https://js.stripe.com/v2/stripe-debug.js. Would you mind setting a breakpoint in applePay.checkAvailability so you can see where exactly the function returns with `false`?
      • lichi0323 has quit
      • jd_dosa joined the channel
      • jd_dosa
        Hello there
      • gambatte has quit
      • marc__
        @ywain: Yeah sure, give me 2 mins and I'll do it right now
      • mikedizon
        ywain: good to go, thanks
      • ywain
        Hey jd_dosa
      • mikedizon: \o/ glad I could help :)
      • jd_dosa
        Hi, Is it possible to move away from managed accounts to standalone accounts?
      • ywain
        jd_dosa: you can't convert your existing managed accounts to standalone accounts. But you can use both types of accounts at the same time
      • stripe699 joined the channel
      • stripe699
        Hello guys!
      • jd_dosa
        right now the platform charges from customer account and deposits to external account using managed accounts, is something like this possible in standalone?
      • stripe699
        I need some help to figure out why a guy wasn't cancelled.
      • This is on a test system.
      • ywain
        jd_dosa: you can create charges and send the funds to a standalone account, but you can't control how/when the funds will be sent to its associated bank account
      • Hey stripe699, sure
      • stripe699
        This is his customer number: cus_9GCj8kzDlkYCyl
      • He's on a plan which cycles every three days.
      • ywain
        stripe699: this customer is subscribed to a $0 plan, there are no payments, so no reason the subscription would be canceled
      • jd_dosa
        I see. So If a person creates standalone account using our platform, I can create charges on it? and how is that possible?
      • stripe699
        0 charge initially, and I bill him based on usage.
      • I set him up with a card that would fail when the payment was attempted.
      • It's set up to make one retry, then cancel.
      • gambatte joined the channel
      • ywain
        stripe699: you didn't specify the invoice ID when you created the invoice item: https://dashboard-admin.stripe.com/test/logs/re..., so the item is pending and will be included in the _next_ invoice.
      • stripe699: at this time this customer only has two $0 invoices, so no payment attempts at all
      • stripe699: you need to include the invoice ID in the `invoice` parameter when you create the item upon receiving the `invoice.created` event
      • stripe699
        I'm not specifying the invoice id? I thought I was updating an open invoice...
      • Ok, let me check. Thanks, ywain!
      • Tim joined the channel
      • ywain
        stripe699: no, check the request's log I linked. There's no `invoice` parameter in your invoice item creation request
      • mikedizon has quit
      • seengee joined the channel
      • deadghost__ joined the channel
      • einnjo joined the channel
      • irctc683 has quit
      • edrocks joined the channel
      • deadghost_ has quit
      • ArcAngel has quit
      • stripe699
        ywain: can you give me a link to where the invoice id is specified in the params? I don't know what keyword to specify.
      • ywain
        stripe699: presumably, you create the invoice item in your webhook handler for `invoice.created`, right?
      • edrocks joined the channel
      • jupereira0920
        hi everyone, how to prevent the stripe modal to close when the payment on the server side isn't completed yet
      • stripe699
        ywain: right, well, I'm doing this: InvoiceItem.create(invoiceItemParams);
      • ywain: I'm setting up the params, but, not including an invoice id.
      • tlehoux has quit
      • ywain: I wonder if I should be doing and update instead?
      • maybe like this: InvoiceItem ii = InvoiceItem.retrieve("ii_18z7qkBNPct58eW0B39Zsgpc");
      • Map<String, Object> updateParams = new HashMap<String, Object>();
      • ywain
        stripe699: no no, the creation is fine, but in your invoiceItemParams hash needs to include an `invoice` key with the invoice ID as the value
      • stripe699: how are you decoding the event object in your webhook handler?
      • stripe699
        Invoice invoice = (Invoice) event.getData().getObject();
      • ywain
        stripe699: so you can get the invoice's ID with invoice.getId()
      • stripe699
        Great. and just add it to the params with the "invoice" keyword?
      • gambatte has quit
      • ywain
        stripe699: exactly, something like InvoiceItemParams.put("invoice", invoice.getID()); should do the trick
      • gambatte joined the channel
      • stripe699
        ywain: thanks so much. Stripe support is the best ever, serious.
      • ywain
        stripe699: glad I could help! :)
      • joshuaw_ joined the channel