#Ronit
1 messages · Page 1 of 1 (latest)
when i swipe card in M2 reader during payment i see this message and no payment happens
OK
@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
integrating the Terminal SDK
using sdk for swipe card using reader and implementing in ios
can you share the example PaymentIntent? I have a hunch for what the issue might be
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
payment intent is created on backend so i will try to use 1st option
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
so after set it manual does i need to add method for manual capture_method is i don't need any changes
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
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.
gotcha