Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
3847 Переглядів

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.

Аватар
Відмінити
Related Posts Відповіді Переглядів Дія
1
серп. 23
2006
1
груд. 21
3528
1
жовт. 24
1184
1
трав. 21
3328
1
трав. 25
839