polar icon indicating copy to clipboard operation
polar copied to clipboard

docs: create a guide on how to limit trials per user based on their past subscriptions

Open rishi-raj-jain opened this issue 3 weeks ago • 1 comments
trafficstars

From the discord chat

Create a guide on:

  • have two variants of each product, one with trial and the other without trial (can label one of them to say "With Trial")
  • create an API route where in the backend logic sees the customer/user that's logged in and makes the get customer state API call to see their active subscriptions OR the List Subscriptions API call to see all the subscriptions via their External ID
  • take them to the desired product (i.e. with or without trial) via creating a checkout session via the API

rishi-raj-jain avatar Oct 27 '25 06:10 rishi-raj-jain