Skip to content

Link to the Paddle customer portal on the dashboard #368

Description

@MelissaAutumn

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.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Fields

Estimate

None yet

Priority

None yet

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions