#soumya

1 messages · Page 1 of 1 (latest)

light heraldBOT
pliant meteor
#

You mean you don't want to listen to setup_intent.succeeded events?

robust gull
#

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

pliant meteor
#

Do you have the event ID?

robust gull
#

yes

#

Currently am not able to find it

pliant meteor
#

No problem, you can always come back to this discord server when you have the event ID.

pliant meteor
#

Or do you have a susbcription ID that I can take a look at?

robust gull
#

sub_1Ng6YmSCfQjwTWJ0Xk1mwzs2

pliant meteor
robust gull
#

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

pliant meteor
#

What's the ID of setup_intent.succeeded?

robust gull
#

"seti_1NgKDeSCfQjwTWJ0jj5AnUco",

#

This is reqId -
req_GwiFWqqmpMnNqd

pliant meteor
#

OK thanks.

#

Can you remove payment_settings.save_default_payment_method in the subscription creation request and try again?

robust gull
#

Okay

#

Tried same didnot work it still generated the evnt

#

req_NYiG4yZr9LYhf1

pliant meteor
#

And what's the setupIntent ID?

robust gull
#

"seti_1NgKScSCfQjwTWJ0gtQkqes8"

#

can we use this collection_method=charge_automatically to avoid setup intent succeeded event?

light heraldBOT
earnest carbon
#

👋 Taking over this thread, catching up now

robust gull
#

Okay

earnest carbon
#

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.

robust gull
#

Okay

robust gull
#

Indian specific logic means?

#

LIke we cannot avoid generating this setup intent event?

earnest carbon