#shaz-terminal-ios

1 messages · Page 1 of 1 (latest)

wheat heathBOT
#

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

thin chasm
#

shaz-terminal-ios

wind gust
#

I tried that and it is not working

#

it does not give me any error as well

thin chasm
#

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?

wind gust
#

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)

wind gust
#

I use the following syntax

#

Terminal.shared.clearReaderDisplay { error in }

wind gust
wind gust
#

yes

#

I set it true

#

Do you have any sample code for clearReaderDisplay?

thin chasm
#

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

wind gust
#

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."

merry yoke
#

Hello! What model reader(s) are you using?

wind gust
#

BBPOS WisePOS E

merry yoke
#

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?

wind gust
#

because I may need solution for other readers as well like Stripe Reader S700

merry yoke
#

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.

wind gust
#

I tested when i am connected to the reader and it is not working

merry yoke
#

Can you provide more details than "not working"? Are you seeing an error?

wind gust
#

is there any configuration need to be done with collectPaymentMethod?

merry yoke
#

No.

wind gust
#

it does not do anything, no error

merry yoke
#

Immediately before you call clearReaderDisplay what is Terminal.connectionStatus?

wind gust
#

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

merry yoke
#

Did not use which function?

wind gust
#

Terminal.connectionStatus

#

I meant to check the status

merry yoke
#

Right, I'm asking you to log the value of that.

#

To debug the issue.

wind gust
#

Okay, I will do that and get back to you

merry yoke
#

After you add that logging to your code can you share your code here?

wind gust
#

sure

#

I should be able to provide the details later, it that okay?

merry yoke
#

We provide support in realtime on Discord and close idle threads. Do you know how much later?

wind gust
#

I have 2 meetings back to back, so I can't do it now, it will be after 4:30 pm EDT

merry yoke
#

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.

wind gust
#

okay

#

also one more question

#

Reader BBPOS WisePOS E, it restarts everyday, is it normal?

merry yoke
#

Yes, that's expected and normal. It restarts for PCI compliance reasons.

wind gust
#

and also if you can answer that would be great.. like volumn button does not work

merry yoke
#

Smart readers restart every day at midnight for PCI compliance, and disconnect from the POS app every morning.

#

Volume button?

#

Not sure I understand.

wind gust
#

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

merry yoke
#

That sound cannot be changed.

#

It's not defective, it's doing that by design.

wind gust
#

why we have volumn buttons 🙂

merry yoke
#

I can't say, I didn't design it.

wind gust
#

okay

#

Thank you for the details