#denjaland_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.
- denjaland_api, 1 hour ago, 17 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/1234958638721007697
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
it seems the width is limited and not responsive for the embedded onboarding, but it looks a bit too narrow to our taste - is there a way that we can resolve this?
Components assume width is from the parent component I believe
https://docs.stripe.com/connect/get-started-connect-embedded-components#width-and-height
is that valid for the onboarding component too?
the parent as you can see has a full width?
immediate parent
Ah hmm looking at the docs, I don't see a way to set width per components basis.
I have a feeling we don't assume the full width for this specific one
yeah - I'm afraid it's fixed width indeed.
I can flag this internally or you can file a feature request for this via if you want to stay in the loop
https://support.stripe.com/?contact=true
I'll create a request indeed.
Small other question you could help me with - is there an endpoint to retrieve the prices from? If we integrate, and we guide our users into signing up with Stripe, I want to be able to present them with the prices they will be charged
You're asking about Stripe pricing/fees correct? I don't believe we have any APIs for that unfortunately.
yeah - as of now, I'd be forced to link to your site - it would be nice if we could add the info on our website directly
yeah unfortunately, we don't have any APIs for that today.
okay - I'll create new feature requests - thanks very much ๐
NP! ๐ Happy to help
One more question if you don't mind. When retrieving an account from the API, I do get the capabilities hash, but I also see active_payment_methods in there - I can't find the docs on that though. I thought I only had to look at the capabilities, but in doubt now...
๐ hopping in here since hanzo has to head out
I believe active_payment_methods is an older attribute that was never made public (your platform account must've been added to the feature a while ago) - capabilities is meant to replace it and should be safe to use instead
yeah - I remember having a discussion with CJ Avilla back in the days where he still worked for you guys - I'll just go with capabilities. I'm just always struggling with deriving a "account state" - I want to start accepting payments for users as soon as possible of course but also want to make sure they understand you won't payout if they complete the onboarding
so I guess I shuld just check capabilities to verify what we can do, and show a warning when payouts_enabled = false or when requirements.current_deadlinehas a value? Would that be the best scenario?
Yup, check capabilities to confirm which PM types are available for the account and a warning if requirements.current_deadline is populated (although if you want to surface the warning earlier you could check eventually_due as well)