Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
2 Trả lời
1357 Lượt xem

I am getting the below error code when checking out on the website with a service with Stripe. How would I format the apiKey as a string? How would i fix this?


IntegrationError: Missing value for Stripe(): apiKey should be a string.

    r@ https ://js. stripe. com/v3/:1:563500

    n @ https ://js .stripe. com/v3/:1:569596

    9388/r/

    t@https://js.stripe.com/v3/:1:125368

    ne@https://js.stripe.com/v3/:1:162190

    re@https://js.stripe.com/v3/:1:162264

    e@https://js.stripe.com/v3/:1:366522

    zc@https://js.stripe.com/v3/:1:406695

    _processRedirectPayment@http://localhost:8069/web/assets/2255-d0e967b/1/web.assets_frontend_lazy.min.js:9699:22

    OdooClass.extend/Class.include/

    _processPayment/

Ảnh đại diện
Huỷ bỏ
Tác giả Câu trả lời hay nhất

where would I find the js file?

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Hi,

Add this code in the Js file:
const stripe = Stripe('Add API Key');


Hope it helps

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 5 25
2043
0
thg 7 24
256
1
thg 8 23
3224
0
thg 5 23
2161
0
thg 4 23
2826