#stripe

/

      • niftylettuce has quit
      • gnoze5 joined the channel
      • nodebase joined the channel
      • tomasm- has quit
      • startupality has quit
      • avstar joined the channel
      • prashantyadav joined the channel
      • saikat has quit
      • saikat joined the channel
      • cyle joined the channel
      • Ish_ has quit
      • prashantyadav has quit
      • Random joined the channel
      • Random is now known as SamSAS
      • SamSAS
        hello
      • can I have some information ?
      • vmayoral joined the channel
      • Brandon_ has quit
      • blackthorn has quit
      • dqsf
        SamSAS: what's up
      • BigJono joined the channel
      • vmayoral has quit
      • SamSAS
        dqsf, I have a question about the payment solution mobile
      • BigJono
        Hey guys, I'm trying to use stripe with react which doesn't like custom attributes on html elements. Is there a version of Stripe.card.createToken which just accepts a standard javascript object with fields or something instead of tying it all into form elements?
      • rubyonrailed has quit
      • SamSAS
        I searching for a payment mobile solution for my application, and I want to know if with stripe the customer have to retype his credit card number at each transaction ? or the credit card numbers are registered and saved by stripe for further transactions
      • dqsf
        BigJono: you don't have to use the data-stripe fields, see here it's using class selectors https://stripe.com/docs/stripe.js#card-createToken
      • the main key is just make it so the card data does not post to your backend or touch your server when the form is submitted
      • LochnessMobster3 joined the channel
      • SamSAS: No, you can vault a card in Stripe with our Customers feature https://stripe.com/docs/tutorials/charges#savin...
      • BigJono
        dqsf: thanks, does it matter whether those fields are passed in as strings or actual numbers? I'm assuming javascript would translate between them just fine anyway yeah?
      • dqsf
        BigJono: I think JS would handle that
      • BigJono
        just realised the answer to my question is literally right under the example... I'm an idiot haha
      • nomad joined the channel
      • kylelittle joined the channel
      • dqsf has quit
      • dqsf joined the channel
      • dqsf has quit
      • Is installing stripe via npm and including it using browserify/webpack the same as just adding Stripe.js to your code?
      • startupality joined the channel
      • Assuming you require it as "Stripe" (i.e var Stripe = require('stripe'))?
      • startupality has quit
      • nodebase has quit
      • avstar has quit
      • nomad joined the channel
      • SamSAS has quit
      • wallydz__ has quit
      • zachsnow has quit
      • prashantyadav joined the channel
      • prashantyadav has quit
      • nemothekid has quit
      • prashantyadav joined the channel
      • irctc439 joined the channel
      • Guest80822 has quit
      • p15 joined the channel
      • NicoJuicy has quit
      • nomad__ joined the channel
      • nomad has quit
      • kylelittle has quit
      • nomad joined the channel
      • cyle has quit
      • rromanchuk has quit
      • nomad__ has quit
      • LochnessMobster3 has quit
      • rubyonrailed joined the channel
      • nemothekid joined the channel
      • Jmar31 has quit
      • rubyonrailed has quit
      • wonder joined the channel
      • nemothekid has quit
      • wonder
        Howdy
      • wonder is now known as Guest72089
      • Guest72089
        Anyone around?
      • WSIO has quit
      • SlexAxton has quit
      • LatoSans joined the channel
      • rubyonrailed joined the channel
      • nemothekid joined the channel
      • dusttrader joined the channel
      • dusttrader
        Anyone live?
      • dusttrader has quit
      • dixon_ has quit
      • nemothekid has quit
      • nomad has quit
      • nomad joined the channel
      • nemothekid joined the channel
      • nodebase joined the channel
      • irctc796 joined the channel
      • Guest72089
        i'm alive
      • no one else appears to be
      • nemothekid has quit
      • irctc796 has quit
      • LatoSans
        Guest72089 - I checked my pulse, and seem to be. What's up?
      • LochnessMobster3 joined the channel
      • nomad has quit
      • Josh joined the channel
      • subsetpark joined the channel
      • Josh is now known as Guest45200
      • Ivoire_ has quit
      • nemothekid joined the channel
      • toltec has quit
      • Guest72089
        Hi sorry I missed your response
      • LatoSans - How you doing? I'm new to the Stripe API. I'm testing adding a tax_percent to invoices during the one hour window that they give you after the invoice.created event occurs.
      • I'm receiving the webhook call just fine. I then try to call the API to update the invoice with the tax_percent
      • I receive a 400 (bad request) error, and am wondering if that's because the invoice I'm calling on is already closed. That would make sense, but just trying to verify :D
      • In the meantime, I'm testing a different call now, creating a new coupon. Hopefully that'll work, and help make me feel good about my invoice problem
      • scellow has quit
      • kylelittle joined the channel
      • nomad joined the channel
      • nomad has quit
      • nomad joined the channel
      • LatoSans
        Guest11104, can you post via pastebin your request (minus any keys) and the log response?
      • Whoops, sorry. I mean Guest72089
      • limbera_ joined the channel
      • Guest72089
        LatoSans - sure, one sec
      • limbera_
        howdy LatoSans
      • LatoSans
        Hey limbera_
      • limbera_ - is the attempt showing up in your logs?
      • idris joined the channel
      • idris has quit
      • limbera_
        there are a number of tokens requests in the logs
      • because i am sending the CC details to stripe, and it's returning a single use token
      • but there are no charges in the log
      • toltec joined the channel
      • LatoSans
        limbera_ - So the cards are successfully added along with the customers, but it's just not charge at all or is a charge attempt done and failed?
      • limbera_
        this is the plugin that i am using: http://www.woothemes.com/products/stripe/
      • no charge at all
      • which implies to me that my wordpress app is not sending the charge to stripe
      • LatoSans
        Yep, but most likely Woocommerce.
      • dusttrader joined the channel
      • Are you doing everything in test mode limbera_ ?
      • limbera_
        yep
      • dusttrader
        Anyone with Stripe live?
      • LatoSans
        limbera_ - can you add the card to Woocommerce from a browser and make the test order there successfully?
      • limbera_
        what do you mean LatoSans
      • LatoSans
        If you were to visit Woocommerce on a computer browser directly, are you able to create test orders with succesful charges to Stripe?
      • limbera_
        umm let me try
      • irctc439 has quit
      • will need to configure the checkout page and product page (because i've compeltely removed them)
      • LatoSans
        limbera_ - no worries. I'll wait. Just drop my name in the reply so I'll know. Thanks, I want to make sure it's not WordPress or Woocommerce entirely, and with the API request to Woocommerce your app is making.
      • V28 has quit
      • Guest72089
        LatoSans, Hey your suggestion to check logs helped a ton. I didn't realize it logged these. It sais "Paid invoices can't be updated". So I'm all set. THanks a ton!
      • LatoSans
        You're most certainly welcome Guest72089 !
      • But just to double-check Guest72089, I'm assuming you double-check the dashboard to confirm that individual invoice has been paid?
      • Guest72089
        LatoSans, yes it has been paid. My project charges all customes on the 1st of each month, so I'm just getting ready for Nov 1. I set up a charge to happen tomorrow, so whenever Stripe sees fit to charge it, I'll check the log and see if it worky.
      • limbera joined the channel
      • LatoSans
        Great! Just double-checking cause it would be a shame if for some odd reason it wasn't.
      • Guest72089
        Indeed. Thanks again!
      • LatoSans
        You bet!
      • Guest72089
        Are you a Stripe employee?