- the browser proves which Biqli click started Checkout;
- your server creates Stripe customers and Checkout Sessions with its Stripe secret key;
- Stripe webhooks prove payment, trial, invoice, and refund state;
- Biqli connects those objects without exposing private credentials to the browser.
End-to-end flow
- A visitor opens a conversion-enabled Biqli short link.
- The browser SDK captures
bq_idunder your consent policy. - Your application optionally creates a Stripe Customer and records a signup lead.
- Your server creates a Stripe Checkout Session.
- Before redirecting, the browser calls
storeStripeSession()with the connected Stripe account, environment, andcs_...ID. - The customer completes, delays, declines, authenticates, or abandons payment in Stripe.
- Stripe sends the selected event to the Biqli event destination.
- Biqli resolves the exact Stripe object mapping and records an eligible trial, sale, renewal, or refund.
Supported events
Configure the Stripe event destination for connected accounts with snapshot payloads and the API version shown by the Biqli app configuration.Supported outcomes
The integration covers:- paid one-time Stripe Checkout Sessions;
- delayed one-time payment success and failure;
- paid subscription Checkout;
- subscriptions with free trials;
- first paid invoices after trials;
- recurring paid invoices and renewal labels;
- partial and full refunds;
- duplicate event delivery;
- out-of-order Checkout, subscription, invoice, and refund events;
- isolated live, test-mode, and sandbox connections.
Attribution requirements
A conversion needs all of the following:- an active Stripe App connection for the Stripe account and environment;
- a valid, unexpired Biqli click from the same workspace;
- a successful
storeStripeSession()call before Checkout navigation; - a supported Stripe event with an exact mapped object, or the narrowly defined unique-email fallback;
- conversion tracking enabled for the workspace.
Security model
Biqli validates the publishable key, allowed hostname, click workspace, Stripe account, connection environment, Checkout mode, event signature, event identity, and object hierarchy before recording a conversion.
Choose the right implementation
Use the native Stripe App when Stripe Checkout is your payment surface and you want managed subscriptions, trials, renewals, and refunds. Use the generic server tracking API instead when:- you use Stripe PaymentIntents without Checkout and already preserve
bq_idin your order database; - you use a different payment processor;
- you need a custom revenue definition that differs from Stripe’s paid Checkout or invoice amount;
- you need to attribute an offline or manually approved sale.
Implementation path
- Install and connect the Stripe App.
- Implement click attribution and customer identity.
- Register and launch Stripe Checkout.
- Handle subscriptions, trials, renewals, and refunds.
- Test and operate the integration.

