#stripe

/

      • johannes_ joined the channel
      • jon_x114 has quit
      • hpar
        you're right, I'm wrong
      • johannes_
        Hello, I have a question regarding stripe connect.
      • hpar
      • johannes_
        Could anybody help me out?
      • hpar
        sure johannes_, what's the question?
      • neil1
        hpar: so plaid will only verify the account and stripe would charge it? So would a test account with plaid be alright for production?
      • johannes_
        is it possible to use the products api on that as well? I would like to handle the whole inventory process and so on through stripe if that is possible.
      • lukepb joined the channel
      • RBecker joined the channel
      • hpar
        neil1: correct, plaid is only used for account verification on Stripe. You need a production Plaid account to verify real bank accounts
      • johannes_
        So using stand alone accounts posting products with quantities, shipping options ect. to the stripe accounts of people selling products on our site.
      • lukepb
        Hello Stripe folks; Stripe support have not proven too helpful, looking for some more tech savvy help. My question is here: http://pastebin.com/jLHN0E6K
      • johannes_
        @hpar can you help me with that?
      • hpar
        johannes_: so would the products all be listed on your platform account?
      • nilsmunch has quit
      • johannes_
        they will be listed on our platform which is a marketplace. So our users will list them and connect to there stripe account to receive payments.
      • hpar
        lukepb: if you're working with Stripe support I'd recommend following up there, otherwise Stripe folks in this channel duplicate effort trying to answer your questions again
      • mischat joined the channel
      • but at first blush your model doesn't fit what's recommended for Connect; there are compliance concerns with taking money from non-Stripe sources and sending it through Stripe
      • lukepb
        @hpar: I've been trading messages there for 4 days
      • wayne- joined the channel
      • @hpar: not taking money from non-stripe sources. All money comes from Stripe-based CC transactions
      • neil1
        hpar: oh boo..they are a little out of our budget :(
      • johannes_
        @hpar on the stripe documentation under connect I only see the possibility to create charges and subscriptions.
      • hpar
        neil1: you shouldn't have to pay that $500/mo. at all, sorry, that wasn't clear. I meant you need to go through the normal Plaid setup steps
      • Lucc joined the channel
      • jon_x114 joined the channel
      • lukepb: similar concerns there, as the funds are moving in a way that Stripe can't account for
      • consti has quit
      • vinothgopi has quit
      • eacameron has quit
      • Gsham joined the channel
      • Lucc
        @hpar can I use Connect in my ios app without apple pay? it's not supported in my country
      • hpar
        Lucc: that should be fine, yes
      • dave0x6d has quit
      • Lucc
        great! is there a step by step guide on how to do it?
      • neil1
        hpar: wait, really? for production? no fee on their side?
      • hpar
        neil1: not at this time, no
      • mischat
        hello. We are looking to stripe for a product we are building. We would like to charge our customers $1k for credits (users have to buy credits in $1k chunks) and then maintain a balance for the user in terms of how much monies available they have remaining in their account. We were thinking of using the "account_balance" property on the Customer object so that we get an audit trail and stuff. We are we thinking along the right lin
      • es ?
      • hpar
        Lucc: https://stripe.com/docs/mobile/ios is the same whether or not you're using Connect
      • lukepb
        @hpar: if I'm creating the transfers using "source_transaction", does that not provide the necessary accountability? All other funds would be transferred out to the bank account for our platform account
      • neil1
        hpar: so just integrating with stripe is free?
      • SpaceGazebo2 has quit
      • SpaceGazebo2 joined the channel
      • johannes_
        @hpar do you know if we can use the product api with stripe connect?
      • hpar
        johannes_: that's correct, in order to use Relay on a connected account the products have to exist in that account. You might want to write in to email support with more detail about the app you're building https://support.stripe.com/email/login
      • Lucc
        thanks
      • Lucc has quit
      • johannes_
        ok thank you very much.
      • hpar
        lukepb: I just re-read your snippet (a third time) and I think what you're saying is: I want to create special case transfers all the time, but I'll always pass source_transfer to link this to a charge; is that correct?
      • lukepb
        @hpar: thanks for digesting it; yes, you've got it
      • hpar
        lukepb: yeah that sounds fine; can you direct message me your email though? I'd like to take a peek at a ticket
      • TheNewbie joined the channel
      • lukepb
        the param is `source_transaction`, according to docs
      • hpar
        I sent you a message already
      • mischat: account_balance isn't strictly designed for that, but I'm not seeing anything wrong with that approach
      • TheNewbie
        Hello - We realized that the UI for creating and editing subscriptions has recently changed on the Stripe dashboard. How do you set or update the trial period end when creating a subscription through the dashboard?
      • mischat
        thanks for the response hpar
      • We are looking at charging our customers in a kinda pay-as-you-go manner, where our users would buy for credits, in for example $1k chunks. They would spend these credits in our application. We were thinking of creating a Customer in Stripe, and then a Charge for the $1k, and then we were thinking of using the “account_balance” property to keep track of how much of their credits the given user has spent. We were thinking that i
      • hpar
        mischat: you need to tread carefully around stored currency and make sure the money never leaves your system; I'd recommend emailing support and also checking this link: https://stripe.com/us/prohibited-businesses
      • mischat
        f we used this “account_balance” we would get to use the nice reporting / auditing facilities of Stripe. Does it sound like we are abusing the “account_balance” or is there a better way of implementing this pay-as-you-go model?
      • hpar
        mischat: https://support.stripe.com/email/login for contacting stripe
      • eacameron joined the channel
      • mischat
        thanks for the link, am reading it now
      • and for the contact details
      • hpar
        TheNewbie: is it not appearing when you click the "more options" arrow in the dash?
      • nexie has quit
      • nexie joined the channel
      • mischat
        hpar: thanks for the link to the prohibited-businesses link, I can confirm that we definitely not operating in any of the listed domains. Definitely not trying to shaft people.
      • hpar
        well yeah, sorry, I wasn't trying to imply anything :)
      • mischat
        sure :)
      • hpar
        just the "virtual currency" part applies to what you're doing
      • as long as people can't cash out to USD or gift cards it _should_ be ok, but it's always worth emailing in with questions like this
      • mischat
        yeah I could see the money legal services section might also have been relevant
      • understood
      • i will send an email across across now.
      • TheNewbie
        When I bring up a customer, and then choose 'Add a Plan', I have to select the plan. I don't see the menu that you provided me the screenshot of.
      • The screenshot you sent me is what we used to see, but now that appears to be gone.
      • ta joined the channel
      • hpar
        hmm TheNewbie, that's concerning. I'd try refreshing the page and, if it still happens, let me know your browser/OS
      • skyloath joined the channel
      • skyloath
        yo
      • nexie has quit
      • datafate
        EHLO
      • skyloath
        are there any ios stripe devs around?
      • datafate
        No compute.
      • skyloath
        haha
      • fair enough
      • nullrefexc joined the channel
      • TheNewbie
        I refreshed the screen, but got the same result. I'm on a Mac, using Google Chrome on El Capitan 10.11.6.
      • hpar
        skyloath: sure, what's up?
      • TheNewbie: odd, that's nearly the same setup I've got here. Would you mind writing in and sending a screenshot + that browser info? https://support.stripe.com/email/login
      • TheNewbie
        Yes, will do. Thanks.
      • skyloath
        hey
      • nullrefexc
        When creating a Charge, I believe I was told that cards will respond with a success or failure immediately and ACH charges may take a few days to confirm as successful or not. Would it be better to instead of checking for success of a card charge immediately on return of creation, confirm it using the succeeded using web hook?
      • skyloath
        so im integration stripe into our ios app, building a custom view to list cards as opposed to using the one provided by stripe (STPaymentMethods...)
      • but wasn't sure how to set apple pay as the default payment method
      • on the list
      • with the STPaymentMethodsViewController, it was pretty nice as you could tap to selcet Apple pay or some other card as the default
      • SpaceGazebo2 has quit
      • SpaceGazebo2 joined the channel
      • kaylined has quit
      • consti joined the channel
      • @hpar
      • Gsham has quit
      • hpar
        skyloath: so if they pick Apple Pay it's tracked as internal state in STPPaymentContext, have a look at the source for how that works
      • so you'd need to track that as well, as you have to trigger the Apple Pay sheet when you want the user to pay
      • nullrefexc: why would you do that? You generally want to synchronously check the API response and show a message, it's much harder if you through in waiting for an async webhook
      • skyloath
        i had a look at the STPaymentContext, cant see a bool or anything for apply pay
      • are you referring to .paymentMethods?
      • STPApplePayPaymentMethod?
      • Gsham joined the channel
      • TheNewbie
        Just did so. Thanks!
      • nullrefexc
        @hpar: We allow for both card and ACH payments for the same thing.
      • eacameron joined the channel
      • @hpar: I don't necessarily want to send something saying something has been paid for ACH and later find out that it failed... and then have to go through everything.
      • hpar
        skyloath: if you look here this is how STPPaymentContext knows to show the Apple Pay dialog: https://github.com/stripe/stripe-ios/blob/maste...
      • in the STPPaymentMethods internal VC this class is used for apple pay: https://github.com/stripe/stripe-ios/blob/maste...
      • skyloath
        i used that exact line of code
      • to check if its an apple payment method
      • but that method doesnt have a token, liek a standard card
      • hpar
        nullrefexc: so what I think you want is to check the 'status' field when the charge is created https://stripe.com/docs/api/#charge_object-status ; it'll be 'pending' for ACH or 'succeeded' for card charges
      • skyloath
        as with a standard code I just called the stripe API to set the default payment method with that token
      • *card
      • but with the STPApplePayPaymentMethod it doesnt have a token, so wasn't sure how to go about setting it as the default
      • hpar
        skyloath: that's correct, the apple pay token doesn't exist until you call the apple pay dialog
      • it's all view controller state :)
      • you can't set the customer's payment method to apple pay, because the "source" doesn't exist until they put their thumb on the touch ID sensor and Apple sends Stripe the card info
      • mattox joined the channel
      • skyloath
        hmm, so how does the STPaymentMethodsViewController work?
      • nullrefexc
        @hpar: I get that, but aren't I going to be receiving webhooks for those charges that immediately succeeded anyway? If I do it that way, I will have to check whether I should now go through the process of sending something to say it succeeded or not
      • neil1
        Thank you hpar!
      • skyloath
        as i was able to set that as the default payment method without interacting with the touch id sensor
      • hpar
        skyloath: as you can see the PaymentMethodsVC has its own notion of payment methods, including STPApplePayPaymentMethod, and it tracks what's been selected; then, there's that logic in STPPaymentContext to use PKPaymentRequest instead of your BackendAPIController when STPApplePaymentMethod is selected
      • nullrefexc: is this an email notice?
      • nullrefexc
        No, it's done through a proprietary messaging service in our app.
      • hpar
        from a UX perspective, I would give someone immediate confirmation "thanks for your payment" and, if it's ACH add "once your payment is confirmed (in 3-5 days) your purchase will be complete"
      • but yeah for a notification I'd definitely use the webhook
      • just because you can write the logic in one place
      • skyloath
        hpar: I see, so a PKPaymentRequest is built (even though a payment isn't made) which returns a token that can be used to update the api
      • Shilon joined the channel
      • nullrefexc
        Yeah, and charge.failed for if it doesn't go through, correct?
      • hpar
        nullrefexc: yep
      • nullrefexc
        We would still send off a message saying that the charge was pending, whether it was a card or ACH, but wanted to use webhooks to send the final yes/no that it succeeded
      • @hpar: Thanks!