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

Tiered prices breaking pull_stripe action #45

Open
ladosha opened this issue Dec 13, 2024 · 1 comment
Open

Tiered prices breaking pull_stripe action #45

ladosha opened this issue Dec 13, 2024 · 1 comment

Comments

@ladosha
Copy link

ladosha commented Dec 13, 2024

If I have a tiered price in Stripe

Choose your pricing model
Tiered pricing
Volume

and define tiers e.g. 1-10 units is 100$, then 11-infinity is 150$

then when I call manage.py pull_stripe, it cannot insert the price since it queries the price.unit_amount and it ends up as NULL which is not allowed, an exception is thrown.
And the price cannot be deleted from Stripe if it's been used.

What could be the solution?

@ladosha
Copy link
Author

ladosha commented Dec 14, 2024

Found out I can clear all test data at once in Stripe Dashboard

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

1 participant