#uma-payment-error

1 messages ยท Page 1 of 1 (latest)

still helm
#

Hey @bright moss can you please share a lot more details?

bright moss
#

Refused to apply inline style because it violates the following Content Security Policy directive: "style-src 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-1bd1ss83rhoRESXnUSD+xUzVPZzKrKQPYKkWOj5TJIc='), or a nonce ('nonce-...') is required to enable inline execution. Note that hashes do not apply to event handlers, style attributes and javascript: navigations unless the 'unsafe-hashes' keyword is present.

js.stripe.com/v3/three-ds-2-fingerprint-66f6c83c1a5aae88c5eb2a8e2f7ce836.html#intentId=seti_1LwqZiAuv4dWsOBIjR6CTBcH&locale=en&hosted=false&referrer=https%3A%2F%2Fquidtutor.co.uk%2Fstudent%2Fcheckout&controllerId=__privateStripeController0781:1 Refused to apply inline style because it violates the following Content Security Policy directive: "style-src 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-1bd1ss83rhoRESXnUSD+xUzVPZzKrKQPYKkWOj5TJIc='), or a nonce ('nonce-...') is required to enable inline execution. Note that hashes do not apply to event handlers, style attributes and javascript: navigations unless the 'unsafe-hashes' keyword is present.

#

this is the error that I am getting.

#

payment is succeeded but there is error in the console.

ashen ravine
#

๐Ÿ‘‹ stepping in as koopajah needs to step away

#

What flow are you using exactly?

bright moss
#

alright, could you please check the above error and guide accordingly.

ashen ravine
#

Looks like Elements

#

And this is the 3DS2 modal?

bright moss
#

No, its customize, we have created it by ourself.

ashen ravine
#

Is this in test mode or live?

bright moss
#

live

#

3d secure is not enabled I think so

ashen ravine
#

Any chance you can provide a screen capture of this error with any sensitive card details redacted?

bright moss
#

Let me share

#

this is the error that I am facing in console

ashen ravine
#

And when exactly is this thrown?

bright moss
#

after payment success.

ashen ravine
#

So after you call confirmPayment?

bright moss
#

yes

ashen ravine
#

And you are using Payment Element, then, correct?

bright moss
#

Yes

ashen ravine
#

Thanks. Let me see if this has surfaced before, if not I'll file a ticket so that our Engineers are aware of it and can look further into it, but if payments are succeeding then I would just ignore it for now.

bright moss
#

Alright.

ashen ravine
#

Hmm actually one question: do you happen to be importing Stripe JS multiple times?

#

And how are you importing it exactly?

#

Guess that's two questions ๐Ÿ˜…

bright moss
#

Let me confirm it from front end team.