#bytecrafter_docs
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/1374240535270653992
đ 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.
- bytecrafter_stripe-apps-grandfather-connections, 4 days ago, 51 messages
{
"id": "fluxmap.dev.test1.app",
"version": "0.0.1",
"name": "Fluxmap Dev Test1 App",
"icon": "./logo.png",
"permissions": [
{
"permission": "charge_read",
"purpose": "Show sales fees"
},
{
"permission": "transfer_read",
"purpose": "Payout analytics"
},
{
"permission": "balance_transaction_source_read",
"purpose": "Fee breakdowns"
},
{
"permission": "application_fee_read",
"purpose": "Application fee analytics"
},
{
"permission": "event_read",
"purpose": "Subscribe to payment events"
},
{
"permission": "webhook_read",
"purpose": "Subscribe to payment events"
},
{
"permission": "customer_read",
"purpose": "Customer analytics"
}
],
"connect_permissions": null,
"allowed_redirect_uris": [
"https://devapi.fluxmap.io/api/auth/stripe/callback"
],
"stripe_api_access_type": "oauth",
"distribution_type": "private",
"sandbox_install_compatible": true
}
this is my current stripe-app.json
and when I tried to make it public and upload the app,
it gave me this error
Request failed, status=400, body={
"error": {
"message": "9:Because your account is a Connect platform, you cannot choose the public distribution at this time.",
"type": "invalid_request_error"
}
}
Hi! Looking into this.
Thanks for waiting! Have you had a chance to read and try this: https://docs.stripe.com/stripe-apps/api-authentication/oauth?
Yeah I did but I dont see the external test and oauth setup when i go inside the app settings.
Can you provide me with your account ID?
acct_1OpJFHDBXByVIz1I
This app is backend only app,
my flow is
User goes to my website-> signs up -> we ask to connect stripe -> go through the oauth flow with the app -> get data through webhooks
in this setup what I am currently missing is
how to get client ID for this purpose (with stripe app)
I have set redirect uri above but i cannot see anything on settings.
The account ID is for the account that published the app or installed the app?
This is top level account ofc when i go to test mode I dont see account details
Noted! Checking on my end.
Your distribution_type is private. Can you try updating it to public instead?
Request failed, status=400, body={
"error": {
"message": "9:Because your account is a Connect platform, you cannot choose the public distribution at this time.",
"type": "invalid_request_error"
}
}
i get this when doing that
i cannot upload the app
You will need to update your distribution_type to public to be able to view the External test tab: https://docs.stripe.com/stripe-apps/test-app.
Connect platforms cannot publish Stripe Apps. I would suggest creating a Stripe account specifically for Stripe Apps and not to sign up for Connect. This way you will be to publish and test your app.
Where do i get the client ID ?
This app is backend only app,
my flow is
User goes to my website-> signs up -> we ask to connect stripe -> go through the oauth flow with the app -> get data through webhooks
in this setup what I am currently missing is
how to get client ID for this purpose (with stripe app)
I have set redirect uri above but i cannot see anything on settings.
There is a client ID (starts with ca_) in this section of the dashboard: https://dashboard.stripe.com/test/settings/connect/onboarding-options/oauth
You can try to use the client ID from there.
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
Connect platforms cannot publish Stripe Apps. I would suggest creating a Stripe account specifically for Stripe Apps and not to sign up for Connect. This way you will be to publish and test your app.
this from above,
but if i use the connect options wont it make it as connect platform?
and none of this makes the use case we want to do,
we are not connect platform
i want to create a stripe app and allow user to login and then get data from webhooks for the users
Also do I have to fill all the information to get a test account to use for stripe app?
You shouldn't be signing up for connect. You likely don't have a client ID required by Stripe Apps because you are currently a Connect platform.
by default when i create a business it has a sandbox, but I cannot enable test mode there,
what are the steps I need to create a non connect account which has permission to publish public app and then test it?
The sandbox account is an isolated test environment. It won't have a separate test mode. You can just create a new Sandbox account but not sign up for Connect.
can you please specify what do you mean by not sign up for connect?
How do I know if i already signed up for connect?
- On the top left had corner fo your Dashboard, you can click on your account's name.
- Click on
Switch to sandbox - Click on
+ Create sandbox - Provide a name for the sandbox account.
I would suggest choosing the second option if your main account already had Connect:
Request failed, status=400, body={
"error": {
"message": "9:Sandboxes do not support public app uploads. Please switch to a non-sandbox account to upload a public app and try again.",
"type": "invalid_request_error"
}
}
this again
created a new sandbox account from scratch
Ah, I guess Sandbox doesn't support Stripe Apps. In this case you can create a new account via this link: https://dashboard.stripe.com/register or click the + Create button when you click on your account's name at the top left had corner of your Dashboard.
Sign up to quickly create a new Stripe account today and get started accepting payments in minutes.
After installing app, if the user allowed webhook requests to connected accounts, can I get events on webhook from connected accounts as well?
Yes you can.
I created new account but cannot move to test
You have created a sandbox account. There is no test mode to it.
But i cannot upload app to sandbox account though?
Yes, you cannot use Sandbox. Do you have a non-Sandbox, non-connect account? Because to get the External Test tab your account needs to be live.
I had but again its a connect account, and with connect account I got above issue.
You will need to create a new account. When you are in the non-Sandbox, connect platform account, follow this: click the + Create button when you click on your account's name at the top left had corner of your Dashboard.
sonicbox is my top level account,
i created multiple sandbox account within that but the issue is that i couldnt push the app because of the above issue
do I have to create a completely new account with signup and all and register business and then create app?
or can I do something on top of the current account.
I gave you account id of the current one, does it change anything?
You shouldn't be clicking on Switch to sandbox. Can you click on + Create account instead?
I created a new account
which one should i select?
none of the options make my case as I just want a account to create stripe app for ready only access to user's transaction or whatnot
Can you choose Skip for now?
Ă Failed to upload Fluxmap Dev
Request failed, status=400, body={
"error": {
"message": "9:Sandboxes do not support public app uploads. Please switch to a non-sandbox account to upload a public app and try again.",
"type": "invalid_request_error"
}
}
again got this
in CLI i logged out
and logged in with the new account
gave access and when trying to upload got this again.
You are in an sandbox mode. At the top right hand corner do you see Switch to live account? Click on that please.
should i create new business here or use the one that i already have?
It's up to you. If it is just for testing you can create a new one.
But creating a new business for test without bank details is a problem no?
if i use the old business does it automatically take my account inside connect?
Sure you can do that as well. The idea is to ensure you have a live account that is no a connect platform.