Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/integrations/stripe.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,8 @@ Once the integration is installed, Dub will automatically listen to the followin
Depending on your setup, there are a few ways you can track sales with the Dub Stripe integration.

- [Option 1: Using Stripe Payment Links](#option-1-using-stripe-payment-links)
- [Option 2: Using Stripe Checkout (recommended)](#option-2%3A-using-stripe-checkout-recommended)
- [Option 3: Using Stripe Customers](#option-3%3A-using-stripe-customers)
- [Option 2: Using Stripe Checkout (recommended)](#option-2-using-stripe-checkout-recommended)
- [Option 3: Using Stripe Customers](#option-3-using-stripe-customers)
Comment on lines +122 to +123
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟡 Minor

Anchor links look correct, but similar links elsewhere still use URL encoding.

The fix correctly uses the standard slug format (#option-2-using-stripe-checkout-recommended) that markdown processors typically generate from headings.

However, there are two other anchor links in this file that still use the URL-encoded %3A format:

  • Line 206: #option-2%3A-using-stripe-checkout-recommended
  • Line 359: #option-2%3A-using-stripe-checkout-recommended

These should be updated for consistency.

Suggested fixes for consistency

Line 206:

-If you're using Stripe's [Checkout Sessions API](https://docs.stripe.com/api/checkout/sessions/object) for a recurring subscription service, you might want to check out our [Stripe Checkout option](`#option-2`%3A-using-stripe-checkout-recommended) instead.
+If you're using Stripe's [Checkout Sessions API](https://docs.stripe.com/api/checkout/sessions/object) for a recurring subscription service, you might want to check out our [Stripe Checkout option](`#option-2-using-stripe-checkout-recommended`) instead.

Line 359:

-Alternatively, if you don't use Stripe's [checkout session creation flow](`#option-2`%3A-using-stripe-checkout-recommended), you can also pass the user ID and the click event ID (`dub_id`) in the [Stripe customer creation flow](https://docs.stripe.com/api/customers/create).
+Alternatively, if you don't use Stripe's [checkout session creation flow](`#option-2-using-stripe-checkout-recommended`), you can also pass the user ID and the click event ID (`dub_id`) in the [Stripe customer creation flow](https://docs.stripe.com/api/customers/create).
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@docs/integrations/stripe.mdx` around lines 122 - 123, Replace the URL-encoded
anchor links "#option-2%3A-using-stripe-checkout-recommended" with the standard
slug "#option-2-using-stripe-checkout-recommended" in the stripe.mdx content so
all references (the two remaining encoded occurrences) match the already-correct
anchor format; search for the exact encoded anchor string and update both
instances to the hyphenated slug.


### Option 1: Using Stripe Payment Links

Expand Down