#bean

1 messages · Page 1 of 1 (latest)

long oceanBOT
scarlet cairn
#

Webhook events for reader should work in test mode

prisma mortar
#

i figured it should... the other events are working, but for some reason terminal.reader.action_* arent coming thru

#

im using the software based means of testing terminal, versus a physical test card

#

so im not using a physical reader in this case

#

im not sure if thats a factor or not

#

its a simulated reader im using

scarlet cairn
#

Could you share a successful/failed payment intent (pi_xxx) that was made with simulated reader?

prisma mortar
#

pi_3M9fOALHApDCvUBn15djQknQ

#

thank you!

scarlet cairn
#

Do you use server-driven or SDK integration?

prisma mortar
#

im using the ios sdk, along with backend sdk

scarlet cairn
#

terminal.reader.action_* events are only for server-driven integration, so it's expected that terminal.reader.action_* are not sent for iOS integration

prisma mortar
#

ok... even if the connection token is created on backend?

#

along with creation of payment intent

#

the events work in prod environment

scarlet cairn
#

Could you share the event ID (evt_xxx) that works in production?

prisma mortar
#

pi_3M9ItyL3u73dZzKu09u1YEik

#

sorry

#

sec

#

the id of the event is tmr_EfpiBA3g3JlJUj

#

im not seeing an evt

#

one sec, looking in webhook log

prisma mortar
#

found one lol evt_1M9gUYL3u73dZzKukRcWo70x

scarlet cairn
#

Payment Intent pi_3M9gUNL3u73dZzKu0CFUO4mL in evt_1M9gUYL3u73dZzKukRcWo70x uses server driven integration.

prisma mortar
#

ok... i guess what youre saying is when the app is in "test mode" its using the non server integration

scarlet cairn
#

Based on pi_3M9gUNL3u73dZzKu0CFUO4mL (live mode) and pi_3M9fOALHApDCvUBn15djQknQ (test mode), they use different integrations.

  • pi_3M9gUNL3u73dZzKu0CFUO4mL - server driven
  • pi_3M9fOALHApDCvUBn15djQknQ - SDK

terminal.reader.action_* will only be sent with server driven integration.

prisma mortar
#

got it. thank you so much @scarlet cairn . youve been insanely helpful

scarlet cairn
#

No problem! Happy to help 😄