How to capture user ID in Webflow forms that redirect to Stripe before data submission?
Hi team,
I hope you're doing well!
We're currently experiencing an issue with capturing the user_id during our free trial sign-up flow. The challenge arises because the form is embedded in Webflow and immediately redirects to Stripe for payment, which prevents us from capturing the user ID before the user leaves the domain.
Have you encountered similar situations before? And is there a recommended approach to reliably capture the user_id either before or after the payment flow—perhaps when the user returns to the site?
Any guidance or best practices would be greatly appreciated.
Thank you!
Comments
1 comment
One option is to launch the checkout yourself using the DOM package. This would allow you to inject whatever code you need before the Stripe checkout actually opens?
https://developers.memberstack.com/docs/dom-front-end-package
Please sign in to leave a comment.