Support/Revenue Attribution
Revenue Attribution

Attribute revenue with Vercel v0

Before proceeding, confirm that you have set up Flowsery Analytics tracking on your v0 site and linked your Stripe account.

Prompt for v0

Text
I want to integrate Flowsery Analytics revenue attribution into my Stripe payment setup.
 
Please inspect the current payment implementation and apply the matching option:
 
1. If the app uses Stripe Payment Links, point me to /support/stripe-payment-links.
2. If the app uses Stripe Checkout Sessions, set metadata.websiteId on the Checkout Session and confirm the app relies on the supported Flowsery Stripe webhook events: checkout.session.completed, invoice.payment_succeeded, and charge.refunded.
3. If the app uses Stripe PaymentIntents, add metadata.websiteId consistently and confirm which supported Stripe webhook event will ultimately report the payment.
4. If the app uses another Stripe flow, suggest a server-side call to /docs/api-create-payment with a stable transactionId.
 
Tell me which method you found and which files you changed.