tansengming / stripe-rails

A Rails Engine for integrating with Stripe
MIT License
753 stars 123 forks source link

Invalid validations for configuring products #209

Open andrewferk opened 3 years ago

andrewferk commented 3 years ago

Configuring products validates description can only be applied to a good and statement_descriptor can only be applied to a service.

Stripe doesn't have any validation like this, and reading the Stripe product object documentation, it doesn't seem this validation is correct.

Can the validation for configuring products be less constrained?

tansengming commented 3 years ago

Hi @andrewferk this issue sounds familiar!

Does this comment answer solve your problem? https://github.com/tansengming/stripe-rails/pull/198#issuecomment-733220876

If it doesn't I'll spend some time on it later. Unfortunately I'm a little busy at the moment and haven't had time to look into it just yet.