#domhacking
1 messages ยท Page 1 of 1 (latest)
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?
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.
Okay so you are trying to determine which account the PK that is in your RN code is linked to?
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
Unfortunately I don't think there is a way to see, from the PK, which account it is assigned to.
@signal zealot Could it be anything to do with setSimulated card or not for testing?
That should have no bearing on any account mismatch
ok thanks
@signal zealot Sorry another question do I have to collectPaymentMethod before processPayment or can I just processPayment?
I think so since our docs still have them as separate steps: https://stripe.com/docs/terminal/payments/collect-payment?terminal-sdk-platform=react-native#collect-payment
Cool Thanks