#morteza_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/1375412669686874143
๐ 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.
- morteza_react-native-terminal-sdk, 17 hours ago, 29 messages
I have installed "stripe": "18.1.0-beta.2" version
I don't think I can , I don't have access to the panel
what's the account ID?
is it safe if i send here ?
yes
acct_1NBFV8PxqJiGKRXD
that's the custom account you're creating the account session for, right?
I guess
I don't see any requests going to this endpoint on the platform level /v1/account_sessions
are you sure you're using the right secret key?
yes
const accountSession = await stripe.accountSessions.create({
account: "acct_1NBFV8PxqJiGKRXD",
components: {
capital_financing: {
enabled: true,
},
capital_financing_promotion: {
enabled: true,
},
capital_financing_application: {
enabled: true,
},
},
});
this is my codes
I have a question, I guess this account is a connected account under our main account, is it ok ?
I mean under platform account
yes correct
so it should still work right ?
sorry I just found the request
give me a second to take a look
can you remove the explicit api version
'sk_live_xxx',
{ apiVersion: '2020-08-27; embedded_connect_beta=v2;' }
);
and try again?
An error occurred: Received unknown parameter: components[capital_financing] (Hint: In order to access this beta feature, you must explicitly specify which version of the beta you want, by passing an HTTP header "Stripe-Version: 2025-03-31.preview;embedded_connect_beta=v2".)
could you do that please?
I removed explicit version and got the error just shared
replacing '2020-08-27; embedded_connect_beta=v2;' with '2025-03-31.preview;embedded_connect_beta=v2'
the same error. :An error occurred: Received unknown parameter: components[capital_financing]
{ apiVersion: '2025-03-31.preview;embedded_connect_beta=v2' }
oh wait
there's no capita_financing all alone
capital_financing: {
enabled: "true",
},
capital_financing_application: {
enabled: "true",
},
capital_financing_promotion: {
enabled: "true",
},
},```
should be
```components: {
capital_financing_application: {
enabled: "true",
},
capital_financing_promotion: {
enabled: "true",
},
},```
actually there is
nevermind me
Received unknown parameter: components[capital_financing_application]
I just realized that you might not be gated properly
how did you get access to this feature?
did you contact your AE?
{ apiVersion: '2025-03-31.preview;embedded_connect_beta=v2' }
is this the correct way to set version ?
"Stripe-Version: 2025-03-31.preview;embedded_connect_beta=v2".
in the error message the field seems to be Stripe-Version, that's why
yes that's the header
actually yesterday I got permission error and we contacted support and they gave us access to the feature
yes but I think it's not configured correctly
would you mind replying to the thread that you had with support yesterday telling them that you're not able to access the feature and ask them to look whether they correctly configured your account?
ok
you can give them this request https://dashboard.stripe.com/logs/req_85N5Ya8OriAbJV as an example
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
ok , thank you
I have installed "stripe": "18.1.0-beta.2"
is it ok ? or i should install latest version ?
this is fine
this is the email stripe has sent, I use live secret keys , what about this
ok so as mentioned in this email, this was only enabled in test mode
but you're using your live secret key
so you don't have access to that feature in live mode
is it possible to make it available for live mode
we wanna use this feature in our production app
you need to reply to that email
would you mind just removing the image from that message?
thanks ๐
thank you
I have test secret keys
let me test it
An error occurred: Invalid Stripe API version: 2020-08-27; embedded_connect_beta=v2;. You do not have permission to pass this beta header: embedded_connect_beta. If you have any questions, we can help at https://support.stripe.com/.
Find help and support for Stripe. Our support site provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
this is for test keys
did you use the correct test key?
I don't see any recent requests on your platform's test environment
is it a sandbox? or test mode?
test key is fine
yes
An error occurred: Received unknown parameter: components[capital_financing]
aain got this for sk_test
no I'm using the https://docs.stripe.com/capital/embedded-component-integration?lang=node a nextjs app with api for session creating and client side for embedding component
when I say sandbox I mean on your dashboard you can choose between test mode and creating a sandbox
do you have access to the dashboard?
I should ask the Admin, where in dashboard can I select that
hi! I'm taking over this thread.
hi soma
in the full error message you get from Stripe, you should see a Request ID (req_xxx). can you share it?
thanks, that's helpful! having a look
the components.capital_financing_application property is only available in "private preview", as mentioned in the doc link you shared. did you request access to that feature?
yes
and did you get a reply from Stripe saying that you do have access?
yes , they said we have access in test mode now and i use test publishable key and test secret key