#georgi-error

1 messages · Page 1 of 1 (latest)

agile wren
#

it would mean you mixed up keys somewhere. Like you use the public key of one account and the secret key of a different one, maybe

gleaming hull
#

Im sure I didnt do it, but I'll double check it. Thank you

#

keys are correct

agile wren
#

are you are a developer writing this code or are you using some kind of plugin?

gleaming hull
#

Im developer

#

The integration is in custom php framework

#

Im using stripe v. 6.31

#

Ive done a couple of stripe integrations before and there was not this kind of problem.

#

Also Im wondering where to search for the problem, because when doing tests with the others pk_test and sk_test keys, the payment is passing successfully

agile wren
#

what is the request ID req_xx for that 'no such' error?

#

or even just the actual pi_xxx ID might be enough for me to find a log

gleaming hull
#

the last payment try is req_BSlMNfcwPCoFpG

agile wren
#

cool, and you get an error on the frontend calling stripe.confirmPayment?

#

that's because you used the secret key of one account to create the PaymentIntent in PHP, and the public key of a different account on the frontend Javascript

#

so it is just exactly what I said initially. Please carefully check the keys you use, see what accounts you are a member of (shown at the bottom of https://dashboard.stripe.com/settings/user )and you can also click the dropdown at the top left of the dashboard to switch accounts, and then make sure you copy the API key pair from the same account and configure your code to use that pair

gleaming hull
#

I'm pretty sure. I'll check if there is some cache module. Thanks again

agile wren
#

you have an account for a business bodyc***** and one for b**.bg and seem to be using API keys from both with that same PaymentIntent

gleaming hull
#

I suppose the pk ends with "LQ0Q9x" then

#

on the bky

agile wren
#

yep, that's the public key of the bky account

gleaming hull
#

ok

#

the last test passed ok

#

so after all there was cache

#

Thank you very much for the help

agile wren
#

great!