#whip-setintent

1 messages · Page 1 of 1 (latest)

wicked stag
tame girder
#

No that's a different thing and I already have a different event setup to do that. So I'm tracking 2 events, 1 when user submits the payment form, 2nd when the setup is actually complete.

#

Maybe then I can use setup_intent.created webhook?

wicked stag
#

can you share a bit more on what you're trying to do with the SetupIntent?

tame girder
#

It'll be used for a subscription

tame girder
wicked stag
#

i'm going to need to know what you're trying to do in detail before i can advise further

#

why is it that setup_intent.succeeded doesn't work for your use case, and why are you looking to action upon setup_intent.created instead? What specifically are you trying to do?

tame girder
#

I have 2 events on Facebook.

  1. Subscription intent: when user submits the subscription form and shares the payment details.
  2. Subscription ready: When we have the payment method ready to use.
#

We usually get a decent number of failed setups so we have 2 events

wicked stag
#

you want to execute a js code when a setup intent successfully confirms - what will this js code do? Are you displaying the status of the setup intent on your website?

tame girder
#

I have to send pixel event. Looks like this

fbq('track', 'Subscribe', {value: '18.95', currency: 'AUD'});
wicked stag