Skip to Content
Menu
This question has been flagged
2819 Views

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
Discard
Related Posts Replies Views Activity
1
Aug 23
867
1
Dec 21
2411
1
Oct 24
165
1
May 21
2456
2
Nov 24
1295