#z_api
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/1300566970500124793
📝 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.
I was talking to @Pompey about this
const account = await stripe.accounts.create({
email: req.body.email,
controller: {
stripe_dashboard: {
type: "none",
},
},
capabilities: {
card_payments: {
requested: true,
},
transfers: {
requested: true,
},
},
business_profile : {
product_description: req.body.productDescription
},
country: "US",
});```
anything i'm doing wrong?
acct id: acct_1QEzu8RVeuKStmZE
Hi there, give me a few minutes to catch up
Sure, refer to the thread that was 46 minutes ago, 14 messages
I won't read the full thread. Instead, can you share where you're currently blocked?
Sure
Per the documentation,
Additionally, if you onboard an account without its own website and your platform provides the account with a URL, prefill the account’s business_profile.url. If the account doesn’t have a URL, you can prefill its business_profile.product_description instead.
I have done that here
Can you share a link to where you're reading that exactly?
However, on the embedded onboarding, still prompts for a URL and won't let me continue
Check the bottom of Create an account and prefill information
Got it, thanks
Do you see the same behavior if you pass a product_description value that isn't just a long string of random characters? https://dashboard.stripe.com/test/logs/req_75wFQVEWVpKidd
honestly, I haven't tried that since it was test data. Let me see
Still asks for it
Account ID: acct_1QF0XFRZyZpLt3FZ
Thanks for testing this
Pompey said that this configuration was working on their end
Was wondering what is different between our configurations
Out of curiosity, are you setting a value for setCollectionOptions when creating the AccountSession?
Let me check
async onboardAccount(req, res) {
try {
const account = req.body.account;
const accountSession = await stripe.accountSessions.create({
account: account,
components: {
account_onboarding: { enabled: true },
account_management: { enabled: false },
notification_banner: { enabled: false },
},
});
console.log(accountSession)
res.json({
client_secret: accountSession.client_secret,
});
} catch (error) {
console.error(
"An error occurred when calling the Stripe API to create an account session",
error
);
res.status(500);
res.send({ error: error.message });
}
}```
I am not
Let me do a quick test on my end
sure
I see the same thing you do, actually
That's a current blocker I am facing since my clients do not have a website
After I create the account, business_profile.url is included in the requirements hash
That is weird
Is this internal to you or can I also see it as well
You should also see this: https://dashboard.stripe.com/test/logs/req_7P6vEthNQkNZBK
Oh, yes I do see it
"currently_due": [
"business_profile.mcc",
"business_profile.support_phone",
"business_profile.url",
"business_type",
"external_account",
"representative.dob.day",
"representative.dob.month",
"representative.dob.year",
"representative.email",
"representative.first_name",
"representative.last_name",
"settings.payments.statement_descriptor",
"tos_acceptance.date",
"tos_acceptance.ip",
],
I think this is expected since our terms of service requires a valid business_profile.url for accounts that have the card_payments capability: https://docs.stripe.com/connect/handling-api-verification#url-verification
If the account doesn’t operate a website to promote their business, sell products, or accept payments, they’re required to provide business_profile.product_description instead.
A product description needs to detail the type of products being sold as well as the manner in which the account’s customers are being charged (i.e. in person transactions).
Also says this in the note ^
Which note exactly?
Ah, I see
We have some additional details here about this requirement: https://support.stripe.com/questions/business-website-for-account-activation-faq
https://support.stripe.com/questions/do-i-have-to-have-a-business-website-to-sign-up-for-stripe
If you don't use a website, social media profile, or mobile app to promote your business or sell products online, you will be asked to provide a description of the products you sell instead.
Same information as the other docs that you all have
I know our financial partners have requested more information as part of "know your customer" obligations so I'm not sure how exactly this meshes with providing a URL or a description as part of onboarding, not both
Ah I see
Right, so I think there's slightly conflicting guidelines here since we also list business_profile.url as a requirement here for the kinds of accounts you're creating: https://docs.stripe.com/connect/required-verification-information
I recommend reaching out to our Support team about this: https://support.stripe.com/contact/
Is there some analysis done the the product description and if it isn't "valid" then it'll ask for a business url?
Will do
This is what your AI assistance provides: