#soumya
1 messages · Page 1 of 1 (latest)
This was suggested from ur collegue
hence i tried
but y does it generate setup intent succeeded event
I think I replied to you earlier: https://discord.com/channels/841573134531821608/1143509530601324554
Hi 👋 taking over. No, adding a default payment method to a Subscription does not cause Setup Intent related Events to be generated.
What do you mean? That is not a setup_intent.succeeded Event.
If you check this event here am passing defualt payment menthod to create trail period subscription hence i do not need serup intent event to generate
But it is still generating tht event
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.
Okay we cannot stop from sending for trail subscriptions by adding anu fields?
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.
I believe it's because the country associated with the card being used is IN
Okay if we change the country will this work?
Are you going to be accepting IN-based payments in production?
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.
But the test cards are used for this the issue is because the account is created from india?