#stripe

/

      • timebox joined the channel
      • ikazuchi joined the channel
      • Sonia joined the channel
      • Sonia
        Hu
      • Hi
      • timebox
        Sonia: Hi!
      • Sonia
        Any stripe customer service there
      • timebox
        Sonia: What's up? How can we help?
      • Sonia
        I have been waiting on a scheduled withdrawal for over 7 days
      • And is scheduled for a further 7 days but keeps increasing daily
      • Can you help me understand why
      • timebox
        Sonia: Ahh, ok. That's something that you'll have to reach out to Support about, as it's going to be specific to your situation and they'll have to look into the details for you: https://support.stripe.com/email/login
      • Sonia
        They dont reply
      • Their customer service is TERRIBLE
      • Can you get someone to look into my account plz
      • arkin
        hi all, the stripe elements JS is very limited and very americanised. Does anyone have an example where the fields are split out with clearer labels?
      • an example would be, when the postcode field is required, it pops up pre-filled with 90210, we are based in the UK and our users will have no idea this is for postcode entry.
      • timebox
        Sonia: There's really not much I can do from here, unfortunately - this is a place for developers to help each other integrate Stripe, not really for account-specific support. You may want to try re-sending your note and see if that helps.
      • dopesong joined the channel
      • dopesong joined the channel
      • arkin: The postcode placeholder will be based on the card's BIN - i.e., the first six digits - so if you enter a UK card, that will switch to the appropriate format. That said, you can split those out and set custom placeholders: https://jsfiddle.net/ywain/whj357u9/
      • arkin
        wow this is great, thanks timebox, does this still mean I don't need to be PCI-E ?
      • ikazuchi
        hello. I want to know about retrieving the shipping address when a customer is charged. I tried to '\Stripe\Charge::retrieve($charge_id)' but shipping returned 'null'. I checked the dashboard under 'Payments' and seem like the charges didn't capture the shipping address, just billing. Am I overlooking?
      • Guest46516 has quit
      • namber has quit
      • allibubba joined the channel
      • timebox
        arkin: This makes use of Elements, just in a different way - but as long as you're using Elements, you'll fall within SAQ A: https://stripe.com/docs/security
      • ikazuchi: Are you including the shipping address when you create the Charge? https://stripe.com/docs/api#charge_object-shipping
      • cperciva joined the channel
      • arkin
        Perfect, I vaguely remember reading we may have to submit a form for that @timebox — is it a requirement in the UK?
      • timebox
        arkin: I'm not 100% certain on the flow/process there, but I believe that PCI is international, so it applies everywhere. Might be worth reaching out to Support if you'd like more details: https://support.stripe.com/email/login
      • arkin
        Sure, when the application build is finished, I will advise the client. Thank you for your time @timebox :)
      • ikazuchi
        yes. StripeCheckout.configure({...,billingAddress: true, shippingAddress: true,}); During checkout, the shipping address is different from billing, but not sure where Stripe stores the shipping address after that.
      • arkin
        & help
      • Ferran-bl joined the channel
      • allibubba has quit
      • consu joined the channel
      • Godsson83 joined the channel
      • Godsson83
        Hello
      • Ferran-bl
        Hi there! I have an issue with a custom checkout integration...
      • Godsson83
        yeah i am making a app with android and using your android sdk to create a token
      • timebox
        Hello
      • Sonia has quit
      • Ferran-bl
        maybe it's just a basic thing... I can usea test credit card and I do see it in the "Events & Logs", but nothing appears in "payments". Do anybody know if I need to do something else?
      • Godsson83
        i want to use php to charge the card
      • juliopy joined the channel
      • timebox
        ikazuchi: Ahh, ok. So that just allows you to collect the Shipping address; you also need to use it when creating the Customer or Charge.
      • Godsson83: Right, you can definitely do that.
      • Godsson83
        if i post the token as a param via http url connection on android will the api recognize it when i post it via php server
      • Ferran-bl
        I started using just the basic checkout, but realized that I needed to change to custom in order to let the visitors choose an amount instead of having a fixed one.
      • timebox
        Ferran-bl: Checkout only creates Tokens, not Charges; you need server-side code (or a third party application) to create the Charge for you: https://stripe.com/docs/checkout/tutorial#tokens
      • Godsson83: If the Publishable Key in your Android app matches the Secret Key you use server side, then yes.
      • Ferran-bl
        OK. I got the token, so now I need to do the request to really process the payment. I was thinking that, but great to have confirmation
      • timebox
        Ferran-bl: Yup, you got it. :)
      • Godsson83
        sweet!!!
      • Thanks for the help
      • timebox
        Godsson83: You're welcome! :)
      • juliopy joined the channel
      • Ferran-bl
        Thanks @timebox! I am going to look into it. My goal is to make it as simple as possible... I don't want/need to keep the token for "later use", just send the charge immediately and that's all
      • ideally from a single page, that was the intention at least
      • consu has quit
      • timebox
        Ferran-bl: You can totally do that. You just need to create the Charge. That tutorial link should cover off the basics.
      • thinez joined the channel
      • Ferran-bl
        I started with a plain .html page, with the basic checkout. Didn't want to create so many php files
      • thinez
        Is there any way to ensure an invoice isn't charged before line items have been added via webhooks? I know it waits an hour but... that seems fragile
      • timebox
        Ferran-bl: Well, you'll need at least one PHP (or other server-side script) page to process the charge, but you can POST to there from an HTML page.
      • Ferran-bl
        Is it possible to do it from an ajax request?
      • jakob_ has quit
      • Gsham joined the channel
      • alexey_ joined the channel
      • timebox
        Ferran-bl: It's possible to POST the token to your server-side code via an ajax request, yes - assuming you're using the Custom integration: http://jsfiddle.net/bfsvy9ka/
      • alexey_
        what's the best way to process initial charge (setup fee) on a recurring subscription? I searched everywhere, and can't seem to find an answer. I can do the initial charge on my own but that uses up my token, so I can't reuse it for subscription. any thoughts?
      • jim_layhee joined the channel
      • Nicholas_Cardot joined the channel
      • Ferran-bl
        alexey_ you need to create a "customer", not just doing a payment.
      • @timebox wil check out that code. thanks!
      • alexey_
        @ferran-bl, I got that part. That's all good. I create a plan, I create a customer, I then create a subscription. Subscription requires source which can be a Token. the token has already been used for the initial set up fee
      • cweiss joined the channel
      • timebox
        alexey_: You're better off using the Token when creating the Customer, rather than the Subscription. Once you've got a Customer with a Card, there are two options: you can either create a Charge using the Customer (instead of the token), or you can create an Invoice Item on the Customer: https://stripe.com/docs/subscriptions/invoices#...
      • alexey_
        @timebox, got it. thanks
      • timebox
        alexey_: You're welcome! :)
      • alexey_ has quit
      • dopesong joined the channel
      • Tim_ has quit
      • Farcros joined the channel
      • dopesong joined the channel
      • Farcros
        Hello, I need help :D
      • J joined the channel
      • juliopy joined the channel
      • J is now known as Guest32924
      • timebox
        Farcros: Hi! What's up?
      • Ferran-bl
        @timebox the code you pasted is a full code for the custom integration, right? I adjusted one custom integration code, but looks the post thing was missing. Can I use the jsfiddle you pasted, adjusting to my needs or something else is missing? (No need to include https://checkout.stripe.com/checkout.js or anything like that? :O )
      • ekinmur joined the channel
      • deadghost_ has quit
      • Farcros
        hello timebox, my app is in spanish (for Spain) and I'm using stripe connect
      • AlJaMa joined the channel
      • but the form for /oauth/authorize (connect.stripe.com) is always in english
      • Ferran-bl
        Sorry, stupid question! I am including checkout.js, but from my own server! I was searching for "stripe" in the code and was not finding anything. But obviously it was called because the pop-up opens when clicking the button.
      • timebox
        Farcros: Hmm. That should localize based on the browser's settings, I think.
      • Farcros
        oh... I'm in Colombia, does the form show in english for Colombia ?
      • timebox
        Ferran-bl: You'll want to make sure you use the Checkout hosted with Stripe, rather than on your own server(s).
      • giopetris has quit
      • juliopy
        How can I customize the description on the transactions section of a payout? Currently it shows the customer's email, not the charge description https://cl.ly/2c3Z1n071y1L
      • timebox
        Farcros: It will - or should - show in whatever language the browser is set to; it doesn't matter where the user is located, just what language their browser is set to.
      • Ferran-bl
        OK, will change to the live checkout.js. (I am "replicating" an inherited site...)
      • timebox
        Ferran-bl: Awesome. And ... that's always fun. :)
      • Ferran-bl
        Big fun ;) Live code should just be "https://js.stripe.com/v3/" ?
      • Farcros has quit
      • Alma joined the channel
      • Alma
        How does a business issue instant payments to Connected Accounts in Stripe?
      • timebox
        Ferran-bl: Ya, you got it.
      • Ferran-bl: ... and not-live code too. :)
      • deadghost_ joined the channel
      • Alma: Assuming both your business and the Connected Account are in the US, you can do it like this: https://stripe.com/docs/connect/payouts#instant...
      • eshlox joined the channel
      • allibubba joined the channel
      • Alma
        Thank you. When I make that request then I get the following response: "You have insufficient funds in your Stripe account for this transfer. Your card balance is too low."
      • How do I go about adding a balance to my card or to my Stripe account?
      • hakuna joined the channel
      • onkora joined the channel
      • onkora
        Hi!
      • I have a silly question
      • timebox
        Alma: You can use the 4000000000000077 test card (https://stripe.com/docs/testing#cards) to create a Charge, and those funds will be immediately available. But that shouldn't be necessary for Instant Payouts, so there might be something else going on. Are both the Platform and Connected Account set up as US?
      • onkora: Hi! What's up?
      • clerum joined the channel
      • freesmoke joined the channel
      • freesmoke
        @hpar gm...you alive?
      • Alma
        Yeah, both the Platform and Connected Account are in the US.
      • timebox
        Alma: Hmm. And you're following all the example code there? If so, and it's not working, it may be worth reaching out to Support (https://support.stripe.com/email/login) so they can look into the specifics for you.
      • freesmoke: Probably, but not sure they're around; what's up?
      • davidyoung has quit
      • freesmoke
        hey im getting this error on a instant payout to a BOA account...why is it declining...the bank says they dont see this transactions anywhere..... "failure_message": "The bank has declined this transfer. Please contact the bank before retrying.",
      • timebox
        freesmoke: Hmmm. That's something you'll want to reach out to Support about so they can look into the details for you: https://support.stripe.com/email/login
      • onkora
        Is it possible to embed stripe receipts in an email instead of sending one from the dashboard?
      • Alma
        Thank you :)
      • timebox
        Alma: You're welcome! :)
      • onkora: Not really sure I understand what you mean; can you explain a bit more?
      • onkora
        To clarify, I just got a design for an email I have to markup that includes the stripe receipt as a section of the email instead of something separate.
      • juliopy
        @timebox Hi! Do you have any idea how can I customize the description on the transactions section of a payout? Currently it shows the customer's email, not the charge description https://cl.ly/2c3Z1n071y1L
      • onkora
        Looking around the docs made it seem like I could only send receipts from the dashboard
      • thinez has quit
      • timebox
        onkora: Ahhh, gotcha. You can send them automatically (https://stripe.com/docs/dashboard/receipts) but they aren't automatically sent in Test mode; only Live.
      • arkin
        Is there a way to make the "name" extra data field required? Also on the seperate fields that @timebox linked, is it possible to have the card icon?
      • And finally, is there a list of potential client validation error types anywhere? e.g. I am getting incomplete_zip but I feel the zip field may fail on other things...
      • timebox
      • juliopy joined the channel
      • arkin
        cheers
      • timebox
        arkin: I think you'll need to use your own Javascript to make the name field required. You can find the errors here: https://stripe.com/docs/api#errors
      • juliopy: How are you creating those Payments?
      • juliopy
        timebox: Those are payouts to our bank account, created automatically by Stripe