#cnguyen85

1 messages · Page 1 of 1 (latest)

scenic valleyBOT
serene gale
#

The difference that I see between the both is :
"payment_method_types": [
"card",
"paypal",
"sepa_debit"
],

and
"payment_method_types": [
"card"
],

vagrant acorn
#

Could you please share these events Id?

serene gale
#

Events ids are => evt_1NSEKVHVq3ZW5oizoumPj8u0 and evt_1NSEKTHVq3ZW5oizaIN0xkPp

vagrant acorn
#

thanks for sharing, checking...

serene gale
#

ok ty

vagrant acorn
#

These tow events were generated from two different requests:
req_s4jDuzBhwro8JS and req_GzBwktcXx0L8PA

serene gale
#

yes, how can I know why I have 2 events ?

#

I call it only one

vagrant acorn
#

The first request is from calling this API POST /v1/setup_intents/seti_1NSEKRHVq3ZW5oizvK1093C7/confirm and the second one is when calling this API POST /v1/subscriptions
Those are two different calls and not one call

serene gale
#

Ah ookkk. So this 2 events generate a 'setup_intent.succeeded' ?

#

How can I make the difference between the both in my code ? I want only handle the /confirm one

#

And you mean that 'stripe.subscriptions.create' generate a setup_intent.succeeded too ?

vagrant acorn
#

So that you can make the difference and track only the /confirm ones..