#sanji-terminal-wisepad3
1 messages · Page 1 of 1 (latest)
sanji-terminal-wisepad3
👋 @outer wedge can I ask you to provide more details around your integration and what you are trying to resolve? How did you integrate, which guide are you following, what code are you using in your app and where do you expect an automatic cancellation?
Why do you expect an automatic cancellation exactly?
We don't have a button to trigger card swiping, so we hope to stay in the card reading state. However, recently I noticed that after a period of time, the card swiping page automatically cancelled, but the connection is still there
Okay so you mean a completely different step than the one you linked me to right? You mean after you called collectPaymentMethod? Or something else?
Okay so you call collectPaymentMethod() and you want the reader to stay forever in this state? This doesn't seem like a safe integration to me.
I'm not sure about the cancellation delay, let me ask
Yes, we hope to be in a card reading state for a long time until the user swipes the card
That is unlikely to be possible. Even if it worked today, it could totally change in the future. You do need to add a button somewhere in your app to trigger the collection of card details
Because we are a product similar to a retail cabinet, users cannot operate the interface
The method I want to adopt is to call Collect payments every other period of time, but if the previous payments were not cancelled, will repeated calls have any impact on the business
Terminal is forbidden to be used in an "unattended" mode
https://github.com/stripe-ios/stripe-terminal-ios/blob/598f97a852515e627443d18def18f71c220293f2/CHANGELOG.md?plain=1#L139 just this says
- Increased the collectPaymentMethod timeout from 5 minutes to 60 minutes.
So we increased it but it can change at any point in time
So really I think you need to change your overall design
This is difficult to achieve
Can you explain why? Isn't there a UI/interface for the attendant to the device?
The device's screen is not touchscreen
Okay, thank you. Let's think about how to handle it
Yeah I think you won't have a choice. It's this or calling collectPaymentMethod() every time it gets canceled
ok,thank you