#mudassir.dev
1 messages · Page 1 of 1 (latest)
Hi
The two events have the same id or different ones ?
Different
"id": "evt_1NUoihJDsF3FhY2a3HdODq7w",
"object": "event",
This one shouldn't exist
that means those are two different events triggered from two different actions.
This one shouldn't exist
Why ?
I only create one set up intent from my API which is then confirmed from the client side
This is the request that triggered that event req_N528nk8D5jUdJf, it's expected
But when it's confirmed I see two events
I have no idea where the other one is coming from
When I create a subscription with 100 percent discount does it also creates a setup intent
?
This event evt_1NUoihJDsF3FhY2a3HdODq7w is triggered from this request req_N528nk8D5jUdJf
yes
oh that's why. I create one from my api
Is there anyway I can assosiate my existing set up intent to
subscription
?
No, you can find all parameters for creating a Subscription here:
https://stripe.com/docs/api/subscriptions/create