skip to Main Content

Nginx – The provided key 'sk_test_***' does not have access to account 'cus_PN***' (or that account does not exist). Application access may have been revoked

I am trying to figure out why I seem to be getting this error when trying to call a Stripe API. The error I am getting is this: The provided key 'sk_test_***********************************************************************************************JQQa' does not have access to account 'cus_PN***' (or…

VIEW QUESTION

Javascript – Stripe Event: `checkout.session.async_payment_succeeded` vs `checkout.session.completed`. Which one to use for successful payment?

I am a bit confused between the 2 events: checkout.session.async_payment_succeeded & checkout.session.completed I'm currently using checkout.session.completed so I'm curious if checkout.session.async_payment_succeeded sends any events that are not handled by checkout.session.completed. My current code looks like: const session = event.data.object as…

VIEW QUESTION

Html – Refused to execute inline script because it violates the following CSP directive

I am trying to integrate Stripe to my website, the problem is that I receive the following error: js.stripe.com/v3/hcaptcha-invisible-078b5f9fb44d244a9ec072f93a216630.html#debugMode=false&parentOrigin=http%3A%2F%2Flocalhost:3 [Report Only] Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'self'". Either the 'unsafe-inline'…

VIEW QUESTION
Back To Top
Search