#bytecrafter_docs

1 messages ¡ Page 1 of 1 (latest)

marsh coralBOT
#

👋 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.

strange vessel
#

{
"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"
  }
}
ivory rampart
#

Hi! Looking into this.

strange vessel
#

Yeah I did but I dont see the external test and oauth setup when i go inside the app settings.

ivory rampart
#

Can you provide me with your account ID?

strange vessel
#

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.

ivory rampart
#

The account ID is for the account that published the app or installed the app?

strange vessel
#

This is top level account ofc when i go to test mode I dont see account details

ivory rampart
#

Noted! Checking on my end.

#

Your distribution_type is private. Can you try updating it to public instead?

strange vessel
#

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

ivory rampart
#

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.

strange vessel
#

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.

ivory rampart
strange vessel
#

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?

ivory rampart
#

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.

strange vessel
#

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?

ivory rampart
#

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.

strange vessel
#

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?

ivory rampart
#
  • 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:

strange vessel
#
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

ivory rampart
strange vessel
#

After installing app, if the user allowed webhook requests to connected accounts, can I get events on webhook from connected accounts as well?

ivory rampart
#

Yes you can.

strange vessel
#

I created new account but cannot move to test

ivory rampart
#

You have created a sandbox account. There is no test mode to it.

strange vessel
#

But i cannot upload app to sandbox account though?

ivory rampart
#

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.

strange vessel
#

I had but again its a connect account, and with connect account I got above issue.

ivory rampart
#

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.

strange vessel
#

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?

ivory rampart
#

You shouldn't be clicking on Switch to sandbox. Can you click on + Create account instead?

strange vessel
#

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

ivory rampart
#

Can you choose Skip for now?

strange vessel
#

× 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.

ivory rampart
#

You are in an sandbox mode. At the top right hand corner do you see Switch to live account? Click on that please.

strange vessel
#

should i create new business here or use the one that i already have?

ivory rampart
#

It's up to you. If it is just for testing you can create a new one.

strange vessel
#

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?

ivory rampart
#

Sure you can do that as well. The idea is to ensure you have a live account that is no a connect platform.

marsh coralBOT