Trigger Events from Stripe Payments
Use the Stripe integration to send a Purchase event to Meta each time a payment completes in Stripe. This is the simplest way to track Stripe sales without building a custom setup.
Before you start, make sure your site is already connected in PixelFlow and you have access to create a restricted API key in Stripe.
Connect Stripe
In your PixelFlow dashboard, go to Events and click Add Trigger.
Choose Stripe Payments from the integration options.
Choose which payments to track
Select which Stripe payments should trigger Purchase events:
All purchases — Every one-off sale and the first charge of a subscription. Recommended for most accounts.
All purchases + subscription renewals — Also fires a Purchase event each time a subscriber renews. Most accounts shouldn't need this.
Add your Stripe restricted API key
PixelFlow needs a restricted key to create webhooks in your Stripe account. This takes about a minute.
Click Open Stripe API keys to go directly to the right page in Stripe.
Click Create restricted key.
Choose Providing this key to a 3rd party application, set the name to PixelFlow and URL to pixelflow.so.
Check Customise permissions for this key, set Webhook to Write, and leave all other permissions as None.
Click Create key, then paste the key (starts with
rk_live_) into PixelFlow.
The restricted key can only create and delete webhooks — PixelFlow cannot access the rest of your Stripe account.
Select your payment method
Choose how you're collecting payments in Stripe so PixelFlow can show you the exact setup steps.
Payment Link — A shareable Stripe link (starts with
buy.stripe.com) you send customers or use on a button. Most common.Third-party tool — Memberstack, Outseta, Bolt, or similar handles checkout for you.
Stripe Checkout — Your site redirects customers to a Stripe-hosted page (URL changes to
checkout.stripe.com).Pricing Table — A pre-built table embedded with a
<stripe-pricing-table>snippet.Stripe Elements — A custom payment form built with Stripe's developer SDK.
Set up a redirect link (optional but recommended)
This optional step dramatically improves attribution by passing extra buyer data to Meta. It takes about 30 seconds in Stripe. The exact steps differ depending on your Stripe checkout setup, so select your Stripe setup and follow the instructions.
Review and connect
The final step shows a summary of your setup before connecting.
Click Connect Stripe to finish the setup.
When a payment completes, PixelFlow sends a Purchase event to Meta with:
Email address
Name
Phone number
Purchase value
Currency
Content Type
If you set up the redirect link after Stripe, PixelFlow also includes:
IP address
City, State, Zip Code & Country
fbc (if the user came from a Facebook ad)
External ID
User Agent
fbp
Purchase events are deduplicated automatically. If Stripe sends the same payment multiple times via webhooks, PixelFlow sends only one event to Meta.
Test the connection
Complete a test payment in Stripe.
Open your PixelFlow Events Log and confirm the Purchase event appears.
Check Meta Events Manager to verify the event arrives there as well.
For a full testing workflow, see How to Test and Verify Your PixelFlow CAPI Setup.
What to do next
Track bookings with Trigger Events from Calendly Bookings
For URL-based confirmation pages, see How to Trigger Events When a Page is Loaded
For custom event logic, use the Programmatic Tracking API