Se rendre au contenu
Menu
Cette question a été signalée
3880 Vues

So I want to add Stripe as a payment method to my website, I've already registered and verified my Stripe account and got my testing keys, I am able to reach the Stripe payment page from the odoo shopping cart checkout page,

but when I click the pay button and it redirects back to the odoo page, it loads for a while in the 'processing payment' screen/overlay, then it shows 'Server error: Cannot connect to Odoo servers, please wait' and it is stuck there.

I tried to look into the console and I found these error messages.

Refused to load the script 'https://gc.kis.v2.scr.kaspersky-labs.com/FD126C42-EBFA-4E12-B309-BB3FDD723AC1/main.js?attr=VG5mZNnF_JLQNchP4AMbncgV0brfbchmZqBOdbzviZWQW8Xi6KIDE7QskDBJipEKOCA0zitmbtDTR5Dp_P9KJt2PYrkTrrYFBPPudJqT6w9RpX7fjF6jPavfVrVnoGei' because it violates the following Content Security Policy directive: "script-src 'self'". Note that 'script-src-elem' was not explicitly set, so 'script-src' is used as a fallback. Refused to load the script 'https://gc.kis.v2.scr.kaspersky-labs.com/FD126C42-EBFA-4E12-B309-BB3FDD723AC1/main.js?attr=VG5mZNnF_JLQNchP4AMbncgV0brfbchmZqBOdbzviZWQW8Xi6KIDE7QskDBJipEKOCA0zitmbtDTR5Dp_P9KJt2PYrkTrrYFBPPudJqT6w9RpX7fjF6jPavfVrVnoGei' because it violates the following Content Security Policy directive: "script-src 'self'". Note that 'script-src-elem' was not explicitly set, so 'script-src' is used as a fallback.

I think this is related to the Content Security Policy rules but I don't really know where to go from this, any help would be apreciated.

Edit: cannot post images yet since apparently I need 20 karma before I can add images.

Avatar
Ignorer
Publications associées Réponses Vues Activité
1
août 23
2027
1
déc. 21
3568
1
oct. 24
1240
1
mai 21
3374
1
mai 25
905