manishkatyan / strapi-stripe

Stripe Plugin for Strapi CMS
67 stars 33 forks source link

403 Forbidden Error while Setting up configuration. #109

Open monacodigital opened 11 months ago

monacodigital commented 11 months ago

Screenshot 2023-11-08 122547

Hi , i am using stripe for strapi and i have not been able to setup my stripe configuration, whenever i check the network logs, i can see that updateSettings always return 403, could you help please?

{
  "data": null,
  "error": {
    "status": 403,
    "name": "PolicyError",
    "message": "Policy Failed",
    "details": {}
  }
}

I have added all the 3 keys on the .env file as requested in the doc and still it is not working. FYI the STRAPI API key is UNLIMITED and FULL ACCESS.

STRAPI_ADMIN_API_TOKEN STRAPI_ADMIN_TEST_STRIPE_SECRET_KEY STRAPI_ADMIN_LIVE_STRIPE_SECRET_KEY

Node version-v18.18.0 npm version -8.8.0

strapi-v4.11.7

monacodigital commented 11 months ago

@nishekh-e-r

koraybicer commented 10 months ago

I was getting the same error. I deleted and created new API token and added environment variable STRAPI_ADMIN_API_TOKEN in .env file in the project root directory. Then I run: npm run build & npm run develop and it works now. I hope this helps.

My environment :

nishekh-e-r commented 10 months ago

We are no longer maintaining this plugin. If you are seeking paid support, feel free to reach out to support@asyncweb.io

vanarok commented 4 months ago

I tried everything possible with the keys, it didn’t work