#kanohian
1 messages · Page 1 of 1 (latest)
check the corresponding payment intent here pi_3N4UWiBCFjuX40HQ0XqNHlGz
Check it in the dashoard here: https://dashboard.stripe.com/test/invoices/in_1N4USiBCFjuX40HQbTIAOAia
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
so why expired the pending update???
'payment_behavior' => 'pending_if_incomplete',
'proration_behavior' => 'always_invoice',
isnt supposed to always invoice ?
and also subscription has "collection_method": "charge_automatically"
Oh I see what you're saying
24 hours hasn't passed
It just expired the update with a new subscription update request
Not sure why that happened tbh. Let me check with a colleague
Just curious though. Why did you make essentially the same request back to back? That might be the issue
ie. https://dashboard.stripe.com/test/logs/req_ddcJvg5kqtgzQE and https://dashboard.stripe.com/test/logs/req_pGemlBx66NUmgZ
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
You just updated it with the same values
That might be why
There's no need to do that
test data was wrong
It's the exact same request though
but I updated it with another product
It's the same price id
In both those requests
price_1MsszbBCFjuX40HQM88GBYs5 for both
then why still has this price after update price_1MssnCBCFjuX40HQhhq9wIxJ?
You're doing pending updates
'payment_behavior' => 'pending_if_incomplete',
yeah, but shouldnt charge automatically because of this "collection_method": "charge_automatically"?
still in_1N4Ut4BCFjuX40HQZM6WT5eP fails. Complains about 'payment was initiated which requires an additional user action' which I suspect is related to 3ds
Hi, stepping in as it's codename_duchess's end of day. Let me catch up here
Sure!
basically
I am upgrading/downgrading subscription
on test mode of course
it used to work fine, but now it creates the invoice
and then it voids it or fails it
I suspect it is related to 3DS
yet not sure
looking at this in_1N4Ut4BCFjuX40HQZM6WT5eP. In the meantime, can you share an invoice id that 'used to work'?
we are using a fresh migration, that s why I am testing everything again
dont have old records I fear
No worries, you're intuition was right, it's due to 3DS: evt_1N4Ut5BCFjuX40HQDaUoZkxQ. We send
invoice.payment_action_required event when an action is required: https://stripe.com/docs/api/events/types#event_types-invoice.payment_action_required on the payment.
fewww
ok, part 2
via api, what can I do for handling 3d s cards ??
I read that it requires customer pays through next_action link form ? is that the only way?
Yeap that is correct. With invoices, we can send an email on behalf of you when 3DS is required, https://dashboard.stripe.com/settings/billing/automatic. But via the API, you'd look listen to the above event, https://stripe.com/docs/api/events/types#event_types-invoice.payment_action_required and bring your customer back on session to complete 3DS.