#mattiaferrari_code

1 messages · Page 1 of 1 (latest)

pliant scrollBOT
#

đź‘‹ 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/1386693386731262054

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

Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.

stark nimbus
#

Hey there, is this something happening consistently on every payment confirmation, or inconsistently?

split silo
#

I've done the test three times

#

Each time i do not get redirect

#

I think consistently at this point

stark nimbus
#

How did you load your app onto the reader?

split silo
#

In this case i created the apk and uploaded via usb to the devkit reader

stark nimbus
#

Gotcha, thanks. ok i think i know the issue.

#

On a devkit reader, the default kiosk app (what the reader loads after payment) is not set by default, you need to specify this via a deploy group.

#

See here:

#

I sideloaded my point-of-sale app onto a DevKit and successfully completed a payment transaction. Why won’t my point-of-sale app start after the transaction completes?

On Stripe readers configured for Apps on Devices, the preferred kiosk app starts after a transaction completes. On a DevKit, the device’s preferred kiosk app is only set when you include the device in a deploy group.

To set the preferred kiosk app on a DevKit device:

Submit your app to a DevKit-only deploy group. This allows you to skip app review.
Deploy the app version to a deploy group that targets your DevKit.

#

You need to set up a deploy group and configure your app as the preferred_kiosk_app

split silo
#

Wait

#

Wait

#

I have a new question at this point

stark nimbus
#

Then deploy to your devkit using that deploy group

split silo
#

With this method potentially i can skip using the sdk altoghether right? I can like call the api hardcoding the server token like a stupid

#

And it will pass the review

stark nimbus
#

And it will pass the review
This is for devkit/testing only, but yes you can bypass review for that as you're working

split silo
#

Mhhh

#

I don't think i understood

stark nimbus
#

i can skip using the sdk altoghether right?
Not sure what you mean by this part, it would still be using our SDK

split silo
#

The preferred kiosk is also applied in prod or no?

stark nimbus
#

Yes this also applies to live apps as far as i can tell. The difference is that devkits allow you to sideload and bypass using the deploy tooling. You can't do that for production readers.

split silo
#

Ah ok

#

Let me try really quick

#

Ok it seems that i don't have permissions for this

#

{
"error": {
"message": "Invalid Stripe API version: 2025-04-30.basil; terminal_deploy_api_beta=v1. You do not have permission to pass this beta header: terminal_deploy_api_beta. If you have any questions, we can help at https://support.stripe.com/.",
"type": "invalid_request_error"
}
}

#

Do you need my sandbox account id?

stark nimbus
#

Hmm let me check

#

Do you have an errored request ID?

#

Ah shoot, sorry I missed that the page linked here is part of a private preview (the deploy api)

#

Private preview
The Apps on Devices API is currently in private preview. If you’re interested in gaining access, contact your sales representative to assess your eligibility.

#

Ok, you should be able to accomplish the same thing via the Dashboard:

#

Follow these steps to test your app in the Dashboard:

In a sandbox, open the Terminal readers page.
If you haven’t already, click Register reader to register the DevKit device to your account.
Click Developers > Apps > Terminal apps.
On the Terminal apps tab, choose the app that you want to deploy. You can also create a new app to deploy.
On the app details page, click Deploy version.
Choose the latest version of your app, then click Next.
Choose the deploy group for your DevKit device, then click Next.
Choose your preferred kiosk app, then click Next. This is the default app that launches when the Stripe reader turns on. If there’s only one app to deploy, choose that app instead.
Confirm the deployment details, then click Deploy.
Restart your DevKit device to deploy your app to the device.

split silo
#

ok i managed to do it

#

So now my question is

#

This app will not return to itself after the payment success, it will return only if i specify the preferred kiosk app in the deployment group. Will this pass the review?

pliant scrollBOT
stark nimbus
#

Hey sorry, was pulled into something else

#

Ok great, glad that worked for you!

#

Regarding app review, I can't really speak to that as its outside of our integration expertise.

#

For that specific question, I would recommend writing in to support to have the Apps team respond from the app review perspective: https://support.stripe.com/contact