#stripe

/

      • sg27
      • Guest62658
        Hello all, has anyone come across an error "Invalid non-negative integer" when customers pay Invoices through Stripe?
      • Rikard has quit
      • Akashic_ has quit
      • stripe950
        @kaylined thank you
      • tr12
        Guest62658: if you look at the logged request in the stripe dashboard, what's logged there as the amount parameter?
      • uilnivek has quit
      • what that error is saying is that the number needs to be a number between 0 and infinity, and it can't have a fractional part
      • njbair has quit
      • njbair joined the channel
      • stripe950 has quit
      • wiherek joined the channel
      • wiherek
        hey, got an issue with payment request API – i get the yellow box saying browser does not support / no provided card, though I do have a card provided, and I actually saw the button – but only once! This is Chrome 62. Anyone familiar with such a problem?
      • payment joined the channel
      • payment
        Hello everyone!
      • tr12 are you still here?
      • I have an item and it's $45. I need to add 6.875% sales tax and then 2.9% tax for stripe and then the 0.30 processing fee from stripe. How could I do this?
      • samk has quit
      • tr12
        payment: yeah - you need to do a bit of math, though: https://support.stripe.com/questions/can-i-char...
      • timsabat joined the channel
      • payment
        tr12: Oh I see, but where would I add in the 6.875% Sales Tax of New Jersey?
      • tr12
        this comes with the caveat that I don't know how sales tax works in NJ
      • ie: I don't know what's tax-eligible there
      • assuming the entire amount of the charge is tax eligible, it goes in the same term as the stripe fee
      • orbyt_ joined the channel
      • ie: your take-home (t) relates to the charge amount (a) like: t = a - a * 0.029 - a * 0.06875 - 0.30
      • t = a * (1 - 0.029 - 0.0675) - 0.30
      • (t + 0.30) / (1 - 0.029 - 0.06875) = a
      • fate
        stop it!
      • no math!
      • tr12
        lol
      • payment
        tr12: Yeah the whole thing is taxable
      • tr12: Thanks, I got $50,21
      • fate
      • payment
        *$50.21
      • Lol fate
      • fate laughs
      • fate
        I'm in a funny mood today...
      • payment
        lel
      • timsabat has quit
      • tr12: Thanks, I ran through it and I ended up with $45.11 so I got $0.11 more than the $45 I needed. Thanks!
      • tr12: I used (45 + 0.30) / (1 - 0.029 - 0.06875) = $50.21
      • tr12: I just found out that the equation wouldn't work with 100% sales tax. It would come out to a negative number. How could I fix this?
      • (45 + 0.30) / (1 - 0.029 - 1)
      • kaylined
        Is there ever a scenario where there would be 100% tax?
      • Seems like a non-problem to me.
      • njbair has quit
      • rgbiv has quit
      • payment
        kaylined: Alright, thanks
      • njbair joined the channel
      • mfp has quit
      • njbair has quit
      • Guest62658 has quit
      • tr12
        I mean, it's correct that it yields a negative result with $100 tax
      • because between NJ and Stripe, you'd be paying 102.9% of the charge in either sales tax or fees
      • njbair joined the channel
      • echarlie joined the channel
      • echarlie
        is there any way to require your stripe team members to use 2fa?
      • tr12
        there is not, unfortunately
      • kaylined
        Not through Stripe, but there are ways to require your team members to use 2FA.
      • eric_lagergren joined the channel
      • rburak joined the channel
      • rburak
        I'm trying to tokenize user card data to be saved on their customer objects and want to create a custom input form for their card data. Is it possible to do this without Elements and just use Stripe.js to perform the tokenization on raw card data?
      • tr12
        rburak: per https://stripe.com/docs/security#validating-pci..., sure, but if you use stripe.js v2, you need to fill out a SAQ A-EP
      • rburak
        Hmm okay.
      • I'll check that out, thanks!
      • tr12
        all of elements/stripe.js v2/checkout produce a token, and otherwise have the same API interface as each other
      • but have UI differences (as you're aware)
      • and also require different levels of PCI compliance
      • elements and checkout only require SAQ A, stripe.js v2 requires SAQ A-EP
      • sg27 has quit
      • rburak
        I see
      • If I go with Elements, do I have to do anything to submit my SAQ A? I understand it's pre-filled and the docs mention there's no further action needed
      • kaylined
        tr12 is v2 being EOL'd any time soon that you're aware of? Or better question for support?
      • tr12
        kaylined: not any time soon
      • rburak: correct
      • itsTimmefy joined the channel
      • itsTimmefy has quit
      • kaylined has quit
      • rburak has quit
      • JDHawke joined the channel
      • srnagappan joined the channel
      • srnagappan
        Is there a way to modify the price of a plan?
      • JDHawke has quit
      • uilnivek joined the channel
      • uilnivek has quit
      • tr12
        srnagappan: no, you need to create a new plan
      • srnagappan has quit
      • rogue_koder joined the channel
      • ann_ joined the channel
      • ann_
        hi,
      • ann_ has quit
      • uilnivek joined the channel
      • stral joined the channel
      • stral
        Hello
      • I have one problem in stripe that I can't understand. When I create monthly recurring, It charge 2 times ?
      • $customer = \Stripe\Customer::create(array( "email" => $email, "source" => $token, )); $Subscription = \Stripe\Subscription::create(array( "customer" => $customer->id, "items" => array( array( "plan" => $retrive_plan_id, ), ) ));
      • whats wrong with code ?
      • tr12
        ie: two charges show up in the stripe dashboard?
      • stral
        no ! but it debits from credit card 2 times.
      • tr12
        a $0/$1 charge the first time, then the actual amount of the subscription?
      • stral
        We have $20 monthly plan so it debits 2 times $20 and again $20.
      • tr12
        maybe the charges are on two customers? can you try searching for last4:1234 (insert actual last of the card) in your dashboard to see what comes up?
      • stral
        Actually, I am developer and I don't have login details for stripe live.
      • tr12
        ah - it might be easier to debug this with access to the data
      • stral
        is the code above is correct ? I think that when customer created it charge $20 and then it chrage $20 when we assign customer to monthly plan
      • tr12
        that looks correct to me
      • deadghost joined the channel
      • jleclanche has quit
      • uilnivek has quit
      • ann_ joined the channel
      • ann_ has quit
      • tr12 has quit
      • TheAdversary joined the channel
      • stral
        It happens to only stripe live site. How to solve it ?
      • tr12 joined the channel
      • JDHawke joined the channel
      • JDHawke has quit
      • idontknow joined the channel
      • idontknow is now known as novinick
      • novinick
        hello, i am unable to create payout, anybody can help with this? tnx
      • tr12 has quit
      • wiherek has quit
      • stral has quit
      • ta joined the channel
      • novinick has quit
      • stral joined the channel
      • stral
        Hello
      • We have strange problem in stripe live mode
      • Stripe charging 2 times when creating customer and adding subscription plan in customer
      • Can anyone help me ?
      • dionysus69 joined the channel
      • dionysus69
        hey all
      • what is the cost of having stripe atlas?
      • I read that first conversation with lawyer and accountant is free, but what about afterwards?
      • ta has quit
      • agitator joined the channel
      • stral has quit
      • basiclaser joined the channel
      • snax has quit
      • pyface joined the channel
      • torgosPizza has quit
      • vamo-tamo joined the channel
      • vamo-tamo
        hello
      • vamo-tamo has quit
      • agitator joined the channel
      • agitator joined the channel
      • deadghost has quit
      • AK_ joined the channel
      • AK_
        Anyone familiar with "incorrect_pin" on bank decline codes ? https://stripe.com/docs/declines/codes