#azharul-islam_api
1 messages ¡ Page 1 of 1 (latest)
đ Welcome to your new thread!
â˛ď¸ We'll be here soon! We typically respond in a few minutes, but in some cases we might need a bit more time (e.g., server's busy, you've got a complex question, etc.).
âąď¸ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can 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/1260097749475397643
đ Have more to share? Add details, code, screenshots, videos, etc. below.
https://docs.stripe.com/terminal/fleet/configurations-overview?dashboard-or-api=api did you assign the configuraiton to the reader location?
yes, I did. First I assign the configuration to the location, after that I update the configuration
Hi! Can you share the request ID (req_xxx)? Here's how you can find it: https://support.stripe.com/questions/finding-the-id-for-an-api-request
Find help and support for Stripe. Our support site provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
req_Nd5I7iaAOKxUsZ
I don't think that's the correcnt API request
https://docs.stripe.com/terminal/fleet/configurations-overview?dashboard-or-api=api you can refer to this doc for the API to update a configuration to a location
I am using the API what refered on the given doc. Infact I'm following same doc
const location = await stripe.terminal.locations.update(
'tml_XXX',
{
configuration_overrides: 'tmc_XXX',
}
);```
This is the API that I refer to.
that is for update a location with a configuration , what I already doing
after doing that, then I'm trying to update that configuration for splashscreen
Can you share with me the ID of request that you made to update the location with the configuration?
no, let me explain you my whole process from the beginning in details
I'm asking because I want to make sure that you set the configuration to the right location where you reader is located.
first, when I'm creating a location in the mean time I'm also creating a configuration and assign it with that location.
const configuration = await stripe.terminal.configurations.create({ name: configName });
await stripe.terminal.locations.create({
display_name: body.name,
configuration_overrides: configuration.id,
address: {
line1: body.line1,
city: body.city,
country: body.country,
postal_code: body.postal_code
},
});
after that, I create a reader with that location, using the below code:
await stripe.terminal.readers.create({
registration_code: body.registration_code,
label: body.label,
location: body.location
});
after that, when I need to update splashscreen I made the below request:
await stripe.terminal.configurations.update(configId, {
"configuration": {
"bbpos_wisepos_e": {
"splashscreen": "file_1PaW1qJJwRD860NBq4OQceUB"
}
}
});
is that process is okay??
What's the location ID?
tml_Fj5f4QZHnQfFhS
This location has a different terminal configuraiton.
that's right. this location have different configuration id
okay, maybe this is the issue
You should update the terminal configuration associated with that location.
yes, thaks for you assist