#stripe

/

      • milesmatthias joined the channel
      • koopajah joined the channel
      • milesmatthias has quit
      • saurabhjha has quit
      • milesmatthias joined the channel
      • derya joined the channel
      • derya
        Hello everyone. Was there a change to how trial periods work? I feel like our Stripe system would try to bill customers at the end of their subscription trials, and now it won't.
      • dqsf has quit
      • koopajah
        derya : we have not changed anything on our end recently. One potential difference is that you're manually creating subscriptions in the dashboard, if so, you need to explicitly add a trial to the plan
      • jcampagne joined the channel
      • saurabhjha joined the channel
      • derya
        Hmm weird. I'm not doing that but we did change another part of our systems so the problem must be there. I noticed this first when I noticed that, if I go to my Stripe dashboard and try to change the duration of someone's trial, I get this strange popup first telling me the subscription is "set to cancel" and that I have to reactivate it. I guess we must be creating the trial with different parameters than we normally are?
      • Before, I could edit their trial directly without having to click this "reactivate" button on that popup.
      • I think.
      • milesmatthias has quit
      • koopajah
        hmmm I'm not sure what screens you are referring to unfortunately so it's hard to say. We ignore the trial on a plan if you explicitly use subscription items
      • kies has quit
      • derya
        One sec I'll get it again.
      • john711 joined the channel
      • Ah never mind. I guess that doesn't happen when our system starts the plan, I must have done something manually through the dashboard without noticing or something - thanks for the help anyway!
      • sdivy100 joined the channel
      • Dsclilruth has quit
      • sdivy100
        hi - we just released to our production environment and are using our live API keys. so we can do end to end tests, will the test card numbers still work for testing or will only real cards work?
      • Andres_ has quit
      • Dsclilruth joined the channel
      • koopajah
        sdivy100 : as long as your "test" environment uses your Test API keys then it will still work!
      • cweiss has quit
      • _w joined the channel
      • derya has quit
      • kies joined the channel
      • sdivy100
        ok so our live key would not work with the test cards
      • _w
        Hi is there any way to add "Name" field to StripeCheckout.configure for Stripe Checkout Modal (https://stripe.com/checkout)?
      • koopajah
        sdivy100 : correct
      • sdivy100
        ok thanks
      • koopajah
        _w : there is not unless you collect the fully billing address
      • _w
        could you direct me to the right place for the documentation for configs for StripeCheckout.configure
      • koopajah
      • _w
        tyty
      • I was doing a full text search on the webpage didn't find it : D
      • should've just read. Thanks!
      • dopie has quit
      • Dsclilruth
        Any chance someone can help me with Shipping Rates + Shipping Methods? I am using EasyPost for the provider and trying to match the rates I am pulling on my form to match with the rates ID in the Stripe Order Array
      • _w has left the channel
      • koopajah
        Dsclilruth : I can try, no promises though. What's blocking you?
      • Dsclilruth
        Well I am using EasyPost API to calculate rates for shipping on my Shopping Cart Form. It generates rates just fine... But I am trying to pass these generated rates and the rate ID that was selected on the form to STRIPE so I can update the shipping method they want to use. But the ID's are not matching with what STRIPE is generating when it genera
      • tes an Order ID if that makes sense?
      • realisation joined the channel
      • koopajah
        I don't think that's how Orders/Relay work at all. EasyPost should send those to us directly instead. If you have integrated their API you should not use Orders and simply charge the total amount you want to charge
      • realisation
        hiya, anyone from Stripe here?
      • I'm wondering what the requirements for bank accounts on japanese custom accounts
      • there seems to be some conflicting information
      • that page tells me I need about 6 fields
      • Dsclilruth
        Well I am just using the API to calculate rates on my form so it gives them the price and shipping method selection. But yeah I noticed EasyPost automatically sends those to you guys when the order is being prepared. I'm just confused on how I can show Rates and SHipping methods to the customers and be able to update the shipping method on STRIPE t
      • hat matches with what they chose
      • realisation
        however, when testing, the API complains about not having the routing number
      • can anyone clarify the real requirements for me?
      • koopajah
        realisation : "When creating a bank via the API, combine the bank code and branch code to create a full routing number (e.g., 0123456)." that's what the docs say
      • john711 has quit
      • realisation
        icic -- that explains things
      • now, how should I structure my form?
      • will a japanese person know to do that, or should I put two fields and manually join the two?
      • koopajah
        I am not Japanese so I don't know. That's something you would figure out on your end. You could look at out own activation form for JP users for example
      • scott__ has quit
      • realisation
        can you point me towards that?
      • koopajah
        you can just sign up as a Japanese merchant in Test mode or look at https://connect.stripe.com/oauth/authorize?resp...
      • arnotixe joined the channel
      • sdivy100 has quit
      • Dsclilruth
        I guess I just don't understand how I am supposed to update the shipping method being used within the order after EasyPost throws STRIPE the array of methods
      • Pretty much just trying to use the shipping method that the customer selects from the shopping cart somehow
      • koopajah
        Dsclilruth : I'm sorry I'm still quite confused/lost with what you are blocked with. Can you show me a gist or some example response/JSON that I can look at? That will likely clarify the issue
      • arnotixe has quit
      • dopie joined the channel
      • Dsclilruth
        When I try to update a Order with the Shipping Method the customer selected at Checkout I am sending this request:
      • "selected_shipping_method": "rate_a03c111bab644721acde5ea55060091e"
      • This is what it is telling me: "message": "Specified a shipping method that was missing from the `shipping_methods` array.",
      • KoalaTea joined the channel
      • koopajah
        Dsclilruth : having an exact gist with the code you call and the exact response each step of the way would make this easier.
      • milesmatthias joined the channel
      • Dsclilruth
        All I am trying to do is Update the Shipping method to what the customer selects using my HTML Form during checkout.
      • milesmatthias has quit
      • It is defaulting to Ground and it won't take anything I throw at it to change the shipping method
      • milesmatthias joined the channel
      • koopajah
        Dsclilruth : I understand, but to help you I need to see what you're doing *exactly*. The real code (without keys) , the response you get from the API, the exact error message + request id (req_XXXX) you get back, etc.
      • arnotixe joined the channel
      • milesmat_ joined the channel
      • stripe404 joined the channel
      • stripe404
        HI
      • goog afternoon
      • good
      • Dsclilruth
        Here is the Request/Response
      • Then when I try to update the Order
      • koopajah
        so where is rate_a03c111bab644721acde5ea55060091e coming from? it's not in the response body
      • Dsclilruth
        I already know why it's erroring out though... It's because my generated Rates ID's are not the same that are going into STRIPE when the order is generated. So I need to find a way to somehow get the rates and update it to what the customer selected during the checkout
      • milesmatthias has quit
      • It's coming from my Generated Rates using the EasyPost API
      • So it won't match with what STRIPE has
      • I thought it would
      • koopajah
        yep that's what I was explaining earlier. This is not how it works. Either you integrate shipping yourself and calculate the total and don't use Orders, or you use shipping through Orders and use the rates in the Order itself
      • arnotixe has quit
      • Dsclilruth
        So instead of orders I should handle this with Payments?
      • dopie has quit
      • So I can tack on the shipping price to the total?
      • koopajah
        for example. Or use the shipping rates that are returned in the order instead of your own integration
      • Dsclilruth
        I'm also confused why my rate prices generated from EasyPost API is not matching with STRIPEs
      • When it is using EasyPost for the shipping in the Data Relay options
      • koopajah
        that part I can't speak to, you would need to talk to EasyPost directly
      • Dsclilruth
        So I guess I can create the Order and then pull the rates that STRIPE has... then let the customer choose so I can update the Shipping Method
      • koopajah
        yes! that's usually the right flow (though confirming the rates discrepancy is likely a good idea)
      • eric_lagergren has quit
      • eric_lag_ joined the channel
      • Dsclilruth
        Alright I will see if I can get that working then. Thanks for all the help
      • vbwyrde
        how do I create a test subscription plan in the stripe UI? i see I can create products... but where do I create a subscription plan so I can assign a customer to one and test customer.subscription.create ...?
      • koopajah
        vbwyrde : if you click on Subscriptions you can then see the Plans at the top. Otherwise https://stripe.com/docs/api#create_plan works too
      • jcampagne
        Hello people, to use the API, I have to verify my phone number, right? But even if I want to use the API for testing purposes?
      • vbwyrde
        ok ... thanks
      • koopajah
        jcampagne : this is likely due to you trying to pass raw card details via the API. That's usually not what you want, you should implement tokenization instead
      • jcampagne
        Yes, I know, so it's not going to be possible without tokenization?
      • koopajah
        it is, but you end up under a higher scope for PCI compliance: https://stripe.com/docs/security#validating-pci... it's likely that you do not want that.
      • mezod joined the channel
      • jesse__ has quit
      • jcampagne
        Alright, I understand now, thanks... I'm gonna use tokenization, thanks
      • vbwyrde
        I am wondering ... what is the minimum data I would need to store in my database to be able to tie back customer transactions to the stripe data store? In other words I want to keep a local database table of stripe transactions for a few things - new customers, customers when sign up for one of our subscription plans, and when customers cancel or
      • default on payments for their plan.
      • I don't think I need to store all of the data involved as stripe itself also keeps a record. Or is it considered a best practice to store locally all transaction data, in which case I would need different stipe transaction tables for each object I get from stripe?
      • realisation has quit
      • mmm... maybe that's a dumb qustion actually. I guess the answer is "whatever you feel most comfortable with"
      • koopajah
        you don't need to store everything. Just store what you need to build your reports. You don't want to hit our API to get all the amounts for the past month for example but you don't need to store everything either
      • realisation joined the channel
      • vbwyrde
        ok. that's a good point. from stripe's point of view it is probably best for me to just record the least amount of data I need - saves on server resources (on both sides).
      • Michael_MG has quit
      • op84 has quit
      • stripe973 joined the channel
      • stripe973
        Hello, i have a huge problem with my stripe integration. Can anyone help me?
      • koopajah
        stripe973 : what's the issue?
      • Xionkana joined the channel
      • stripe973
        I have bought a Wordpress theme where Stripe is intergrated. The issue is that this theme dont allow shipping physical products, meaning that the stripe dont gather customer shipping details, as i would like to.
      • koopajah
        gotcha. So if you use a third-party plugin you have three options here: 1/ contact the developers to support your feature. 2/ hire a freelancer to add the feature for you. 3/ use a different plugin.
      • saurabhjha has quit
      • stripe973
        I have made a new custom form which works, but i dont know how i can add a variable price from my sites cart, to the form
      • koopajah
      • you have to write code for this, both client-side and server-side
      • stripe973
        Thank you, i will take a look
      • Could you do the freelance work?
      • koopajah
        unfortunately I can't, I already have a full time job :)
      • stripe973
        Oh okay. i dont think my issue is such a big deal. I just want to add shipping details into the existing setup