manishkatyan / strapi-stripe

Stripe Plugin for Strapi CMS
67 stars 33 forks source link

parameter_invalid_integer - unit_amount, when rounding decimal prices #67

Closed Robak08 closed 1 year ago

Robak08 commented 1 year ago

Hi,

stumbled upon this error in strapi logs. When creating product with decimal price (ex. 19.99), product is getting created but stripe cannot create price due to multiplication result.

Stripe dashboard log: image

node ver. 14.17.4 strapi ver. 4.5.3 strapi-stripe ver. 3.1.0

nishekh-e-r commented 1 year ago

Hi @Robak08, we have fixed the decimal point error while creating a product from the strapi, please download the latest version package here.

Thanks