manishkatyan / strapi-stripe

Stripe Plugin for Strapi CMS
65 stars 32 forks source link

Unable to create new product #114

Closed maximehamou closed 3 weeks ago

maximehamou commented 3 weeks ago

Hello, I've just installed strapi-stripe plugin. First of all, I am wondering what do we have to put in STRAPI_ADMIN_LIVE_STRIPE_SECRET_KEY and STRAPI_ADMIN_TEST_STRIPE_SECRET_KEY .env variables. But, more important, I cannot create a new product in Strapi dashboard. When I fill all the fields, some are deleted and the product is not created (see the video below)

https://github.com/manishkatyan/strapi-stripe/assets/105867084/313d1497-d59a-4039-9eac-6f0cd50fdf29

Thank you very much for your help!

maximehamou commented 3 weeks ago

I think the problem comes from .env variable, because is the Network tab of the dev tools, I have in the createProduct request, this response. I would really appreciate if someone knows what I have to put is those variables!

maximehamou commented 3 weeks ago

I putted the API key from Stripe. The docs is not very clear for this.