#sal_api
1 messages · Page 1 of 1 (latest)
👋 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.
Hi! I'm not familiar with Odoo; have you reached out to them yet?
with whom?
I am odoo developer
https://www.youtube.com/watch?v=SZ5vjhaQ-Sk
following this video
It is now easier than ever to collect credit card payments from your Odoo Point of Sale. In V16 Odoo has partnered with Stripe to provide a deeply integrated and seamless credit card processing solution. You can now start collecting payments in minutes rather than days or weeks. In this talk, I will provide all of the information you need to get...
I didn't know that. Ok. What's the Request ID for the failed request?
I am odoo developer
Do you work for/at Odoo?
That's not a Stripe error.
i am not getting any error but the BBPOS WisePOS E terminal is not opening when trying to make a payment
Do you work for Odoo?
yes i am working for a company who is odoo's partner
i am not getting any error in odoo
but unable to send request to terminal
Do you have access to the codebase that's creating this?
yes
Ok perfect. What is causing it to generate that error then?
i dnt know why device is not responding
and showing this
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.
In there you should see a Request ID; can you please share that?
Stripe Request ID.
Oh. Maybe it's not in there. Weird.
It should be in the response headers.
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"
}
}
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
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"
}
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?
i want to connect with terminal
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
i am not findinig it to
We have this doc on connecting to terminals, it includes options for each SDK and terminal type. This should help you connect to your terminal https://docs.stripe.com/terminal/payments/connect-reader
i am not findinig it to
Interesting, did an LLM suggest those params then?
It is now easier than ever to collect credit card payments from your Odoo Point of Sale. In V16 Odoo has partnered with Stripe to provide a deeply integrated and seamless credit card processing solution. You can now start collecting payments in minutes rather than days or weeks. In this talk, I will provide all of the information you need to get...
was following this
ok thank you
let me try this
can i test it through post man?
will it send request to reader?
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