Stripe 1.2.7 restore issues

Hi, I'm Sveltekit, eager to test this new function out, thanks for adding it! I haven't had success yet, I have been able to cancel subscriptions as normal and everything else works fine. The request to /api/auth/subscription/restore is still returning a 404 Not Found error. is the server-side of this implemented or is it all on the client side? The user.id is being pulled correctly here: const { data, error } = await authClient.subscription.restore({ referenceId: session.user.id }); Thank you!!
1 Reply
Ham
HamOP3w ago
I tested this in the production environment and it looks like it worked after all. It doesn't redirect me to Stripe, I guess there's no reason to and that's the correct default behavior. Nice! restored subscription checks out in stripe Logs POST /v1/subscriptions/sub_1RDok6C6ps9asS5Be0QtgFHT 200 OK 4/15/25, 3:14:49 PM

Did you find this page helpful?