#uday_error

1 messages ¡ Page 1 of 1 (latest)

warm jewelBOT
#

👋 Welcome to your new thread!

⏲️ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.

⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.

🔗 This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1227530805933375539

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

delicate craterBOT
verbal salmon
#

Hi, let me help you with this.

#

What exact call produces the error?

foggy minnow
#

connectM2ResponseString D reader = {"command":"connect-tap-to-pay-response","error_code":"INTEGRATION_ERROR.MISSING_REQUIRED_PARAMETER","error_description":"Must have a country code to connect to a Tap to Pay
reader.","status":"error"}

on
discoveryCancelableT2P = Terminal.getInstance().discoverReaders(
config,
this,
object : Callback {

#

before sdk update i am using
val config = DiscoveryConfiguration(
timeout = 0,
discoveryMethod = DiscoveryMethod.LOCAL_MOBILE,
// isSimulated = true, // for dev
isSimulated = false, // for live
location = LOCATION_ID
)

code

#

it was woring fine

foggy minnow
#

I am getting it from API from backend

#

Yes

verbal salmon
#

Could you please share the location ID?

foggy minnow
#

"location_id":"tml_FHwmfgXKcv8DZY"

verbal salmon
#

Are you sure that's the location you're using, because I see that this error is specifically triggered when a country is not set of the location.

foggy minnow
#

Yes it was working in old Stripe sdk version 2.21.1 but after updating it 3.0.0 it is not working

verbal salmon
#

This validation might have been introduced in the update.

foggy minnow
#

but it working same location id on IOS app with version 3.0.0

verbal salmon
foggy minnow
#

it is give me build error

#

I want to with SDK 3.0.0

verbal salmon
#

Ok. Could you please check the LOCATION_ID, and make sure it's non-empty?

foggy minnow
#

let me try with 3.1.0

#

Done

#

Thank you hoooooreeee......

verbal salmon
#

Happy to help.