#Barasinga

1 messages · Page 1 of 1 (latest)

urban voidBOT
south pebble
#

Hi there!

violet ingot
#

Hi

south pebble
#

In the request you shared, account acct_1LrcmFGPzB0sOwRz is trying to confirm the PaymentIntent pi_3MFBAYIZ4uMmIcMu0BWErrUc. But that PaymentIntent doesn't belong to that account, so it fails.

violet ingot
#

We have two stripe accounts under same company

south pebble
#

So if you are sure the PaymentIntent ID you are using is correct, it means you are using a wrong API key.

violet ingot
#

Is it because the intent is from different acocunt?

south pebble
#

Exactly

#

You are using the wrong API key to make this request.

violet ingot
#

Ok let us try to change

violet ingot
#

Hi

#

We have checked

#

we have verified

#

We are using the same secret and the publish key on our server and the client app

#

The intent is generated from the server and then it is used from the mobile app using the same key

pure cypress
#

it really can't be anything else than using the wrong key

violet ingot
#

We have matched the keys each and every character from our stripe dashboard account and the one used in our application

#

One question, on our server we are using publish key and secret key to obtain the payment intent

#

but in our mobile app we are using public key only from the live account., can it create any issue or we must use the secret key as well?

pure cypress
violet ingot
#

alright in this case we are doing the same thing

pure cypress
#

you're probably using the publishable key from a different account in the app(not the one matching the secret key used to create the PI).

violet ingot
#

Just the publish key in the app side at the moment

#

They are same we just verified them once again

#

Do you mean on our server or from the client app?

#

However the same keys are working fine with the normal card payment method

#

Issue is with Apple Pay

pure cypress
#

maybe your app is using a different code path for Apple Pay than regular payments?

#

it's hard for me to say much here, I don't know your code. If you can share something like the ViewControllers in your app I could maybe suggest something or point out where adding log lines might be useful

#

for that PaymentIntent pi_3MFBAYIZ4uMmIcMu0BWErrUc, the public key for that account should look like pk_test_51I0AA____________bb1bfl0 if that helps

violet ingot
#

let us verify it

#

i am checking with my developer