#asittingduck
1 messages · Page 1 of 1 (latest)
Hey there in what context are you seeing this and is in blocking any customer payments? To my knowledge this CSP error should not block any functionality
Yes it is blocking all customer payments
this is when I load a card element on my system. the only change I have made is to make it so the transaction actions don't start until a confirmation sweetalert says to do so. But this error is coming up before that
Is there a page where I can access this to test myself in test mode?
Yes but you will need the password for this one, give me a moment to get you the link and the access credentials
I suspect there might be another issue causing your problems, but happy to take a look
This is the staging site
https://staging.d237xnuiqv706c.amplifyapp.com/
taxandlegal
LTa7HSecKtaze67XZM+i364/mVEOa4A0n4U82UeCCPs=
I sent you a friend request if you want to DM the credentials -- but make sure not to share anything sensitive
ok nm 😄
oh its not an issue, this is just dev credentials for the staging site
You will need to add a product to the cart in order for the form to show
ok what steps should i follow to hit the issue?
I don't see any CSP error, but when I click "place order" I hit an error:
ah, this is using live mode, and i tried ot use the 4242 test card
do you have a test/dev/staging site using test mode?
but in any case I didnt hit the same CSP error as you
let me build this with test creds
it will be about 5-8 minutes depending on recode, push, merge, and build
when i hit the error following createPaymentMethod your code also hits a runtime error about alert.fire is not a function
Oh ok that really helps A LOT
thank you thank you thank you
Merge has taken place and building is starting, just a few more moments
np! hope it helps figure out what's failing
ok built now
what the? The error has discappeared... lets see if an order can go through
annnnnd it works.... did you change anything?
yeah is probably not you at all. the only thing I changed was that it was on test mode... and the error that is preventing customer transactions looks to be caused by woocommerce, not you
so I am letting this go, but I wanna ask what is causing that reporting error
It's hard to say without being able to see it, but typically CSP errors are innocuous, especially [report only] ones, and something else is going on