Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't fetch Product List on Strapi 4.12.5 #105

Open
Slazerslaze opened this issue Sep 23, 2023 · 1 comment
Open

Can't fetch Product List on Strapi 4.12.5 #105

Slazerslaze opened this issue Sep 23, 2023 · 1 comment

Comments

@Slazerslaze
Copy link

Strapi: 4.12.5
Strapi-Stripe: 3.4.1

Hey,

I'm trying to get a list of the products/subscriptions using the "/strapi-stripe/getProduct/0/10/price/asc" Endpoint.

But it's not working. I get back an Internal Server Error with status 500.

Logs of Strapi:
error: Cannot read properties of undefined (reading 'substring')
TypeError: Cannot read properties of undefined (reading 'substring')
at module.exports (/opt/app/node_modules/strapi-stripe/server/policies/apiToken.js:4:66)
at policiesMiddleware (/opt/app/node_modules/@strapi/strapi/lib/services/server/policy.js:17:28)
at dispatch (/opt/app/node_modules/koa-compose/index.js:42:32)
at /opt/app/node_modules/@strapi/strapi/lib/services/server/compose-endpoint.js:33:12
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

Is there a way to fix this?

@nishekh-e-r
Copy link
Collaborator

We are no longer maintaining this plugin. If you are seeking paid support, feel free to reach out to [email protected]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants