#Jack Drake - tap to pay

1 messages · Page 1 of 1 (latest)

distant barnBOT
hard night
#

hello

ancient mantle
#

Hi 👋

Can you be more specific here?

hard night
#

ok so lemme show ytou

#

this api

ancient mantle
#

Please don't share screenshots. They're not useful here

hard night
#

says if you use on_behalf_of in the backend

ancient mantle
#

Links to the docs will work much better

hard night
#

there you go

#

it says you must provide the conencted account to the localMobileConnectionConfiguration

ancient mantle
#

Which integration type ? and Which platform?

hard night
#

wdym integration type

#

express

#

platform ios

ancient mantle
#

Simulated, Internet, Bluetooth, USB?

hard night
#

tap to pay

ancient mantle
#

Okay

hard night
#

anything

ancient mantle
#

So your question is how you provide the connect account ID when instantiating the configuration?

#

And sorry it's kind of busy right now

hard night
#

yes

ancient mantle
hard night
#

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

ancient mantle
#

Can you provide the text? That will help me

hard night
#
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}```
ancient mantle
#

This sounds like there is a mismatch between the Account making the request and the one who owns the location. WHich account is onBehalfOf?

hard night
#

a connected account

ancient mantle
#

Jack Drake - tap to pay

hard night
#

ok sounds good

ancient mantle
#

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.

hard night
#

ok lemme see