#soumya
1 messages · Page 1 of 1 (latest)
You mean you don't want to listen to setup_intent.succeeded events?
No am listening but am creating a setup inetnt manually by passing customer Id and this provides secret key which we are passing to payment sheet to add card so after this is success i get the setup intent event and on this event am triggering trail peiord subscription .But problem is after this again am getting setup intent succeeded event and invoice.paid
This is messing up the logic
Do you have the event ID?
No problem, you can always come back to this discord server when you have the event ID.
is this flow correct?
Or do you have a susbcription ID that I can take a look at?
sub_1Ng6YmSCfQjwTWJ0Xk1mwzs2
https://dashboard.stripe.com/test/logs/req_lb4JKNqw50qYl5 I don't see any setup_intent assocaited with this subscription (i.e., its pending_setup_intent is null)
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
Let me recreate a send u one
sub_1NgKDdSCfQjwTWJ0ujAO2AnX
check this subscription Id
Here we created subscription by using payment method in this case we do not need setup intent succeeded event to be triggered
What's the ID of setup_intent.succeeded?
OK thanks.
Can you remove payment_settings.save_default_payment_method in the subscription creation request and try again?
And what's the setupIntent ID?
"seti_1NgKScSCfQjwTWJ0gtQkqes8"
can we use this collection_method=charge_automatically to avoid setup intent succeeded event?
👋 Taking over this thread, catching up now
Okay
Since your account is in India and it might be an Indian specific logic. Can I suggest you to write in to us https://support.stripe.com/contact, so that we can follow up and check with the relevant team? It’ll be helpful if you can include the Subscription and Setup Intent ID in your email.
Okay
Indian specific logic means?
LIke we cannot avoid generating this setup intent event?
As part of India directive https://stripe.com/docs/india-recurring-payments, it's likely that mandate on the payment method will be required through setup intent