Hello, Is there anyone online that might be able to help with an API issue?
My site just reported a stripe error when I try to create a customer. The error was the card being declined due to insufficient funds. At this point I am only calling Customer::create() and not requesting a charge to be made nor am I specifying how much I expect to make in the future. I cannot find any mention in the documentation of this scenario occurring, just that Customer::create() could throw "an error".
Why would Customer::create() throw this error?
Rinsewind joined the channel
railswebdev has quit
skarface| has quit
jaesung2061 has quit
wsl joined the channel
regedit has quit
shotbug joined the channel
Steven_ joined the channel
Steven_
Greetings, what happen if user sends wrong bitcoin amount to the address. Im interested on using Stripe for Bitcoin in wordpress.
ta_ has quit
gilmoregirl joined the channel
deadghost joined the channel
ronze__ joined the channel
ronze_ has quit
mezod joined the channel
pyface joined the channel
Steven_ has quit
mfp joined the channel
Chris_ has quit
andersgb joined the channel
ta_ joined the channel
shotbug has quit
shotbug joined the channel
shotbug has quit
shotbug joined the channel
slip has quit
CoolBreeze joined the channel
pytony has left the channel
UM_ joined the channel
UM_
Hi there - I'm just trying to edit our Plubic Information (https://dashboard.stripe.com/account) but the website does not store the changed Info.
may someone help?
UM_ has left the channel
basiclaser joined the channel
bwn joined the channel
gilmoregirl has quit
gilmoregirl joined the channel
gilmoregirl has quit
eshlox joined the channel
Elise_ joined the channel
Elise_ has quit
chrisCharlton joined the channel
chrisCharlton
Hi - can anyone help me with the order of processing of subscriptions and invoices? When a subscription is due to be paid I need to also calculate a variable amount and add that to the invoice as an invoice item. That seems OK when a subscription comes due (invoice.created webhook, allows me to create invoice items, then the payment itself is take an hour or so later
orlondow
Hi chrisCharlton there is a character limit on your messages so I could not see the question
chrisCharlton
However, when I create a subscription with no trial period, he order of webhooks received are: charge.succeeded (referencing an invoice I've not recieved yet), then invoice created (for the preceeding charge), then invoice payment_succeeded without any time to create the variable invoice items
Sorry orlandow - did you see both messages? The question is in the second message - does invoice.created work differently with a subscription with no trial period?
I.e. can I not create invoice items on it?
orlondow
chrisCharlton: when you create a subscription with no trial period the invoice is paid immediately and all the events happen at the same time
chrisCharlton
That's what I was sort of working out :-(
orlondow
the easiest is to create an invoice item before creating the sub
and ignore the first invoice in your webhook handler
chrisCharlton
But what do I hang the invoice item on? Do I create an invoice as well?
orlondow
since you get all the info synchronously in the script
So create and submit an invoice item for the variable amount, and immediately create the subscription, andf they should both be collected into an invoice?
orlondow
yep
chrisCharlton
cool. I'll try that now. Thanks.
orlondow
np!
kriss joined the channel
pyface has quit
gilmoregirl joined the channel
kriss
hi how do i go live? where do i find my stripe client ID?
where on the dashboard do i chnage my API from test to live?
orlondow
Hi kriss you go live by activating your account and then using your live API keys in your scripts
the dashboard does not change the state of your transactions
kriss
i did activate my account but i can't find the stripe client ID
orlondow
you need to swap the test API keys to the live ones in your website
kriss
i found the rest but not the client ID
orlondow
the Stripe client id is related to Connect
are you using Connect somewhere in your setup?
kriss
ok so i have to create a connect account as well to get the clieng ID? cause my website requires it
orlondow
I don't know, what do you mean by your website requires it?