#Ronit

1 messages · Page 1 of 1 (latest)

near fjordBOT
cold ledge
#

Hey there

#

Where are you seeing this exactly?

late socket
#

when i swipe card in M2 reader during payment i see this message and no payment happens

cold ledge
#

Interesting.

#

Can you give me the serial number of the Reader?

late socket
#

yeah sure

#

STRM26146007039

cold ledge
#

Thanks

#

Give me a few to look into it

late socket
#

OK

trim thistle
#

@late socket hello, are you integrating the Terminal SDK? or using the Sample app? or somethign else?

#

trying to understand what your integration looks like

late socket
#

integrating the Terminal SDK

#

using sdk for swipe card using reader and implementing in ios

trim thistle
#

can you share the example PaymentIntent? I have a hunch for what the issue might be

late socket
trim thistle
#

sorry I want a PaymentIntent ID

#

if you can log that out and share that

late socket
#

sure

#

pi_3NO1MX4DfIvvXFPZ0T5nBQVW

trim thistle
#

ah so I think I know, this isn't a great error message but the issue is, your PaymentIntent creation request is using by default
capture_method: automatic

you have two options
1/ update to a more recent version of the Terminal SDK that is not v2.0.0 e.g. use v2.21.0

2/ use capture_method: "manual" and that should work for your current SDK version

#

can you try 2/ first

#

to check if that unblocks you?

#

you'd do that on PaymentIntent creation

late socket
#

payment intent is created on backend so i will try to use 1st option

trim thistle
#

you can update how the PaymentIntent is created?

#

it is the easier option

#

unless you don't have access to the backend

#

can you ask the backend dev to just change it for you quickly so you can try it out

late socket
#

so after set it manual does i need to add method for manual capture_method is i don't need any changes

trim thistle
#

yep you'd have to set up an endpoint to capture the PaymentIntent after

#

so then you'd do 1/

#

the issue is that capture_method: automatic isn't supported by SDK v2.0.0, it was supported in a later SDK version

#

agree that the error msg needs to be better there

late socket
#

because i don't have backend access and even i am not creating payment intent here just passing through the method so i prefer first option.

trim thistle
#

gotcha