stripe-python icon indicating copy to clipboard operation
stripe-python copied to clipboard

Feature request: get_stripe_dashboard_url()

Open jleclanche opened this issue 8 years ago • 4 comments

Had to implement a way to get the Stripe dashboard URL matching a stripe object for dj-stripe/dj-stripe#465. It'd be really nice if a solution for it were in the stripe library itself.

There is already a way in util.py to get the URL for a Request object, but not a generic way to get any object's dashboard url.

jleclanche avatar Mar 22 '17 07:03 jleclanche

@jleclanche That's a cool idea that we're investigating right now. The issue is how to ensure that the URLs are still valid if you're on a version and then they change in the future. We're discussing it internally and I'll follow up once we come up with a plan!

remi-stripe avatar Mar 23 '17 19:03 remi-stripe

Has there been some progress / decision being made in this regard? I would like to add it for pinax-stripe (via Django's get_absolute_url mechanism, https://github.com/pinax/pinax-stripe/issues/435).

blueyed avatar Apr 16 '18 18:04 blueyed

@blueyed It's not something we would build for now but I'll tag it as future as something we might want to look into!

remi-stripe avatar Apr 16 '18 18:04 remi-stripe