Integration Tutorials /  

Stripe

Stripe

Track Stripe payments by receiving paid invoice web hooks from Stripe

Contents

Able CDP supports tracking of sources of the payments that are made using Stripe payment links. It records source of each visitor leaving website clicking on the payment link, associating the Stripe checkout session with the visitor identity. This allows to attribute all payment made by the users who complete the payment via a payment link to the original visitor sources, as well as send precise click id parameter to the supported ad platform integrations such as Facebook Conversions API, Google Ads API and TikTok Events API.

  1. Enable payment link tracking

    This will extend the tracking code to add (or record existing) client reference parameter in all Stripe payment links on your website, allowing Able to infer which visitor clicked each payment link.

    Open Able Dashboard and press ⊕ Add Service Integration button to do the action.
  2. Add Webhooks to Stripe

    To send Purchases and other subscription lifecycle 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 following events: invoice.paid, checkout.session.completed, customer.subscription.deleted, charge.refunded

    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.

Track Stripe Subscriptions, Billing or Invoicing funnels

Able Customer Data Platform invoice tracking works for modern Stripe integrations that use Stripe Subscriptions, Billing or Invoicing.

  1. To send Purchases and other subscription lifecycle 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 following events: invoice.paid, checkout.session.completed, customer.subscription.deleted, charge.refunded

    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.

Track legacy Stripe integrations

In addition to tracking Stripe invoice payments, Able supports tracking of Stripe one-off payments processed by Payment Intent integration or Charge API Stripe integration. This type of Stripe payment processing is often used by third-party checkout products and some third-party billing providers such as Chargebee. They're also sometimes used by custom-built integrations in order to save Stripe commission on Billing or Invoicing products.

  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 or 'charge.succeeded' event, depending on the payment flow used. See Migrating to the Payment Intents API and Charges API on Stripe website for details

    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.