#benstjohn
1 messages · Page 1 of 1 (latest)
NOTE: we are using the M2 terminal using the iOS SDK, but setting the label via the API on Node
Hello! When you say it doesn't have a label available what do you mean?
like on the iOS side, when we load in the "Reader" element - the object has a "label" key, but the value is null
though we are explicitly setting it
Ah, gotcha.
^^ that's the terminal id we're setting (you can check the label in the db) but nothing is getting it on the stripe side
But if we hit the retrieve function for that terminal, we see a label
This is via postman
I'm not 100% sure, but I think we don't reveal the label when a publishable key is used. Let me do some digging...
okay thanks
let us know what we'd need to do to get those labels
via the iOS and Android SDK
Ah, okay, I was wrong. Looks like the label property in the iOS SDK is only populated for Internet readers, not bluetooth readers: https://stripe.dev/stripe-terminal-ios/docs/Classes/SCPReader.html#/c:objc(cs)SCPReader(py)label
Okay thank you, so there is no way for us to just pull that label off the reader then?
Not in the iOS SDK, no. You would need to retrieve the Reader object server-side and relay the label info to your iOS app.