© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
How to add query parameters to Polar checkout URLs? - Better Auth
BA
Better Auth
•
13mo ago
•
3 replies
dennis
How to add query parameters to Polar checkout URLs?
Hey there
, following
https://docs.polar.sh/features/checkout/links#query-parameters
you can add parameters like
discount_code
discount_code
to the checkout url and have them prefilled in the UI
.
– That does not seem to work with the Better Auth plugin
. Do I miss anything
?
I
've tried
:
https://localhost:3000/api/auth/checkout/pro-annual?discount_code=X
https://localhost:3000/api/auth/checkout/pro-annual?discountCode=X
– Without any success
.
Polar
Checkout Links - Polar
Sell your digital products with ease by sharing a checkout link to select products
Similar Threads
Similar Threads
Polar Checkout not working
BA
Better Auth / help
13mo ago
Polar
BA
Better Auth / help
12mo ago
Invalid query parameters when verifying Magic Link
BA
Better Auth / help
8mo ago
Stripe Embedded Checkout
BA
Better Auth / help
13mo ago