#crook
1 messages · Page 1 of 1 (latest)
hello, how are you integrated with Stripe? through a plugin?
@hasty gust let's please talk here
I can track events on my website bcz it's in the codebase but the stripe payment gateway page is through an api call. If you can help with it.. on how to approach it..
what is
stripe payment gateway page
is that Stripe Checkout?
Yes I guess it's plugin only
it looks like this
I want to track when the user clicks on this pay button... was the payment succesful or failed..
I shared the image above. This is the page I was talking about
that is Stripe Checkout yes
my question was more that, are you fully integrated with Stripe with your own code? your own backend and frontend code?
Gotcha, so in that case you can set up a webhook endpoint and listen for events related to payments from that Session. You will likely want to listen to the payment_intent.payment_succeeded and payment_intent.payment_failed events here as they will trigger each time a subscription succeeds or fails. https://stripe.com/docs/webhooks
Keep in mind though that our Checkout page tries to handle errors, so a user might have a payment fail but then might put in the correct payment method info and have the same payment succeed
Ohh ok thanks