on that php/html the form has been untouched, so it's most likely fine, and the payinfo.php function is triggering so the form submit process is happening, just something with the javascript it seems, either not triggering or not having a dependency i figure
thomasgriffin joined the channel
I clearly remember that when I click the button the page kinda stops and doesn't let the button "unpress" while the js runs, but now it does unpress and just goes to the php immediately
jayeb
ah
hmmok
I hope that's an ah of I know what's to be done heh
boucher joined the channel
jayeb
not yet
hmmok_ joined the channel
hmmok_
hmm a hassly dc
jayeb
can i see this live somewhere, hmmok?
or are you just running it locally?
hmmok_
umm sure I'll pm you
jayeb
thanks
hmmok has quit
hmmok_
umm how does one... pm?
jayeb
i just sent you one
sheena has quit
awfy joined the channel
beeker1121 joined the channel
Anonymous_ has quit
beeker1121
hi again, another question - which event would i want to listen for via webhooks for when a customer becomes deliquent in payment, i.e. all retries to renew their monthly subscription fail and their subscription is finally canceled
jamez14 has quit
begizi joined the channel
levinunnink joined the channel
mbu
customer.subscription.deleted beeker1121
beeker1121
ok ty, and say a customer ends their subscription in the middle of the month with at_period_end set to true, will the customer.subscription.deleted event be called twice, 1. when the customer first ends it (status will be active still though), and 2. when it finally cancels (status will be canceled), is this correct?
cwu has quit
mbu
beeker1121: there will be a customer.subscription.updated, for the at_period_end, then a deleted at the end
mbu thanks! hm ok, so if we want to change the trial_period_days, we'd have to create a new plan then?
sheena joined the channel
nathancahill
Is there a way to cancel a Stripe subscription if a website using Stripe does not provide a method?
mbu
jonathanchu: yep
nathancahill: hmm, are you a customer?
jonathanchu
thanks mbu!
nathancahill
Yes
timtch
[redacted]
[redacted]
[redacted]
mbu
have an IBAN?
timtch
[redacted]
[redacted]
mbu
[redacted]
not the bank
you should be fine
tjhanley has quit
levinunnink has quit
timtch
[redacted]
[redacted]
ksheurs joined the channel
Davey has quit
hmmok_ has quit
jonathanchu
this is a question i asked earlier today in IRC - if you have a subscription that is prorated, a customer buys it and then cancels a day later - the invoice item is deleted along with the subscription. shouldn't *some* money be invoiced for that day of use? or is this not-by-design for Stripe?
Davey joined the channel
mbu
hmm jonathanchu are you actually observing this?
we charge for the subscription up front and prorating it would mean that we credit the remaining *unused* days to the customer
hadees
does stripe.js create the token with out verifying the credit card is good?
is that why when I use the failure test numbers it gives me a token?
jonathanchu
mbu yes, seeing this behavior currently. we sign up, change quantities of subscription plan, and see the pending invoice. on subscription cancelation, those pending invoices are deleted and we technically have no payments.
mbu
oh are you talking about invoice items?
zrail
hadees: yes
hadees
zrail: is that in the docs somewhere, it was very confusing to figure that out
zrail
hadees: on production you'll notice if you try to use the test numbers it'll fail immediately
it *should* anyway
i don't know if it's spelled out in the docs
wjoe
I'm going crazy trying to get Stripe to work in IE (8 and 9, though I think someone reported the same problem with 10). I asked in here yesterday and someone said it's like a problem with my JS, but now I'm testing with the simple checkout.js code copied directly from the docs, and I'm still getting the same problem. when I submit the card details, it just reloads the page with the token and other things in the URL
has anyone else experienced this? am I supposed to do something different for IE? can't see any mention of differences for it anywhere
harbhub
wjoe, IE sucks
wjoe
I know :/
harbhub
just my two cents heh
wjoe
all perfectly fine in firefox and chrome, and now I've spent a couple of days trying to fix this IE bug
cwu joined the channel
sadly the site has to work for non-techy people who are likely to be using IE, including old versions
gurumelo
wjoe: url?
jonathanchu
mbu yes invoice items are removed, so technically no payments will be made. is this correct - by-design?
mbu
yep
invoice items are not prorated
jonathanchu
ok, thank you mbu, appreciate the help
mbu
sorry there's not a more satisfying answer :(
jonathanchu
mbu yeah :) it's nothing to apologize about, though appreciated. i guess the issue is that if a customer cancels a few days before their billing period ends, there's no way to bill for "time used" - is that correct?
mbu
if you're using invoice items instead of subscriptions themselves, yes
jonathanchu
oh but we are using subscriptions, monthly billing - we're seeing that if a customer cancels a few days after they subscribe, we have no payments in the dashboard even though they technically used a few days worth of time.