#sal_api

1 messages · Page 1 of 1 (latest)

limber zephyrBOT
#

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

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

kind remnant
#

Hi! I'm not familiar with Odoo; have you reached out to them yet?

forest notch
#

with whom?

#

I am odoo developer

kind remnant
#

I didn't know that. Ok. What's the Request ID for the failed request?

forest notch
kind remnant
#

I am odoo developer

Do you work for/at Odoo?

forest notch
forest notch
#

this are the details

kind remnant
#

That's not a Stripe error.

forest notch
#

i am not getting any error but the BBPOS WisePOS E terminal is not opening when trying to make a payment

kind remnant
#

Do you work for Odoo?

forest notch
#

yes i am working for a company who is odoo's partner

forest notch
#

but unable to send request to terminal

kind remnant
forest notch
#

yes

kind remnant
#

Ok perfect. What is causing it to generate that error then?

forest notch
#

i dnt know why device is not responding

forest notch
kind remnant
#

I can't tell you that. I can't tell you what your code is doing, or why it's seeing an error, or what that error is, as I don't have access to your code.

forest notch
#

it's likely a network or registration issue with the reader

kind remnant
#

In there you should see a Request ID; can you please share that?

forest notch
#

request id for api?

#

or endpoint

kind remnant
#

Stripe Request ID.

#

Oh. Maybe it's not in there. Weird.

#

It should be in the response headers.

limber zephyrBOT
forest notch
#

acct_1REseDKPVTVChctg

#

{
"error": {
"code": "more_permissions_required",
"message": "The provided key 'sk_live_*********************************************************************************************R7E6bO' does not have the required permissions for the parameters 'compatible_sdk_type', 'compatible_sdk_version' on account 'acct_1REseDKPVTVChctg'. Having more permissions would allow this request to continue.",
"request_log_url": "https://dashboard.stripe.com/logs/req_NyHxVK3EPBqd1i?t=1746125315",
"type": "invalid_request_error"
}
}

eager epoch
#

Hello, my colleague had to step out but I can help. Getting caught up

#

And is that API key just the secret key from your account? I am surprised that that would be considered to not have a permission here

forest notch
#

what to do now

#

curl --location 'https://api.stripe.com/v1/terminal/readers'
--header 'Authorization: Basic c2tfbGl2ZV81MVJFc2VES1BWVFZDaGN0Z2tHb0lqdWNEVzZVQ0lVZmpmWXE1OXVTM3dOTXVnVmNRNWxoa3kzY1ROb05pTnR6YW5OalgxY0VDNXVNNE5SVUpqMElSMUJIRjAwUjBSN0U2Yk86'

Response

{
"object": "list",
"data": [
{
"id": "tmr_GA7wgCkljDQAK8",
"object": "terminal.reader",
"action": null,
"device_sw_version": "2.30.5.0",
"device_type": "bbpos_wisepos_e",
"ip_address": "192.168.1.165",
"label": "Hope",
"last_seen_at": 1746125439989,
"livemode": true,
"location": "tml_GAQ5NQEDhw9P5c",
"metadata": {},
"serial_number": "WSC513151027046",
"status": "online"
}
],
"has_more": false,
"url": "/v1/terminal/readers"
}

eager epoch
#

Are you asking what to do to address the error around the compatible SDK parmeters? Or are you saying now that that latest request succeeded what do you do?

limber zephyrBOT
forest notch
#

i want to connect with terminal

eager epoch
#

Gotcha, is there a specific doc that you are following? I'm not finding compatible_sdk_type
or compatible_sdk_version in the terminal docs that I am looking at

forest notch
#

i am not findinig it to

eager epoch
forest notch
#

was following this

#

ok thank you

#

let me try this

#

can i test it through post man?

#

will it send request to reader?

eager epoch
#

For our server-driven flow yes, you can interact with the reader entirely through REST requests for that. For our other SDKs, you will need something else to be able to connect