-
Notifications
You must be signed in to change notification settings - Fork 67
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
Comments
Thanks, Ron. Will get this mis-example cleared up. |
This continue without works. Not is a good solution add a profile for this? Best Regards |
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! |
It's been three years and the issue is still here. Any chance of a fix? |
Sorry @ukch it's definitely fallen out of view. Are you actively using this library? |
No, I'm just looking into it. Is it still maintained? |
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. |
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'"
The text was updated successfully, but these errors were encountered: