#stripe

/

      • Jourdan
        About the key, I don't know.
      • koopajah
        what is making this request? Sorry but I'm quite lost with what you're trying to reproduce
      • Jordan_Webhooks has quit
      • Jourdan
        It's a page of a web system I'm working. According to what was said to me, I'm checking the validity of the credit card to go on with whatever I have to do next.
      • koopajah
        sure but what is making this request. What exact *code*? Because the error is that the year is incorrect so it's likely in the past.
      • also it's supposed to be exp_year not expYear
      • Jourdan
        This last information is quite important. Going to check that.
      • MC__ has quit
      • omrikap has quit
      • RabSimpson joined the channel
      • RabSimpson has quit
      • Ashley__ joined the channel
      • Ashley__ has quit
      • orbyt_ joined the channel
      • jasmer joined the channel
      • Gabriel_
        @hpar I don't believe anything from Stripe is working.
      • jasmer has quit
      • koopajah
        Gabriel_ : do you have more details than this?
      • Gabriel_
        I don't actually. I'm new to ASP.net; is there something else specifically that I could provide?
      • koopajah
        hmmm right now it's really vague unfortunately :(
      • where is the error happening? Which exact line? Have you been able to just make a simple example using stripe-dotnet and nothing else? like calling https://stripe.com/docs/api#retrieve_customer
      • Gabriel_
        It says line 200: await SubscriptionsFacade.SubscribeUserAsync(user, planId, taxPercent: taxPercent);
      • koopajah
        okay. So what is SubscriptionsFacade? And what is SubscribeUserAsync? This looks like your own code
      • Gabriel_
        It's code from here: https://code.tutsplus.com/tutorials/building-a-... You can see the AccountController roughly 2/3 of the way down the page
      • arnotixe has quit
      • ta_ joined the channel
      • koopajah
        yeah but I don't see the code for SubscribeUserAsync anywhere
      • I wonder if it's because the tutorial is so old and the library changed a lot since then
      • Gabriel_
        Can you recommend a similar, newer tutorial?
      • I'm sure SubscribeUserAsync is from the SAASecom package
      • koopajah
        I don't know that tutorial so no. But we have a tutorial for Stripe/ASP.net: https://stripe.com/docs/checkout/aspnet
      • eric_lagergren joined the channel
      • ta_ has quit
      • ta_ joined the channel
      • ta_ has quit
      • ta_ joined the channel
      • nickdnk has quit
      • nickdnk joined the channel
      • orbyt_ joined the channel
      • jeff_ joined the channel
      • jeff_
        hello?
      • jasmer joined the channel
      • rogue_koder joined the channel
      • koopajah
        jeff_ : hey! what's up?
      • jeff_
        Whats up!
      • I have a question and I think it may be stripe related
      • Am I in the right place?
      • koopajah
        sure, what's the question?
      • jeff_
        Awesome. OK
      • Is there a way for me to charge a customer's credit card after 30 days or so?
      • Basically, I am developing a website for a client, and they will be selling an item online that comes with certain limitations
      • if said limitations are exceeded, we would need to charge them additionally. Sort of like an overage fee.
      • koopajah
        yes! https://stripe.com/docs/saving-cards you can save the card on a customer and then charge it later
      • jeff_
        What!?
      • nice
      • I am developing with Wordpress
      • Do i need to write a new script and place it on the server for this to work?
      • Can I perhaps copy the PHP code snippet that is on that link you provided?
      • Also, will the client ever need to do anything with this script? I'd like to keep him away from the code as he does not know anything about programming, hah
      • koopajah
        the snipped in the docs is really just an example. It's far from enough to handle payments
      • you, as the developer, have to write the entire code to collect card data securely with Checkout for example https://stripe.com/docs/checkout and then server-side create a customer and save the card and later charge that customer
      • jeff_
        I see..
      • I am using Checkout already
      • Spydar007 has quit
      • Ok, I am going to have to look further into these. Thanks so much for your help!
      • Is there perhaps video tutorials for how to do this?
      • koopajah
        I don't know of any video tutorial no
      • jeff_
        Ok, I am going to try my best! I've never done this before
      • RabSimpson joined the channel
      • nic_ joined the channel
      • jasmer has quit
      • nic_
        hi stripe team. hope you all had a great new years! got a quick question re: tokens. Correct me if I am wrong, but I understand that tokens are 'one time use'. When a user adds card to my service, if I authorize it (but not capture) to check CVV and ZIP, can I still use that original token to save it as a customer source should everything check out?
      • koopajah
        What you would do is this: 1/ create a token. 2/ create a customer to save that card https://stripe.com/docs/api#create_customer => this runs a $0/$1 auth on the card to make sure it's valid 3/4/5/6/ from them, charge that customer, forget the toke
      • jasmer joined the channel
      • digitalnomad91 joined the channel
      • Dusan_ joined the channel
      • nic_
        so if I understand you correctly, you're saying that creating a customer and adding the source automatically runs an auth?
      • koopajah
        yes if you use tokens it does this automatically
      • Dusan_
        Hey guys :) Do the user of stripe api have to provide a subscription cancel button for their customers?
      • jasmer has quit
      • koopajah
        Dusan_ : yes
      • nic_
        Okay what does it mean when I do exactly that, but it says that the ZIP passed, but the CVV check is 'unavailable'
      • jasmer joined the channel
      • jasmer
        @mattwc thanks I'll check it out and get back to you after I formulate a payment workflow.
      • koopajah
        nic_ : it means the bank did not check the CVC
      • rogue_koder joined the channel
      • Dusan_
        is there a way how can I report some users who do not provide that button? Or just send an email through https://support.stripe.com/email ?
      • nic_
        okay, thanks koopajah
      • koopajah
        Dusan_ : the best solution is to reach out to the merchant. They don't *have* to provide a button, I thought you were the developer asking if you had to implement it or if customers could cancel with us directly
      • nickdnk has quit
      • Dusan_
        Well I did contact them, They told me that my subscription is canceled, but in their, they are still showing that I am subscribed and the only thing what I can do is to update credit card information. And they are showing my old card (last 4 numbers) on my profile there. Is there a way how can I check with stripe if I am still subscribed or not?
      • Jourdan has quit
      • koopajah
        there isn't. But if they charge you, you would simply ask for a refund or dispute the charge with your bank
      • nic_
        What is the timeout amount for creating a customer? What is the max amount of time I can expect that operation to happen in?
      • either success or fail
      • koopajah
        our API has a timeout of 30 seconds
      • nic_
        okay great
      • Dusan_
        thank you
      • Dusan_ has quit
      • nic_
        So what would you recommend is the fastest way to get instant CVV and ZIP checks when a user is signing up so that they don't have to wait on all of those calls and responses? Do a standalone auth (not assigned to a customer), display errors if there are any, and if it's good just assign it to the customer?
      • (as a source)
      • koopajah
        nic_ : no, the right way is what I explained before. You can
      • You can *not* do an auth on the card and then add it to a customer
      • fireproofsocks joined the channel
      • Jourdan joined the channel
      • stripe506 joined the channel
      • stripe506 has quit
      • joshchap joined the channel
      • Jourdan
        Hey, @koopajah. Found a huge bug regarding the snake case thing. Thanks for the advice.
      • nickdnk joined the channel
      • joshchap
        Hello.. We are having a hell of a time with the payouts webhook. This is all using test keys and data. We have a platform account and a connected account. We are triggering a payout via the connected account. The signatures don't seem to match. What 'secret' should we be using?
      • the only things that could be wrong is that the wrong secret is being used or somehow our payload is in the wrong format.
      • koopajah
        joshchap : the secret would be the one associated with the webhook endpoint
      • stripe663 joined the channel
      • Jourdan : awesome that you found the bug!
      • joshchap
        @koopajah The test secret key?
      • @koopajah The test secret key? for the platform account?
      • koopajah
        joshchap : hum it depends what you call a secret? The Secret for the webhook endpoint is the one you see directly in the dashboard. The API key you would use is the one associated with the account where the webhook is created. You need both
      • Jourdan has quit
      • joshchap
        oh, look at that!! There is a 'signing secret'.. who knew??
      • Everyone probably..
      • nic_
        So is the max upper bound of time is *up to* 1:30 to know if their card is good and proper? (up to 30s to get token, up to 30s to get customer ID, and then up to 30s to add the source/auth before I know if there are errors?)
      • joshchap
        @koopajah.. Thanks! I will assume that is our problem.. we were trying to give it the API secret key.. I guess that won't work
      • koopajah
        nic_ : correct
      • nic_
        Thanks again Koopajah, that clears a lot up.
      • joshchap
        fixxxxorzzz
      • bacobits9982 joined the channel
      • bacobits9982 has quit
      • nic_ has quit
      • orbyt_ has quit
      • fireproofsocks
        Has anyone seen any tools for automatically processing product images before they get uploaded to the Stripe product dashboard?
      • I'm hoping to allow the client to upload high-res assets only... maybe we should do transformations on the API response before we send them to the browser...
      • nickdnk has quit
      • andriqueliu_ joined the channel
      • bennyp joined the channel
      • andriqueliu has quit
      • andriqueliu_ is now known as andriqueliu
      • bennyp
        hello! Any frontend engineers here? I'm hoping to get a follow up to a support email I sent regarding shadowDom support
      • koopajah
        bennyp : we don't support shadow dom right now
      • bennyp
        right! that's why I sent my email, I was wondering if it would be possible to set up a reference to the mount point on a global like window.Stripe.mountElement, which stripe.js could check for first before trying to traverse the dom
      • koopajah
        It's not something we plan to do in the short term as far as I know.
      • bennyp
        barring that, would it make a difference if I tried to mount a payment request api button instead of a stripe element?
      • duckduck joined the channel
      • duckduck has quit
      • koopajah
        I'll be honest, I don't know much about shadow DOM and I don't even understand your last question :(
      • jeff_ has quit
      • jasmer
        Hi guys! I need to create a short payment workflow. Before I figure out how to implement, I'd like to get your opinion on this workflow concept..
      • joshchap has quit
      • 1. Client Signs Up for a Subscription on https://maclifestyle.com/pricing (for example) by clicking "subscribe" in the table. I want the user experience for subscriptions to be QUICK so I don't want the customer to sign up for a username and password at that time.
      • bennyp
        one of the reasons stripe.js v3 doesn't work from inside a shadow root is because the library expect to find the mount point in a dom path that starts at the `documentElement`, but shadow Dom is a document fragment which made to be separate from the main document, so when stripe.js goes looking, it doesn't find the element because it's not purposefully crossing any shadow dom boundaries it finds. My proposal is to circumvent that issue by