#Reyansh Sharma

1 messages ยท Page 1 of 1 (latest)

sharp ploverBOT
worldly sail
#

hello! can you share more?

scarlet lodge
#

For sure thanks

#
  1. These are going to be off-session payments so Creating a new setup intent.
  2. 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).
  3. Right after the above action trying to show payment-specific information on the reader using SetReaderDisplay + Custom text to display.
  4. Though the reader not accepting the card swipe at all.
sharp ploverBOT
scarlet lodge
#

Tried the other way around as well like:

  1. Called SetReaderDisplay to show custom text.
  2. 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.

valid willow
#

Are you following a specific guide from our docs? I'm struggling to understand your use case

scarlet lodge
#

Let me get the link for you.

valid willow
#

How are you calling SetReaderDisplay?

#

Which Terminal integration are you using? I guess server-driven?

scarlet lodge
#

Yes server driven

#

and two consecutive calls.
ProcessSetupIntent then SetReaderDisplay & vice versa ๐Ÿ™‚

valid willow
#

Can you share the exact code?

scarlet lodge
#

Sure

valid willow
#

I suspect that you can't use setReaderDisplay with a Setup Intent (as you're not actually processing a payment)

scarlet lodge
#
  1. Create setup intent.
  2. ProcessSetupIntent
  3. SetReaderDisplay
#

Also tried

  1. Create setup intent.
  2. SetReaderDisplay
  3. ProcessSetupIntent
#

  1. The issue with the first after step 3 reader is not able to read the card.
  2. The issue with the second reader display text only shows for a fraction of a sec only.
valid willow
#

Checking something, but I suspect this is because it's a Setup Intent

scarlet lodge
valid willow
#

I understand that, but with a Setup Intent you're not actually processing a payment so I suspect they're not compatible

scarlet lodge
#

๐Ÿ™‚

#

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.

valid willow
#

Are you able to share any errors/logs from your integration when the exception is thrown?

scarlet lodge
#

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.

valid willow
#

If you remove the setReaderDisplay from the flow, does it work as expected?

scarlet lodge
#

Yes it does

valid willow
#

Then I suspect this issue is as I described, you can't use the display in a Setup Intent flow

scarlet lodge
#

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 ๐Ÿ˜ฆ

valid willow
#

Please do share!