pinax / pinax-stripe-light

a payments Django app for Stripe
MIT License
686 stars 285 forks source link

Add a Validator for statement_descriptor #381

Open blueyed opened 7 years ago

blueyed commented 7 years ago

The format of the statement descriptor is very special: https://stripe.com/docs/api/python#create_plan-statement_descriptor.

I think it would make sense to have a validator on the model field(s) for this (Plan and Invoice).

paltman commented 7 years ago

I agree. Great idea.

paltman commented 7 years ago

Just updated the title to reflect it being a task that we should do, but not in Samwise.