#stripe

/

      • ta_ joined the channel
      • DaWolfey joined the channel
      • drale2k has quit
      • nilsmunch joined the channel
      • mikesea joined the channel
      • ta_ has quit
      • PrplHaz4
        is it possible to do a partial capture from the dashboard? In test mode it seems like an all or nothing thing...
      • koopajah
        PrplHaz4: not trom the dashboard unfortunately
      • PrplHaz4
        thx koopajah, any idea if that's been put on a roadmap or anything? am i the first person to ask?
      • koopajah
        PrplHaz4: I'm sure I joined Stripe recently but I'll forward that internally. Most of our users use the API I think
      • I'm *not* sure. Forgetting the main word >_<
      • metateck
        when i add a card to authorize.net, they do a $0 or $0.01 authorization against the card to see if it succeeds. Does stripe do the same thing? It isn't clear from this page: https://support.stripe.com/questions/can-i-chec...
      • koopajah
        metateck: yes we do the same thing
      • but if you do what I explained in PM before we won't
      • PrplHaz4
        koopajah: haha...no worries - yea, i figured as much - just trying to avoid writing a complex backend when that's not the part that makes the money :)
      • koopajah
        PrplHaz4: yeah I can understand that
      • metateck
        does the trick you gave me in pm have to be done when adding the customer or the card?
      • it seems weird to do it when adding the customer
      • koopajah
        metateck: Do everything at once: create the customer and pass the card in the `card` hash and add the extra parameter
      • metateck: and we might just do all that for you if we do the migration
      • metateck
        that doesnt work when a user adds a second card
      • koopajah
        metateck: when you create the card we don't do anything other than basic number validation. We'll run the auth when you add it to the customer. So pass the same parameter when doing the update customer I think
      • metateck
        cards are created and attached to the user at the same time here: https://stripe.com/docs/api/curl#create_card i tried passing in the validation param but it doesn't seem to work, at least on the 400000...0001 card that is the stripe card to test declines
      • koopajah
        when you say "doesn't seem to work" what is happening ?
      • metateck
        stripe is responding with a "card_declined" error
      • kasperti_ has quit
      • koopajah
        Hum and it works with the same card when creating the customer ?
      • blaff joined the channel
      • metateck
        sorry i forgot i have a conference call at 1pm i gtg ill be back
      • frewsxcv____
        what is the significance of period_start and period_end on an Invoice?
      • koopajah
        metateck: no worries
      • metateck: for later, I can confirm that it does work when adding the card too you're just using an invalid card number
      • Jake232 joined the channel
      • Daniel0
        koopajah hi, presumbly if i am using stripe.js with subscriptions the amount you provide to the form html is for the first charge and then the subscription kicks in?
      • because i have plans setup in the dashboard thats all
      • Jake232 joined the channel
      • koopajah
        frewsxcv____: that's the period the invoice applies to
      • Daniel0: no Stripe.js will create a card token that you then need to use on the server to create a subscription: https://stripe.com/docs/api/php#create_subscrip...
      • Daniel0
        hmm ok
      • i figured i could use the blue pay button then after it comes back use the card token for a subscription
      • frewsxcv____
        thanks koopajah
      • koopajah
        Daniel0: you can
      • Daniel0
        ok thats what I thought, will have a read through/testing
      • thanks
      • yhoiseth has left the channel
      • koopajah i found this https://www.masteringmodernpayments.com/blog/us... , which should save me some time with little settings
      • flippyhead joined the channel
      • koopajah
        Daniel0: awesome!
      • JonHaider has quit
      • jthun has quit
      • nilsmunch has quit
      • DaWolfey has quit
      • Everhusk has quit
      • DaWolfey joined the channel
      • thomasreggi joined the channel
      • nilsmunch joined the channel
      • nilsmunch has quit
      • ta_ joined the channel
      • JonHaider joined the channel
      • pleasehelpme joined the channel
      • pleasehelpme
        davidmoran please help. I received an email from you today regarding my transfers
      • JonHaider has quit
      • koopajah
        pleasehelpme: you should answer the email, this channel is mainly for technical help like coding issues
      • ta_ has quit
      • blaff has quit
      • pleasehelpme
        I have answered the email. my transfers are still showing us as PEBDING/SCHEDULING. I have not received any transfers for this week and my last transfer is due to me tomorrow but there are no transfers scheduled
      • pending*
      • koopajah
        pleasehelpme: then someone will get to your message and answer you as soon as possible
      • _DB
        hey guys
      • JonHaider joined the channel
      • im wondering I have a card_update function
      • JonHaider
        Hey guys, I'm nack :D
      • Back*
      • _DB
        so the user can update his card information
      • problem is in laravel if the user has never made a purchase or subscribed
      • this function fails
      • JonHaider
        I was able to get a acard token using the XHR method, but I just can't get the cahrge function to work
      • koopajah
        _DB: what does the function do ?
      • JonHaider: what's the issue?
      • rfunduk
        JonHaider, you need to make charges on the server, not in the browser via XHR
      • koopajah
        rfunduk: he is using some equivalent of Parse Cloud called Appery or something
      • JonHaider
        correct
      • rfunduk
        hm
      • _DB
        $token = Input::get('stripeToken'); $this->user->updateCard($token);
      • koopajah
        JonHaider: first you should never create the token on the server since you need to send the card details. Always create the card token in the app (with the publishable key)
      • pleasehelpme
        can someone get to my account from here and make sure my transfer is scheduled. if tomorrow comes and you guys ate still holding nearly $800 that should have already been transferred waiting another 24-48 hours for an email response will not be ok
      • _DB
        thats it basically get the new token , update users card with stripe token
      • koopajah
        Then what error do you get on the charge ?
      • rfunduk
        pleasehelpme, we can't look up or discuss account specific info on irc unfortunately
      • Everhusk joined the channel
      • koopajah
        _DB: yeah but what's the error here that you get? what's the code in updateCard do ?
      • _DB
        well it says it fails
      • JonHaider
        I was just testing to see if my XHR method works, but you're correct. I want to create the token from the device, and then create a customer from the device and I can send the customer number to my server to run the charge
      • _DB
        im assuming (pretty sure im correct) that its because the user doesnt have a stripe id
      • and im updating
      • so im thinking what I have to do is if this is the first time the user is entering card info..
      • koopajah
        _DB: yeah that makes sense but you would get like a real error somewhere with a real message and some logs
      • _DB
        make a charge to the card of 000
      • so he can geta stripe_id
      • pleasehelpme
        so is nobody going to address my issue??
      • koopajah
        _DB: just create a customer when it's the first time
      • pleasehelpme: not here unfortunately no
      • rfunduk
        pleasehelpme, they'll get back to you over email
      • pleasehelpme, as soon as they can
      • _DB
        yeah to create a customer i have to make a charge however
      • so a charge of 000 should work
      • JonHaider
        When I try to run the charge I get an "Unrecognized request URL (POST: /v1/charges/). Please see https://stripe.com/docs or we can help at https://support.stripe.com";
      • koopajah
        JonHaider: no. You can *only* create the card token on the app. Nothing else
      • JonHaider
        got it, and I will send the token to the server (thanks). I really got it;
      • koopajah
        JonHaider: remove the trailing slash
      • JonHaider
        It worked
      • koopajah
        _DB: that doesn't make sense to me, you don't have to create a charge, maybe that's your plugin I don't know
      • JonHaider
        I love you
      • lol
      • koopajah
        JonHaider: I've heard that before and then they never come back
      • JonHaider
        Hahaha, Oh I'm sure I'll be bacl
      • back*
      • I'm a noob
      • _DB
        well where can I find the code to create a customer
      • perhaps ill use the actual code to create a customer instead of the functions laravel brings
      • pleasehelpme
        I understand you don't care but I need to get to the person who can release my funds...as soon as they can means nothing if the issue is not resolved by tomorrow.. we are outside the 7 rolling days...you guys are holding all funds and I need to get in touch with a human being who can assure my nearly thousand dollars will be promptly paid!!
      • rfunduk
        pleasehelpme, i know it can be frustrating, and we do care, but in this publicly logged channel with no way to verify identity we can't do a lot
      • pleasehelpme, the only support channel we have at the moment that can deal with an issue like this is email
      • koopajah
        _DB: I mean there's no chance the laralve bindings force you to create a $0 charge to create a customer (especially because you can't create a $0 charge). The create customer API doc is here: https://stripe.com/docs/api#create_customer
      • _DB
        hmm i see
      • ta_ joined the channel
      • im having trouble getting the code
      • Stripe_Customer::create(array( "description" => "Customer for test@example.com";, "card" => "tok_15QQPfLXR1VvABrb0tbBYSZn" // obtained with Stripe.js ));
      • that creates the customer now how do I get a return?
      • would i say $var = "CODE I PASTED" then acces $var for that info?
      • pleasehelpme has quit
      • freelyk joined the channel
      • Daniel0 has quit
      • freelyk
        Hello Stripe Team
      • Are there plans to support specifying which card a subscription is billed to?
      • jedahan has quit
      • jedahan joined the channel
      • pouledodue joined the channel
      • rfunduk
        freelyk, not at the moment that i know of
      • ta_ has quit
      • freelyk, for now you can just make multiple customers instead of multiple cards on a single customer
      • Daniel0 joined the channel
      • freelyk
        that's unfortunate
      • freelyk has quit
      • ta_ joined the channel
      • _DB
        Could not determine which URL to request: Laravel\Cashier\Customer instance has invalid ID:
      • what type of error is this?
      • koopajah
        _DB: a Cashier error I guess because you don't have a customer id
      • _DB
        ahhh
      • oh wow