#domhacking
1 messages ยท Page 1 of 1 (latest)
Hello ๐
It isn't required but you'd should pass the location ID in the configuration as shown in the example so that the reader location doesn't change
https://stripe.com/docs/terminal/payments/connect-reader?terminal-sdk-platform=ios&reader-type=tap-to-pay-on-iphone#connect-reader
Ok, I am currently getting this error:
"You passed an empty string for 'register_to_location'. We assume empty values are an attempt to unset a parameter; however 'register_to_location' cannot be unset. You should remove 'register_to_location' from your request or supply a non-empty value."
Do you know what could be causing that?
Ah hmm, it looks like even though we haven't marked it as required we do expect a non-empty value
The SDK must be setting it as an empty string by default.
Yup, looks like it ๐ Sorry about the conflicting info on the API ref
You should definitely pass it in.
OK thanks
NP! ๐
I dont fully understand the purpose of the location?
If we have 1,000 of people using our app should they all have a uniquie location?
Particularly with the Tap to pay feature?
Could we just set one location as we are not interested in the location of the device at the moment?
You can yes, setting a location basically allows you to differentiate readers. For example, a merchant onboards 1000 readers for 5 different locations. It would make it easier to identify which reader belongs to what location