After showing the test user (me) the Connect link and having clicked on it, Stripe won't let me proceed further till I furnish valid bank details. How do I complete my testing of the OAuth flow?
ywain
hi hsjawanda. in test mode, there is a banner at the top that lets you skip the form
hsjawanda
Thanks! I must be going blind!
ywain
Haha, no problem, it can be easy to miss :)
AndrewBC joined the channel
fels joined the channel
nilsmunch joined the channel
TheSmartPod has quit
phpeek has quit
George_ joined the channel
George_
hello !
ywain
hi George_, what's up?
George_
anyone here can help me with some info about stripe.com ?
ywain
sure
phpeek joined the channel
phpeek has quit
George_
can I ask here ? I wouldn't like to disturb the channel with my questions :D
ywain
George_: this channel is publicly logged, so please don't share personal information. but aside from that, the channel is quiet right now, so ask away :)
George_
okey dokey :D
ywain
also asking questions is what's this channel for so please don't be afraid to do so :)
George_
in short, I`m looking for a payment gateway, for a pet project I have (a wordpress blog, where I will sell access to premium content); I don't own a business for this, therefore this narrows a bit my possibilities but I would like to know if stripe would qualify
zachsnow joined the channel
ywain
You don't need an established company to accept payments with us. As long as your business (i.e. what goods/services you're selling) is not on our prohibited list, you're good to go: https://stripe.com/us/prohibited-businesses
George_
ywain would it be a problem if we would continue my quizz in private ? I won't keep you long
ywain
Not at all
hsjawanda has left the channel
SlexAxton joined the channel
zachsnow has quit
George_ has left the channel
startupality joined the channel
phpeek joined the channel
phpeek has quit
phpeek joined the channel
Mebbo joined the channel
Mebbo
Any developers around?
ywain
hi Mebbo
what's your question?
Mebbo
Hi @ywain. I'm wondering if I can handle plan downgrades at period end, using webhooks?
ywain
Sure, you could catch the `invoice.created` event and update (or cancel) the subscription at the end of a billing period
stripesnoob576 joined the channel
Mebbo
@ywain, yeah, that's the one that waits for an hour after all webhooks succeed before actual charging the customer right?
ywain
Exactly
Mebbo
@ywain, okay. That seems like it can work. Any plans to implement a will_change_at_period_end property on the subscription object?
@ywain, I think that would be handy to manage this sort of thing. Rather than having to store it in the application database.
ywain
you mean like the `at_period_end` parameter for subscription cancelations, but for updates instead?
Mebbo
@ywain: Yeah! Exactly.
ywain
I don't think there's any plans to add that. Can you explain your usecase? If it's the prorating you're worried about, you can disable it by setting `prorate` to false
Brendon_cpc joined the channel
Brendon_cpc has left the channel
Mebbo
@ywain Just the downgrade usecase. I want to downgrade at period end, so there is no need to alter plans during a period, or to manage account balances.
@ywain, I can store the fact the user has requested a downgrade in my database, I just think it would be nice and clean to have this stored in Stripe against the users subscription. I understand the cancel_at_period_end means that your code actually changes something; but I think it would be a nice hook to have.
ywain
I see. Could you write to support@stripe.com about this? That way we'll create a feature request and be able to let you know if the devs will add it
Mebbo
Okay, cool. Will do. Thanks.
ywain
You're welcome. Let me know when you send the email, I'll create the future request ASAP
feature*
Mebbo
Ta. Writing it now.
ywain
PM me your address so I can find your email. /msg ywain blah to PM :)
prashantyadav has quit
Cabbage joined the channel
Cabbage has quit
rubyonrailed has quit
Cabbage joined the channel
Mebbo
@ywain, done!
Cabbage
Hey folks. Y'know how when you query for an Invoice associated with a Subscription, the last element in the ->lines array represents the Subscription object the invoice is associated with? I've noticed that sometimes that Subscription's ->metadata key is populated, but sometimes it contains an empty object and I need to query the subscription endpoint to get a representation of the subscription that includes metadata
Is that in any way expected behaviour, or is it a bug?
ywain
hi Cabbage. You're saying that if the subscription has metadata, this metadata will sometimes be returned when accessing the subscription via the last line of an invoice, and sometimes not?
Cabbage
For some subscriptions it will reliably be returned, and for others (which also have metadata) it will reliably not be returned
I haven't seen inconsistent handling of a single subscription, just inconsistency across subscriptions
ywain
That does sound like a bug. Could you write to support@stripe.com? If you can include examples of subscriptions IDs and requests where you observe inconsistent behavior, it'd be very helpful!
Cabbage
Will do, just wanted to check I wasn't missing some crazy way this was intended behaviour. :)
rubyonrailed joined the channel
p15x joined the channel
rubyonrailed has quit
rubyonrailed joined the channel
rubyonrailed has quit
deciosilva joined the channel
deciosilva
hello good day
ywain
hi deciosilva
what's up?
deciosilva
hi ywain
i'm not sure i can get my doubt cleared here, but i'll give it a try
i got a pending amount in stripe, i was expecting it to be transfered last friday, as it is set in the options
but it's in transit and will only be processed next friday
so i wonder how long does it take until a payment is trasnfered?
ywain
usually it takes up to 5 business days for a transfer to go from "in transit" to "paid"
It might be available sooner though
Cabbage
@ywain sent through that email. The examples I have so far are isolated to one of our accounts (I'm a developer for two companies and we have two accounts with you, one for each company) but I can't be sure that it's not affecting both. The examples also use the PHP SDK but I assume that it's not an SDK bug!
ywain
Cabbage: thanks! It's not /completely/ impossible that the PHP bindings somehow change the metadata, but if it's indeed a bug my guess is that it's the APi level
it's at*... I can't type today :(
Cabbage
Yes, it would be a bizarre bug indeed if it were in the PHP bindings
deciosilva
ok thanks ywain
:)
ywain
deciosilva: You're very welcome :)
Cabbage
Any idea how long I should expect to wait for a reply? (I won't hold you to any number you give!) Need to figure out whether to wait for movement on your end or plough ahead with a workaround.
irctc252 joined the channel
deciosilva has quit
irctc252
can any one help me onTest webhook error: Domain unknown
ywain
Cabbage: We try to reply to all emails within 24 hours. If you can PM me your address I'll grab your email and create the bug report right now ;)
irctc252
i created a webhook and want to test that
ywain
hi irctc252. sure, what's the issue?
irctc252
i am getting an error Domain unknown
ywain:i cretaed a webhook with url for create plan and created a plan its giving me Domain Unknown
ywain
irctc252: where exactly are you seeing this error?
irctc252
ymain:when i click on send test webhook
flippyhead joined the channel
ymain:send webhok in account settings
ywain
that probably means that we were unable to resolve your domain name. can you give me the URL? (you can PM it if you don't want to share it publicly)
irctc252: that isn't a valid domain name. you must enter the URL for your webhook endpoint on your server
irctc252
ymain:can you help me in that
ymain:enter the valid webhook on server means
Swedishnutra
I opened a store on shopify recently. i have noticed some people have reached checkout and than left. Now one of my customers told me she wants to pay but she cant, and that her card is fully functional.
she is trying to pay with visa norde
ywain
irctc252: everything's explained in the docs: https://stripe.com/docs/webhooks. You need to write a webhook handler on your server and configure your account with the URL to this handler
Swedishnutra: Does she get a specific error message?
zachsnow joined the channel
chridal joined the channel
chridal
Hello! Is the stripe card token sensitive? Can I store that in my database?
Swedishnutra
I don“t know. She just emailed me and said it doesnt go through.
Mebbo has quit
so this webhook thing, will it guarantee that all payment go through? or
ywain
Hi chridal. Tokens can only be used once and should be used right after creation. You shouldn't need to store them on your end
Swedishnutra: the webhook thing was for another user (this is a shared channel)
irctc252
ymain:i configured in account setting
zachsnow has quit
yamin:webhook on the server means
yamin:i configured in account settingts with the url for create.plan
ywain
irctc252: yes, but have you created an actual handler on your server? meaning a valid URL that will process the event and return a 200 code?