#domhacking

1 messages ยท Page 1 of 1 (latest)

round widgetBOT
sharp kelp
#

Typically this error happens if you create the payment intent from one account but try to access it from another account

#

"Incomplete" is just the default state, does not imply an error here

#

Have you double checked your API keys to make sure you are making these calls with the same account?

hollow lantern
#

Thank you for your response.

I have not yet checked my api keys. Is there a way from the StripeTerminalProvider that it will tell me what account it is linked to? The backend developer is away for today.

signal zealot
#

Hi ๐Ÿ‘‹

Sorry for the delay here

#

Which SDK are you using here?

hollow lantern
#

Terminal SDK

#

For React native

#

@signal zealot ๐Ÿ™‚

signal zealot
#

Okay so you are trying to determine which account the PK that is in your RN code is linked to?

hollow lantern
#

Yeah so it seems like there is a mismatch between the the account which initialises the StripeTerminalProvider and the one which is trying to call the processPayment function

signal zealot
#

Unfortunately I don't think there is a way to see, from the PK, which account it is assigned to.

hollow lantern
#

@signal zealot Could it be anything to do with setSimulated card or not for testing?

signal zealot
#

That should have no bearing on any account mismatch

hollow lantern
#

ok thanks

#

@signal zealot Sorry another question do I have to collectPaymentMethod before processPayment or can I just processPayment?

signal zealot
hollow lantern
#

Cool Thanks