polar icon indicating copy to clipboard operation
polar copied to clipboard

Add option to set success_url when creating a checkout link

Open emilwidlund opened this issue 1 year ago • 1 comments

When copying a checkout URL from the product, it isn't possible to set a success_url.

We should make the "Copy Checkout URL" open a modal instead, where you can optionally set a success url, and select which price you want to generate the link for.

emilwidlund avatar Oct 04 '24 08:10 emilwidlund

Interesting! But this will require a dedicated object (like Stripe's PaymentLink) to make it work securely. We can't let checkout link arbitrarily set success URL (it would open up security issues with malicious users impersonating websites).

~1 week work.

frankie567 avatar Oct 04 '24 08:10 frankie567