We have an api route at /api/v1/subscription/paddle/portal that will generate a nearly one time portal link for the currently logged in user. We should have this linked somewhere on the dashboard so they can update their payment information.
Additionally we'll need to adjust the code from
subscription = request.user.subscription_set.first()
to
subscription = request.user.subscription_set.filter(status=Subscription.StatusValues.ACTIVE).first()
So any previously cancelled subscriptions aren't used.
We have an api route at
/api/v1/subscription/paddle/portalthat will generate a nearly one time portal link for the currently logged in user. We should have this linked somewhere on the dashboard so they can update their payment information.Additionally we'll need to adjust the code from
to
So any previously cancelled subscriptions aren't used.