#oxez_error

1 messages ¡ Page 1 of 1 (latest)

gloomy lightBOT
#

👋 Welcome to your new thread!

⏲️ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.

⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.

🔗 This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1383076781208109177

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

narrow spire
#

Forgot to add that the only code that manages anything stripe related in this JS is this:

    StripeCheckout.configure({
        key: "<?=$cfg["stripe"]["public"]?>",
        locale: "<?=$cfg["locale"]?>",
        token: function (token) {
            processPayment(token);
        }
    });

I'm so sorry for asking about old APIs, I wish we could update but I'm not the one making decisions ;x

simple sundial
#

Hey there, do you have a failing API request ID related to this?

#

It seems like whatever you're doing is being treated as raw pan handling, which requires PCI compliance validation.

narrow spire
#

Oh yes I do: req_935QcESfYBz3FB

simple sundial
#

Ah, its similar, but slightly different

#

Did you check the Dashboard setting linked in the error?

#

You should have an option like this:

Enable card data collection with a publishable key without using Stripe's pre-built UI elements

narrow spire
#

Yeah I did, it wouldn't let me enable it myself, I'll re-check what it told me

#

well ok now it does :')

simple sundial
#

Working for you now?

narrow spire
#

It would appear it does now, I may have looked at it in the non-sandbox earlier

#

Will this also work when this code goes live? It seems to already be enabled on the non-sandbox environment

simple sundial
#

I'd expect this to work the same way, but you'll likely need to enable the same setting in your live account settings

narrow spire
#

Sounds good. Thanks for the help

simple sundial
#

NP!

#

You should really look at updating that integration

#

I think you'll find Embedded Checkout to be a good fit, and relatively easy to convert to

narrow spire
#

Yes we did for another project, it worked really well even with the stripe CLI client for webhooks and all, just haven't got the OK to update our "template project" and the rest of projects using it unfortunately

simple sundial
#

Glad to hear the testing for that went well

#

If you have any trouble when you get the go ahead to migrate your template, don;t hesistate to stop by again if you need help

narrow spire
#

Sure thing, was a pleasure, have a good day! happybear

simple sundial
#

you too!