Payment processor integrations
Stripe
Measure Stripe revenue and refunds
Spectacle integrates with Stripe to automatically receive relevant Stripe events. These events are then used to measure customer LTV.
Spectacle listens for the following events:
payment_intent.succeeded
refund.created
If you need more events, please let us know.
From these events, Spectacle will automatically track revenue (including negative revenue due to refunds).
Important Spectacle automatically fetches the Stripe Customer's email, so that their revenue can be attributed to the correct customer journey. This does require that you include the email
trait when you Identify customers. If you don't want to send the Customer's email to Spectacle, read on.
How does Spectacle reconcile customers?
Spectacle will try and find a customer id or email address for the Stripe transaction in the following order:
- First Spectacle will check the payment intent's metadata for a
spectacle_customer_id
- If nothing is found, Spectacle will fetch the Stripe Customer for the Payment Intent and look for a
spectacle_customer_id
in the Customer's metadata - If this field is empty, Spectacle will grab the Customer
email
If your integration with Stripe is not covered by the above, e.g. because you are using Setup Intents or a different method, please let us know.
Connecting
You can connect your Stripe account to Spectacle by clicking the "Connect" button on the Stripe integration on your workspace's settings page.