Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'User' object has no attribute 'stripe_id' #7

Open
rnschmidt opened this issue Nov 22, 2011 · 7 comments
Open

'User' object has no attribute 'stripe_id' #7

rnschmidt opened this issue Nov 22, 2011 · 7 comments

Comments

@rnschmidt
Copy link

In the update view (in the marty app), where is stripe_id in user.stripe_id coming from on line 24?

https://github.com/GoodCloud/django-zebra/blob/master/zebra_sample_project/marty/views.py

I am following this example, but when I submit the payment form I get this error:

"'User' object has no attribute 'stripe_id'"

@skoczen
Copy link
Member

skoczen commented Nov 22, 2011

Thanks, Ron. Will get this mis-example cleared up.

@darkness51
Copy link

This continue without works.

Not is a good solution add a profile for this?

Best Regards

@skoczen
Copy link
Member

skoczen commented Jul 7, 2012

Your profile model needs to subclass the StripeCustomer mixin - the view as-is doesn't work properly, I just haven't had the time to get it cleaned up. Perhaps this weekend!

@ukch
Copy link

ukch commented Dec 7, 2015

It's been three years and the issue is still here. Any chance of a fix?

@leetrout
Copy link
Contributor

leetrout commented Dec 7, 2015

Sorry @ukch it's definitely fallen out of view. Are you actively using this library?

@ukch
Copy link

ukch commented Dec 7, 2015

No, I'm just looking into it. Is it still maintained?

@leetrout
Copy link
Contributor

leetrout commented Dec 7, 2015

No, not really. We built this when Stripe was still in beta and for various reasons no one really kept up with it. It probably wouldn't take much to bring it back in line but the architecture pattern didn't seem to appeal to the masses (take what you want vs the more common override what you don't).

I would suggest looking closer at https://github.com/pinax/pinax-stripe and https://github.com/pydanny/dj-stripe as I'm sure you already are.

On the other hand- if you want to further this library that would be a welcome effort. Unfortunately I don't have projects left that are using this in anger and I don't think @skoczen does either.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants