跳至内容
菜单
此问题已终结
3813 查看

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.

形象
丢弃
相关帖文 回复 查看 活动
1
8月 23
1972
1
12月 21
3501
1
10月 24
1155
1
5月 21
3306
1
5月 25
807