Closed dmcmulle closed 6 years ago
pinax-stripe is not compatible with stripe 2.0.
@paltman
Please either get a fixed version released, or pin the stripe
dependency.
Thanks to @blueyed you now have two paths forward.
If you wanted to stay with pre-2.0 release of the underlying python-stripe
library, you can add pinax-stripe==4.3.1
to your requirements file. If you want the latest/greatest of the python-stripe
library, you can add pinax-stripe==4.4.0
.
Issue Summary
I have pinax-stripe 4.3.0 installed alongside stripe 2.3.0 (as specified in setup.py is >=1.7.9)
Since updating packages, we have received multiple errors on the webhook syncing with our Django application.
We've had hundreds of this error occur in the last 24 hours.
It appears that the StripeObjectEncoder may have been deprecated? As I saw in this:
Steps to Reproduce
Install pinax-stripe 4.3.0 with stripe 2.3.0
Attempt to sync via webhook (any Django management command will also cause similar errors to occur)
What were you expecting to happen?
When running python manage.py sync_customers, we also receive this message on prod:
What actually happened?
As a temporary fix, it seems setting stripe to version 1.84.2 (the last version before
StripeObjectEncoder
was deprecated) seems to have temporarily solved this issue.