pinax-stripe-light icon indicating copy to clipboard operation
pinax-stripe-light copied to clipboard

Create customer without a User model

Open nickpolet opened this issue 7 years ago • 2 comments

Is it possible to create a customer and have the relevant webhooks and methods created for a model that is not a User?

For example, I have User models (which are users) and Business models (which have users attached to them). Users can make payments and so can businesses. I have attached customer objects to the users and would like to do the same with businesses.

If this is not possible, how do I handle the webhooks that pinax stripe handles? I would like businesses to have default payment methods and (eventually) subscriptions.

Or is this something that I should just be using stripe-python for? Just thought I'd ask to save me having to mix and match pinax-stripe with a custom solution.

Any help would be great.

nickpolet avatar Mar 21 '17 20:03 nickpolet

I'm also working on a project that has subscriptions tied to a model other than User. If there's a way to swap out the User model dependency easily, I'd love to know. I'm trying a few different django <-> stripe solutions and would love to give this one a try too

camflan avatar Apr 13 '17 02:04 camflan

I also ran into this, and so can't use pinax-stripe it seems.

Ramblurr avatar May 08 '19 07:05 Ramblurr