Customer portal is empty #4796
-
DescriptionWhen I open a customer portal, it just shows an empty page Current Behavior
Expected Behavior
ScreenshotsVideo: https://www.awesomescreenshot.com/video/35226934?key=6b53773ed9b47a086bd8163e0b9c7e78 Environment:
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
If you open it in the same browser session, then the server will authenticate you as a user (i.e. the creator of classroomio) and ignore the customer session token. Unless you buy your own product (you could 😄), you won't see anything. If you try to open the link in incognito mode, it should read the customer session token and you should see your customer's orders. Important In most cases, you shouldn't use those links to act on behalf of your customers. We've recently added features to cancel subscriptions directly from your admin dashboard, so it shouldn't be necessary. |
Beta Was this translation helpful? Give feedback.
-
Got it, thanks for the explanation. As regards cancelling subscription, I don't want to do it directly from the app (which is possible) The customer portal I used from Lemonsqueezy allows users not only cancel, they can also change their credit card, view all past subscriptions etc. Can my customers do all of those on the customer portal you provide? Also how do I generate that link from my app on the server? |
Beta Was this translation helpful? Give feedback.
From the customer portal, customers can access their benefits, view their orders/subscriptions, download invoices and cancel/upgrade subscriptions. Updating payment method is not yet supported, but that's something we'll add soon.
You can generate a customer portal session using the following API: https://docs.polar.sh/api/v1/customer-sessions/post You just need the
customer_id
. You'll get a JSON response containingcustomer_portal_url
, on which you can redirect customers to.