#satyashetty

1 messages · Page 1 of 1 (latest)

lucid shoreBOT
#

Hello! We'll be with you shortly. Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.

shrewd ginkgo
#

do you change any of your radar setting

#

can you give the example PI where it asks for 3ds on 4242?

lucid shoreBOT
stone marsh
#

@shrewd ginkgo - I didnt change any of my radar settings. It actually isnt asking me for 3DS i.e., for a non 3DS card - the payment just goes through. However, the invoice.payment_action_required event is still triggered . Thats what is making me ask you this question - is invoice.payment_action_required - triggered say when you goto make a new subscription after it has been canceled due to non payment i.e., for a new subscription am using 4242 ... card

loud glade
#

Can you share the evt_xxx ID?

stone marsh
#

this is in test mode

loud glade
#

Checking

#

Most recurring payments require authentication for Indian merchants, regardless of card

stone marsh
#

However, if you are saying that even if my customers are outside india & are using a foreign cc this will be triggered , then how do i change my logic to account for this false flag i.e., saying payment action required when in reality the payment went through . I am asking this as invoice.paid even can be triggered 1st & then invoice.payment_action_required - so in this case the latest webhook event is nvoice.payment_action_required which messes with my logiv

river lake
#

then invoice.payment_action_required shoudnt trigger right considering the customer is not from India & not using a India Bank issued CC.
no, not true. Many countries and banks implement 3D Secure(all of Europe, and yes increasingly in the US too) and any payment from anywhere might require it.

#

, saying payment action required when in reality the payment went through . I am asking this as invoice.paid even can be triggered 1st & then invoice.payment_action_required - so in this case the latest webhook event is nvoice.payment_action_required which messes with my logic
you can't rely on the order of webhook events https://docs.stripe.com/webhooks#event-ordering

#

what you should do always is retrieve the Invoice object from the API when you recieve one of those events, and then explicitly check its status and the status of the connected PaymentIntent, and update your system with that current state of the objects.

stone marsh
river lake
#

depends how you look at it. IMO it's best to treat the webhook as a notification that 'something happened' and then you call the API to inspect

lucid shoreBOT