I want to use a customer instead of a charge id to retrieve a charge. Would I have to list all the charges and then loop through to find all with the correct customer id?
alex996_: the token can only be used in a single API request. If you use the token to create a customer, the token is consumed but the customer is created with a payment source that you can use to create multiple charges, either manually or via subscriptions
tonybeninate
any sane way to retrieve all connected accounts which have a negative balance?
Otherwise there is an error. Fatal error</b>: Uncaught Error: Class 'Stripe\Stripe' not found in stripe_receiver.php:7
Stack trace:
#0 {main}
Second link doesn't show where is incoming JSON POST is stored.
alex996_
ywain: Thank you!
kaylined joined the channel
UAPHS-USA
Anyone?
truepudding
how does trial_period_days work when there is more than one plan? overrides all of them?
meant to say - how does it work on 'subscriptions'
olearyk joined the channel
Eeshan joined the channel
olearyk
hello?
kaylined
Hola.
Eeshan
Hi, I connect stripe to an external application called Putler. I no longer have access to that external application. How do I cancel the authorization on Stripe?
Hi, I connected stripe to an external application called Putler. I no longer have access to Putler. How do I cancel the Putler authorization on Stripe?
olearyk
I'm new to stripe and I'm using it with my android app. How can I tell if a stripe charge was successful or not?
olearyk: You'll be able to tell by the response, and you'll be able to see it in your Dashboard.
But the Android App itself doesn't create charges(shouldn't), it just creates a Token which you pass to your server to handle the stripe interactions.
olearyk
Yes, I have created tokens on the android app and I am passing those to my server which handles the token with a php file, but I don't know how to get a response on the php file
Nebual joined the channel
kaylined
olearyk, when you create the charge(or customer) you will always get a response. Where you have this -> "\Stripe\Charge::create(array(());" make it $charge = \Stripe\Charge::create(array(()); and then var_dump($charge); and you'll be able to see the response in your Android dev tools debugger.
(assuming it's listening for a response)
frankdrey joined the channel
vincent joined the channel
vincent is now known as Guest33037
otherwise instead of var_dump($charge) you can use file_put_contents('test.txt', $charge); and then you'll be able to see the response inside the generated txt doc.
UAPHS-USA
Where is incoming data get's declared? Doesn't make any sense
<kaylined> when passing a token to the php file, do I need to pass it's string value the corresponding id? at the moment the parameter in the hhtp request is in the form 'com.stripe.android.model...'
UAPHS-USA
well, why not to write in example? include() something. Example is incomplete and wastes the time
kaylined
olearyk: You just need the token's id
will look like tok_xxxxxxx
UAPHS-USA: You're more than welcome to write into support(https://support.stripe.com/email) and let them know your thoughts, and they can probably provide clarity on the documentation for you.
UAPHS-USA
I thought this channel is all about such things like coding
exarkun joined the channel
I'm working in support too and I know that incomplete examples are real pain in a butt for customers. You can write a tons of text above it, but example is more important.
kaylined
It is all about the engineering side of things, and I've helped you out there. But I can't do anything about the wording in the documentation unfortunately, however Stripe's support most certainly can.
UAPHS-USA
Thank you very much
kaylined
No problem. If anything else comes up, feel free to ask away!
UAPHS-USA
I didn't mean to be rude, but I just say how it felt
olearyk
so I have added the var_dump($charge) to my php file but the result is still returning empty. Below is how I am calling the HTTp request, please let me know if you see any issues;
String result = ruc.sendPostRequest(Config.URL_STRIPE_CHARGE, data);
return result;
kaylined
olearyk, can you put your PHP code into a gist/pastebin(remove your API keys) so I can see?
Also that first line looks okay to me, but doesn't mean there isn't an issue somewhere upstream.
olearyk
sure, this is my first time using this chat sorry, how to I do that
ok, android is still returning an empty result for me
Mark____ has quit
kaylined
Do your server logs show that your Android is making a connection at all?
If you were sending any post data at all, that would dump it.
Daniel joined the channel
Daniel is now known as Guest8276
des_ joined the channel
Guest8276
I'm hoping to get a question answered regarding the oauth flow. Anyone available for that?
des_
Hello. I am wondering if its possible to style the ::placeholder pseudo-class using classes instead of the style object.
olearyk
I will check now, but it should be working, all other requests have been successful
des_
i.e instead of doing style -> base -> ::placeholder I would like to style it as classes -> className -> className::placeholder in a separate CSS file.
jleclanche
with the python API, if I do something like customer.email = customer.email; customer.save(); does it send an http write?
or is it smart enough not to send a noop?
Guest8276 has quit
sescob27 joined the channel
sescob27
hi everybody, i have a question regarding stripe invoice, we are trying to create some invoice items assign them to an invoice and the try to pay it immediately, if an error happen we try to do a rollback deleting all created invoice items and then closing the invoice but we are getting an error (Can't delete an invoice item that is attached to an invoice that is no longer editable), but the invoice is not closed neither forgiven.
vincent joined the channel
dchimento joined the channel
dchimento
Is it necessary to store the oauth access token after receiving it? It doesn't look like it's ever needed to make requests.
w/ Stripe.js, anyone have experience styling with classes instead of the style object for an element ?
mikey joined the channel
mikey is now known as Guest5460
Guest5460 has quit
mikey-stripe joined the channel
mikey-stripe
I could view my external accounts not to long ago but now im getting an error. seems like i am getting this after the api update? Im currently using this but perhaps this is wrong now?