#blackbirdgunner

1 messages · Page 1 of 1 (latest)

smoky capeBOT
sly tide
#

👋 happy to help

#

would you mind sharing the invoice ID?

peak hearth
#

in_1NlRpmSAw4DIVBDnK8lRG8eu

#

it might show as paid since I manually charged it later from dashboard

sly tide
#

yes no worries

#

you need to look at the PaymentIntent object when you receive the invoice.payment_failed in order to understand more why the payment failed

#

which both say that the PI requires_action

#

notably 3DS

peak hearth
sly tide
#

yes

peak hearth
#

just to be sure, this is what I should be using to take further actions?

sly tide
#

no you shouldn't touch this

#

this is how to handle next action properly

peak hearth
#

any suggestions on how to handle this from server side? So basically we have Django backend and React frontend. When a user wants to upgrade their plan, we call an api on the server which uses stripe.Subscription.modify() to change the plan.

sly tide
#

if a PI requires an action, this means that you need to bring the customer back on session to authenticate the payment

#

there's no workaround

smoky capeBOT
peak hearth
#

is this approach correct?

#

Ideally I think I should using invoice.payment_action_required to trigger this, but at the moment I have no way of sending message to client side from webhook code.

stoic crypt
#

Hi! I'm taking over this thread.