#stripe

/

      • dqsf
        hi Blackamoor
      • Blackamoor
        Hey dqsf
      • I want to use stripe for my marketplace app
      • dqsf
        Excellent! Have you taken a look at Connect?
      • Blackamoor
        no.....
      • dqsf
        Blackamoor: Check out https://stripe.com/docs/connect
      • Blackamoor
        all I have done so far is the rails user guide
      • and then I saved a token to use later as well
      • Ok taking a look
      • dqsf
        There's a nice example Connect app in rails here too, https://github.com/rfunduk/rails-stripe-connect...
      • kellysutton joined the channel
      • goddard
        anyone know of a good tut to get stripe working in laravel 5 with cashier?
      • not subscription based though?
      • brockhaywood has quit
      • cperciva giggles
      • cperciva
        apparently my bitcoin payments are "suspected fraud"
      • markin
      • cperciva: using some of those goxed bitcoins?
      • kellysutton has quit
      • cperciva
        markin: I'm guessing it's a case of a database field not getting populated and Null being interpreted as suspected fraud
      • markin: I've sent support@ an email so they can track down the bug
      • Blackamoor
        thank you dqsf
      • dqsf
        you're welcome. let us know if you run into any questions :)
      • brockhaywood joined the channel
      • Blackamoor
        I definitely will I have to wrap my mind around all of this.
      • dqsf
        hehe, there's a lot to learn!
      • markin
        I started a book on it!
      • dqsf
        Nice markin!
      • brockhaywood has quit
      • brockhaywood joined the channel
      • timrosenblatt joined the channel
      • zachsnow has quit
      • _DB joined the channel
      • timrosenblatt has quit
      • dqsf has quit
      • brockhaywood has quit
      • gwendall has quit
      • gladely joined the channel
      • Blackamoor has quit
      • r2integration has quit
      • aracodex12 joined the channel
      • feralbob has quit
      • kellysutton joined the channel
      • zachsnow joined the channel
      • irctc566 joined the channel
      • irctc566
        hi any admins from Stripe on?
      • I'm a long-time user of Stripe I've processed thousands.. yet recently with the new code changes you guys implemented I've been having problems processing payments
      • markin
        irctc566: I don't work for Stripe but I'm happy to help with the code changes
      • irctc566
        thx
      • edrocks joined the channel
      • the issue I believe is the description line
      • "description" => $_POST['stripeEmail']
      • that's what they told me to put in there
      • markin you there?
      • markin
        yeah, your front end code looks fine, but I don't know what your back-end code looks like (the actual php stuff)
      • Right now that button sends stripeToken and stripeEmail to process.php
      • irctc566
        yes
      • the issue is in process.php
      • Raj_ joined the channel
      • markin
        so what does process.php look like?
      • Raj_
        What is the ETA on Managened Account being final release
      • irctc566
        try { $charge = Stripe_Charge::create(array( "amount" => 49500, // amount in cents, again "currency" => "usd", "card" => $token, "description" => "payinguser@example.com") ); } catch(Stripe_CardError $e) { // The card has been declined }
      • that was the old style and it worked
      • no issues
      • now apparently with the rolled out code changes that no longer works it declines cards
      • apparently something to do with the description line
      • flags the system now
      • won't go through
      • hold on that looks like crap..
      • I forget the site that allows code to be pasted in and gives you a link to pass someone.
      • markin
        irctc566: yeah, creating a bunch of charges with an description of payinguser@example.com will cause issues
      • try { $charge = Stripe_Charge::create(array( "amount" => 49500, // amount in cents, again "currency" => "usd", "card" => $token, "description" => $_POST['stripeEmail']) ); } catch(Stripe_CardError $e) { // The card has been declined }
      • would work
      • Raj_: Stripe doesn't release timelines for that, betas are production ready though
      • irctc566
        I tried that already
      • didn't work
      • markin
        and that would be pastebin / github gist
      • irctc566: did you get an error or something?
      • if you go to your Stripe dashboard and go to logs do you see anything that says v1/charges?
      • Raj_
        Do Stripe issue 1099-K in case of Managed Accounts scenario
      • markin
        Raj_: yes
      • imkmf joined the channel
      • irctc566
        yes
      • no I see 200 POST /v1/tokens
      • not charges
      • kellysutton joined the channel
      • markin
        irctc566: that would tend to mean that your code isn't making a request to Stripe. Does your PHP error log have any errors?
      • irctc566
        yep
      • looks like an error for every failed attempt lol
      • markin
        irctc566: well whats the error?
      • irctc566
        PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20060613/uploadprogress.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20060613/uploadprogress.so: cannot open shared object file: No such file or directory in Unknown on line 0
      • Raj_
        Are these 1099K mailed to the managed account holder directly or we as marketplace holder will be responsible to distribute
      • markin
        Raj_: I do not know, managed accounts just came out so that won't be an issue till next year. I assume Stripe will provide some sort of email / pdf like they do for normal accounts
      • irctc566
        why's it calling to usr?
      • aracodex12 has quit
      • did new code changes create some sort of /usr directory/folder?
      • markin
        irctc566: its trying to load some php extension on your server, so php on your server is broke
      • irctc566
        I KNEW it
      • is it a permissions issue?
      • I've been back and forth with my hosting
      • first time it was a php lip permissions error
      • but maybe this time the tech just wasn't aware of this issue
      • that being said this has been an issue for two weeks now it's bizarre they can't figure out the php issue
      • markin
        irctc566: I don't think its a permissions issue, just a missing file or something that needs to get recompiled, I'm not sure
      • are you on hostgator?
      • irctc566
        liquidweb
      • before when I had the "payinguser@example.com";
      • the charges would sometimes go through
      • most of the time not
      • when I added the post stripeemail
      • it stopped working completely
      • markin
        I think you just had two issues coinciding with one another. Is the uploadprogress.so the only error in the php error logs?
      • irctc566
        [19-Apr-2015 21:32:43 America/New_York] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20060613/sqlite.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20060613/sqlite.so: undefined symbol: third_arg_force_ref in Unknown on line 0 [19-Apr-2015 21:32:43 America/New_York] PHP Warning: PHP Startup: pdo_mysql: Unable to initialize module Module compiled with module API=2006
      • if I need to upload new files to my directory for this to work with the new code changes.. they definitely need to notify people
      • I got no notifications whatsoever about this
      • markin
        are any of them PHP Errors or are they all PHP warnings?
      • These errors have nothing to do with Stripe but your webhost
      • TakeMyMoney
        anyone have any ideas why i would get an error message saying "cannot charge customer that has no active card" when im looking at the customer record in dashboard that has a card attached...
      • irctc566
        PHP Fatal error: Directive 'allow_call_time_pass_reference' is no longer available in PHP in Unknown on line 0
      • julian1 joined the channel
      • markin
        irctc566: ah that looks like the culprit, maybe your webhost updated your php verson?
      • TakeMyMoney: is the card expired maybe?
      • TakeMyMoney
        def not
      • markin
        irctc566: do you have access to your php.ini file?
      • irctc566
        that's the only error I'm getting
      • markin
        TakeMyMoney: in the dashboard does it say default card?
      • irctc566
        the rest are the warnings I already pasted
      • markin
        irctc566: yeah that fatal error is the culprit
      • TakeMyMoney
        yes
      • irctc566
        yes!
      • aracodex12 joined the channel
      • I did have my php version updated!
      • so what's that mean
      • markin
        irctc566: so allow_call_time_pass_reference isn't available in php >=5.4, do you have access to your php.ini file?
      • TakeMyMoney: and you're sure you're looking at the right customer (you double checked the customer id as opposed to the email)
      • irctc566
        is that located in root?
      • I recognize the file but havent' worked with it in a couple yrs
      • yeah I'm looking at php.ini.new and php.ini.orig in root
      • markin
        irctc566: it depends on a ton of things where that file is located, and often times it isn't settable in shared hosting
      • zachsnow has quit
      • TakeMyMoney
        yea, when i click on the failed charge in the log, i click on the customer link to ensure it takes me to the correct customer. the error also says param: "card", code: "missing" ... which i find interesting considering the api uses "source" now. this is a connected customer im referring to.
      • irctc566
        I've got my own server don't share it
      • vps
      • what's the issue I can either do it myself or get a tech admin online stat
      • markin
        irctc566: so you can run php --ini, to find your php.ini file and then you'd want to comment out the line that has allow_call_time_pass_reference http://stackoverflow.com/questions/12946835/dir...
      • TakeMyMoney: you're logged into your platform's account and you're referencing a customer in a connected account?
      • irctc566
        thx a ton Markin I'm going to try that now