#sarthak17_api

1 messages ¡ Page 1 of 1 (latest)

ocean bloomBOT
#

👋 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/1359444366346944523

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

nocturne phoenix
#

Params of the request
{
"id": 1744186877257,
"service": "JackRabbitService",
"method": "activateTerminal",
"content": "eyJwb3NfYWN0aXZhdGlvbl90b2tlbiI6InBzdF90ZXN0X1lXTmpkRjh4VWtKMGF6TlRSSGRIVUd3eFVEQTFMR1JXVTJwUmRrOVJRblJIVVVOT2RFcHhNWFpLWTJOdllrbHhOMDVZTVdRXzAwY2dFUlBrV1QiLCJzdG9yZV9uYW1lIjoiZW1wdHkiLCJwb3NfZGV2aWNlX2lkIjoicG9zLW5kdjk2NDZmY3RkIiwicG9zX3NvZnR3YXJlX2luZm8iOnsicG9zX3R5cGUiOiJwb3MtanMiLCJzZGtfdmVyc2lvbiI6IjEuMy4yIn19",
"session_token": "",
"version_info": {
"client_type": "JS_SDK",
"client_version": "1.3.2"
},
"parent_trace_id": "94408625",
"device_info": {
"device_class": "POS",
"device_uuid": "pos-ndv9646fctd",
"host_os_version": "Linux",
"hardware_model": {
"pos_info": {
"description": "Linux:chrome"
}
},
"app_model": {
"app_id": "Twirll--Point-of-Sale",
"app_version": "https://test.twirll.com/pos/v2/"
}
},
"config": "{}"
}

#

Response
{
"app_error_code": "OK",
"content": "",
"request_id": 1744186877257,
"rpc_error_code": "BAD_REQUEST",
"error": "Request Failure {"message"=>"Terminal is currently only available in certain countries. For more information, see https://stripe.com/docs/terminal.\", "type"=>"invalid_request_error"}"
}

pastel inlet
#

Hi, let me help you with this.

#

It seems like you're based in a country that Stripe Terminal doesn't support yet

nocturne phoenix
#

How to create a account where terminal is supported.

#

I am working from india my stripe account is in australia and my customer is from canada.

#

Location of my stripe account and customer account location both support stripe terminal.

#

May I know I have tried many things but not able to solve this problem. Connecting different test account from my platform but nothing is working.

pastel inlet
#

Where do you see this error exactly?

nocturne phoenix
#

I get this error while connecting simulator.

#

The payload and response I extracted from network activity.

pastel inlet
nocturne phoenix
#

It is my platform domain.

#

I provide pos and online ordering services to customer world wide,

pastel inlet
#

Could you please share the serial number of the Terminal device?

nocturne phoenix
#

from where i get this error

nocturne phoenix
#

It is simulator

pastel inlet
#

Ok, I see.

#

Could you please share the code?

nocturne phoenix
#

I solved the problem. Connect a demo canada account with my platform it solves that problem.

#

But is there way to connect country specific account. This a lot of hassel to create a account in stripe first and then connect it with my platform in test.

pastel inlet
#

What do you mean by "connect country specific account"?

#

Terminal devices have to be registered to a given country-based Stripe account.