#soumya

1 messages · Page 1 of 1 (latest)

whole streamBOT
left crag
#

This was suggested from ur collegue

#

hence i tried

#

but y does it generate setup intent succeeded event

mellow wedge
vague geyser
#

Hi 👋 taking over. No, adding a default payment method to a Subscription does not cause Setup Intent related Events to be generated.

left crag
#

But it is generating

#

can u check this evt_1NhsqHSCfQjwTWJ0cAiZtWoa

vague geyser
#

What do you mean? That is not a setup_intent.succeeded Event.

left crag
#

But it is still generating tht event

vague geyser
#

Ah I see. Is the concern that the Event is being sent to your endpoint? If so, you should be able to add logic in your Event handler to ignore it.

left crag
#

Okay we cannot stop from sending for trail subscriptions by adding anu fields?

vague geyser
#

Sorry, I'm going to need a couple minutes to look through this more closely.

#

Ah, I think I see why this is happening. Thank you for your patience while I took a closer look. I believe this is happening due to this being a transaction for an India-based card, so there are additional compliance regulations in place and I believe the Setup Intent creation/confirmation is part of that process. Discussed briefly here:
https://stripe.com/docs/india-recurring-payments?integration=subscriptions#subscription-creation

I do not believe it is possible to disable that behavior.

Learn how to update an integration to support RBI e-mandates.

left crag
#

is this because of indian account?

#

or is it because of currency being inr?

vague geyser
#

I believe it's because the country associated with the card being used is IN

left crag
#

Okay if we change the country will this work?

vague geyser
#

Are you going to be accepting IN-based payments in production?

left crag
#

no it will be GBP

#

currency will be GBP

vague geyser
#

Currency isn't relevant, what matters is the country the card being used was issued from.

#

If you're not going to have customers using cards that were issued from India, then I would not expect you to encounter this behavior. I would also recommend creating a new test account based in the country where you plan to go live to better replicate what livemode behavior you will see.

left crag
#

But the test cards are used for this the issue is because the account is created from india?