Integration Tutorials /  

Stripe

Stripe

Track Stripe payments by receiving paid invoice web hooks from Stripe

Contents

Tracking Paid Stripe Invoices

Able Customer Data Platform invoice tracking works for Stripe integrations that use Stripe Subscriptions for invoicing. This is most often the case in case when Stripe is used to handle subscriptions and issue recurring invoices.

  1. To send Purchase events from Stripe to Able:

    1. Open Stripe Webhook Dashboard
    2. Add Webhook Endpoint https://app.ablecdp.com/api/properties/%%PROPERTY_ID%%/webhooks/stripe (where %%PROPERTY_ID%% is the id of your Able CDP Funnel) and enable the 'invoice.paid' event

    Able CDP will now receive webhooks from Stripe, automatically attributing Purchases by customer emails and phones and sending Purchase conversions with detailed Invoice Lines where supported.

    Read more about how to track SaaS conversion funnels on our website.

Tracking Stripe One-Off Payments

In addition to tracking Stripe invoice payments, Able supports tracking of Stripe one-off payments. This type of Stripe payment processing is often used by checkout products and some third-party billing providers such as Chargebee.

  1. To send Purchase events from Stripe to Able:

    1. Open Stripe Webhook Dashboard
    2. Add Webhook Endpoint https://app.ablecdp.com/api/properties/%%PROPERTY_ID%%/webhooks/stripe (where %%PROPERTY_ID%% is the id of your Able CDP Funnel) and enable the 'payment_intent.succeeded' event

    Able CDP will now receive webhooks from Stripe, automatically attributing Purchases by customer emails and phones and sending Purchase conversions with payment amounts.

    Paying using payment intents is often used by products that handle order process internally and use Stripe to offer checkout functionality. It's recommended to integrate these checkout events directly with Able when possible. See, for example, how to track WooCommerce Purchases.

    Please contact Able Customer Data Platform support for more information or if your Stripe integration scenario isn't described on this page.

Track Start and Cancellation of a Subscription

When subscriptions are used, its often useful to track subscription start and cancellation events.

  1. To send Subscribe and SubscriptionCancelled events from Stripe to Able:

    1. Open Stripe Webhook Dashboard
    2. Add Webhook Endpoint https://app.ablecdp.com/api/properties/%%PROPERTY_ID%%/webhooks/stripe (where %%PROPERTY_ID%% is the id of your Able CDP Funnel) and enable the 'checkout.session.completed' and 'customer.subscription.deleted' events.

    This will ensure that Able receives the most complete customer details when a new Subscription is created using Stripe, as well as when a subscription is cancelled by the customer.

Track Refunds

In addition to payments and subscriptions, Able supports tracking Stripe refunds.

  1. To send Refund events from Stripe to Able:

    1. Open Stripe Webhook Dashboard
    2. Add Webhook Endpoint https://app.ablecdp.com/api/properties/%%PROPERTY_ID%%/webhooks/stripe (where %%PROPERTY_ID%% is the id of your Able CDP Funnel) and enable the 'charge.refunded' event.

    All new refunds will appear as Refund events in Able.