#vlad-bubble_api
1 messages ยท Page 1 of 1 (latest)
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.
- vlad-bubble_api, 4 minutes ago, 22 messages
๐ 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/1220058213828005888
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
๐ Hello! Did you see the last thing that rubeus flagged in the previous thread?
It's expected that once it succeeds it will be removed. That only gets set for the initial public upload. Once a Stripe App is public it's public forever.
Hello Karbi. Thank you.
Yes I saw his message. However I looked at the app in the Stripe Dashboard, after it was installed, and it was installed as a Private app.
Ah! So the main issue here is that you're not able to install a public app at all
When you set the distribution_type did you do it manually or did you use a CLI command?
Yes that's correct.
despite having the distribution_type as public in the stripe-app.json the app always gets installed as private AND the distribution_type property gets silently removed from the stripe-app.json
I've tried it a dozen times. I've tried adding the distribution_type using the cli command stripe apps set distribution public and also by manually editing file.
It's always the same result
Can you try changing the version in stripe-app.json to something like 0.0.2, run the CLI command to set the distribution to public, and then try the upload one more time?
I think this is related to a bug where setting the distribution to public before you upload your first version fails in a weird way
@foggy blade Just wanted to check in and see if you were able to try what I mentioned?
hi karbi.. sorry, it's been very much a multitasking day for me..
thank you for not closing the thread, i appreciate it.
let me try what you are suggesting now.
no worries!
it still did a private install ๐ข
what's the app ID you're using?
"id": "com.blah.blah.example.vgs555karbi.party",
"version": "0.0.9",
"name": "vgs Karbi Pizza Party",
"icon": "",
"permissions": [
{
"permission": "connected_account_read",
"purpose": "Testing"
},
{
"permission": "account_link_write",
"purpose": "Testing"
},
{
"permission": "balance_read",
"purpose": "Testing"
....
"permission": "webhook_read",
"purpose": "Testing"
}
],
"ui_extension": {
"views": [
{
"viewport": "settings",
"component": "AppSettings"
}
],
"content_security_policy": {
"connect-src": null,
"image-src": null,
"purpose": ""
}
},
"stripe_api_access_type": "restricted_api_key"
// the distribution_type was right here, but it got removed after I uploaded the app
}```
the email address I am using for the stripe account that I am uploading this app to is: vlad.stanishev+555@gmail.com
Ah sorry let me be clear - you need to upload another version of an app that you've already uploaded before
i see. so leave the id the same, but just update the version?
yup!
hooray!
i doubt I would have figured this out on my own or from the docs to be honest
Yeah I don't think we do a great job of documenting this at all - I'll make sure to flag to the team to make sure they can get this fixed, or in the very least add some error message or something to say what's going on
๐
Hi Karbi, I have another question, thought I'd try the same thread as it's a continuation of testing this app..
so my app is now installed as public, and I have this config
when I use the link to test, it works. It takes me to a stripe login page, i login using a different stripe account, i approve the app etc.
๐ stepping in as karbi needed to step away
Hi Bismarck, hi, thank you.
So when i add a &redirect_uri=https://bubble.io to it that link, it takes me through the login process, but then it doesn't prompt for any app installation or anything of the sort, once I login, it just takes me to:https://dashboard.stripe.com/dashboard
Huh, so after you install it just redirects to your Dashboard?
Any way you can capture this on a quick screen recording?
sure let me try
can you access this link? https://www.loom.com/share/0a4d458aab164955ba2bef0caaaf8a51?sid=f7235e79-601d-40c3-8757-8b1bafe5732c
Looks like it is private, can you make it public?
yes was just doing that. can you try it again?
Yep that works
Looking
Can you show me your stripe-app.json?
Oh it is above
But I don't see allowed_redirect_uris above
oh.. ๐ค
Oh you are using a restricted key App and not OAuth here?
Hmmm I haven't tried redirect URIs with a restricted key app, but wonder if you do add the URIs to your manifest like we show for OAuth here: https://docs.stripe.com/stripe-apps/api-authentication/oauth#develop-app
Can you try adding your URI there in your manifest and then test again?
i will try it in about 20 minutes.. please don't close the thread if that's ok.
Sure
hi bismarck.
so a little bit of progress, but still not being redirected.
here is a 2 minute video: https://www.loom.com/share/306c6ae56d3845b9a31da7e4307581f4?sid=cd5fa24d-4ec9-492f-a3fc-e1b4759dac5d
basically - i get prompted to install the app this time (which is good, wasn't happening before) - but I am still not being redirected back to the redirect_uri - I am only given the option to go to the app settings in the stripe dashboard
Looking
Yeah this is just because you are in a test flight install. You can see that is expected here: https://docs.stripe.com/stripe-apps/test-app#installing-test
Unfortunately, this may mean it isn't possible to actually test out the redirect URI....