#Jack Drake - tap to pay
1 messages · Page 1 of 1 (latest)
hello
Hi 👋
Can you be more specific here?
Please don't share screenshots. They're not useful here
says if you use on_behalf_of in the backend
Links to the docs will work much better
there you go
it says you must provide the conencted account to the localMobileConnectionConfiguration
Which integration type ? and Which platform?
Simulated, Internet, Bluetooth, USB?
tap to pay
Okay
anything
So your question is how you provide the connect account ID when instantiating the configuration?
And sorry it's kind of busy right now
yes
It looks like here: https://stripe.dev/stripe-terminal-ios/docs/Classes/SCPLocalMobileConnectionConfiguration.html we allow passing the onBehalfOf argument
ok thank you
ok 1 more concern i had
im getting this error when the connectlocalmobilereader is called
saying no such location and the location id
Can you provide the text? That will help me
connectLocalMobileReader failed: Error Domain=com.stripe-terminal Code=9020 "No such location: 'tml_E4R7GwamPSKiT0'" UserInfo={com.stripe-terminal:StripeAPIDocUrl=https://stripe.com/docs/error-codes/resource-missing, com.stripe-terminal:Message=No such location: 'tml_E4R7GwamPSKiT0', com.stripe-terminal:HttpStatusCode=404, NSLocalizedDescription=No such location: 'tml_E4R7GwamPSKiT0', com.stripe-terminal:StripeAPIRequestId=req_NBPu49X7ZGJINm, com.stripe-terminal:StripeAPIErrorType=invalid_request_error, com.stripe-terminal:StripeAPIErrorCode=resource_missing}```
This sounds like there is a mismatch between the Account making the request and the one who owns the location. WHich account is onBehalfOf?
a connected account
Can you see this request in your account logs? Here's how you can find a request ID: https://support.stripe.com/questions/finding-the-id-for-an-api-request
Jack Drake - tap to pay
ok sounds good
If I can get the request ID that'll help me find this error. terminal:StripeAPIErrorCode=resource_missing usually means the resource and the account on the request don't match but I want to check.
ok lemme see