#shaz-terminal-ios
1 messages · Page 1 of 1 (latest)
Hello shazuddinkhan, we'll be with you shortly! Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
• sh-terminal-readerlanguage, 6 days ago, 15 messages
• shazuddinkhan, 6 days ago, 4 messages
shaz-terminal-ios
@wind gust sorry for the delay. You should be able to use https://stripe.dev/stripe-terminal-ios/docs/Classes/SCPTerminal.html#/c:objc(cs)SCPTerminal(im)clearReaderDisplay
so nothing happens until after you insert a card in the reader (or dip)?
My colleague is asking if you're certain you're connected to the right device and calling that only after the connection has been established?
Card reader accepts the card but in my case, app was restarted and card reader is still showing old amount
since app is restarted, card reader is not connected, and it gives me error when it connects, it says card reader is in use (becuase i use failInUse in the config)
I even tried that as well and it did not do anything
I use the following syntax
Terminal.shared.clearReaderDisplay { error in }
if that situation happen, user is stuck and can't do anything except to restart the card reader
I'm not sure I understand what you're asking I'm sorry. Like right now the problem is that you are trying to connect to a reader that's in use after your app crashed, but you're explicitly saying "don't connect to a reader already in use" so it's obviously failing.
What you need to do is not pass failIfInUse in this situation
if failIfInUse set to false then it works, I can live with that, however in certain cases, card reader need to be cleared and clearReaderDisplay is not working so I am asking if you have a sample code
also this method "Only available for the Verifone P400 and BBPOS WisePOS E."
Hello! What model reader(s) are you using?
BBPOS WisePOS E
We don't have sample code for this method as far as I know, but it should be nothing more than Terminal.shared.clearReaderDisplay()
That's one of the readers that supports this method.
Why did you paste in that part from the docs about support?
because I may need solution for other readers as well like Stripe Reader S700
One thing I want to clarify is that clearReaderDisplay will only work when you're connected to the reader. If you're not connected to the reader you can't clear its display.
This will also work on the S700, it just hasn't been added to the documentation yet.
I tested when i am connected to the reader and it is not working
Can you provide more details than "not working"? Are you seeing an error?
is there any configuration need to be done with collectPaymentMethod?
No.
it does not do anything, no error
Immediately before you call clearReaderDisplay what is Terminal.connectionStatus?
I did not use that function, but it just display the amount on the reader and I provide the cancel button and in the action of cancel buttong I am cleardisplay method
Did not use which function?
Okay, I will do that and get back to you
After you add that logging to your code can you share your code here?
We provide support in realtime on Discord and close idle threads. Do you know how much later?
I have 2 meetings back to back, so I can't do it now, it will be after 4:30 pm EDT
This thread will be closed by then, but you can come back and start a new thread by asking your full question in #dev-help.
okay
also one more question
Reader BBPOS WisePOS E, it restarts everyday, is it normal?
Yes, that's expected and normal. It restarts for PCI compliance reasons.
See the note at the bottom of this page: https://stripe.com/docs/terminal/smart-readers#reader-software-updates
and also if you can answer that would be great.. like volumn button does not work
Smart readers restart every day at midnight for PCI compliance, and disconnect from the POS app every morning.
Volume button?
Not sure I understand.
when we tap, there is beep sound, that is too loud
i tried to use the volume buttons on the left side, but nothing happens. I am curious if I get the defective reader
why we have volumn buttons 🙂
I can't say, I didn't design it.