tansengming / stripe-rails

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

Unsupported decimal prices: NoMethodError: undefined method `unit_amount_decimal=' #214

Closed denys-medynskyi closed 2 years ago

denys-medynskyi commented 2 years ago

I am unable to set decimal price for my product. As I see in the Stripe API reference - decimal price is supported.

Any tips how I can workaround this?

How to reproduce the issue:

denys-medynskyi commented 2 years ago

I need Package pricing and I don't think it is supported by API.

I am going to use UI https://stripe.com/docs/billing/prices-guide#create-prices