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 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
2 Replies
dennis
dennisOP5w ago
anyone? should i open a ticket somewhere?
bekacru
bekacru5w ago
You should open a ticket on polar's repo. Since the plugin is maintined by them.

Did you find this page helpful?