#Reyansh Sharma
1 messages ยท Page 1 of 1 (latest)
hello! can you share more?
For sure thanks
- These are going to be off-session payments so Creating a new setup intent.
- Using setup intent to initiate a reader action with ProcessSetupIntent call which will show a message to the reader to tap or swipe the card (No information about the payment amount etc).
- Right after the above action trying to show payment-specific information on the reader using SetReaderDisplay + Custom text to display.
- Though the reader not accepting the card swipe at all.
Tried the other way around as well like:
- Called SetReaderDisplay to show custom text.
- Call to processSetupIntent to initiate the swipe
but in this case, the custom text only popup for a sec or so and show Tap, Insert or Swipe card text afterwards.
Are you following a specific guide from our docs? I'm struggling to understand your use case
Let me get the link for you.
How are you calling SetReaderDisplay?
Which Terminal integration are you using? I guess server-driven?
Yes server driven
and two consecutive calls.
ProcessSetupIntent then SetReaderDisplay & vice versa ๐
Can you share the exact code?
I suspect that you can't use setReaderDisplay with a Setup Intent (as you're not actually processing a payment)
- Create setup intent.
- ProcessSetupIntent
- SetReaderDisplay
Also tried
- Create setup intent.
- SetReaderDisplay
- ProcessSetupIntent
- The issue with the first after step 3 reader is not able to read the card.
- The issue with the second reader display text only shows for a fraction of a sec only.
Checking something, but I suspect this is because it's a Setup Intent
I need something like this screen
https://stripe.com/docs/terminal/features/display#set-the-reader-display
I understand that, but with a Setup Intent you're not actually processing a payment so I suspect they're not compatible
๐
Sure I am not able to find any workaround in server-side implimentation & the two I tried are not working as expected.
Do let me know if you will be able to find any work around.
Are you able to share any errors/logs from your integration when the exception is thrown?
There is no error, only the reader's tap or swipe doesn't work in the first workflow.
In second it works but custom messaage not stay for long.
If you remove the setReaderDisplay from the flow, does it work as expected?
Yes it does
Then I suspect this issue is as I described, you can't use the display in a Setup Intent flow
Let me check I had a link to stripe documentation where all these steps are listed on one page.
Forgot to bookmark and having issues finding it now ๐ฆ
Please do share!