#anil_15200
1 messages · Page 1 of 1 (latest)
Hello! We'll be with you shortly. 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.
- anil_15200, 1 hour ago, 37 messages
could you please click on it
- Basically i am trying to use Financial Connection Id to fetch some details, but its not working.
The error message is quite descriptive. Are you sure this fca was created with the same key?
What i am trying to achieve -:
- I am creating Connect Custom Account using Stripe API.
- After that i am generating client secret using this api
https://stripe.com/docs/api/financial_connections/sessions/create - After that i am using client side Stripe JS for fetching External Bank Accont which i need to link/add to custom Connect Account (created in step 1)
- After that i am trying to use Financial Connection Id i receive in response in client to Server. But in Server, i am gettting this error
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Yes, i am sure, even i can share code with you if you want
It seems like you are not adding the Stripe-Account header at some stage.
Could you please copy and paste here the fca_xxx?
I have tried with header also, let me share with you the response
"fca_1O7xpiGRd2ScYFQJjUllVmYi"
This fca seems to belong to the Platform account, not the Connected account.
But i am using connected account id for genrating session id
I see the requestOptions is empty
So, if i pass requestOption, in that case financial connection belong to connected account
Please try
Please done leave this thread, just trying
I tried with the Connected Account Id, now at client side i am getting this response
Are you there?
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Am i following wrong guide, what i am missing here?
What are you trying to achieve/access actually?
Basically i want to link external bank account to Custom Connected Account.
2) For that i found above shared api Financial Connection (client side).
3) It giving me Financical Connection Id in Client response, but when i try to use that financial connection id in server side, i got exception.
4) I need to fetch Balances/Transactions list of Bank Account
Now you tell me, where i am doing wrong?
Are you using Stripe-Account header on the frontend?
I am using https://js.stripe.com/v3/ this js.
2) This is how i am initializing stripe.
this.stripe = (window as any).Stripe(environment.stripePublishableKey); // set published key for stripe
3) This is how i am calling stripe method
this.stripe.collectBankAccountToken({clientSecret:result.ClientSecret}).then((result: any) => {
Now in this, what you mean by Stripe-Account header, and how to use it?
You mean, this
Yes, make a request on behalf of your Connected account.
I tried, now i am getting this error on server side
Could you please copy the fcsess_xxx and acct_xxx here
Account Id -: acct_1O7x2SGhEB0pH1mo
Financial Connection Session Id -: fcsess_1O9PO9GhEB0pH1mo5JUy5UUg
Still looking...
okay
Actually, what kind of SessionService are you using?
This is the api i am using to generate Client Secret, it also generate Session Id which i think i am using https://stripe.com/docs/api/financial_connections/sessions/create
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
I have shared this with you earlier above
Yes, just in this package there's a few SessionService objects (Checkout Session, Customer Portal Session), and sometimes this creates issues.
Just wanted to make sure the SessionService is the Financial Session.
I am not sure, what exactly you mean but this is the parameters i have used in this service, please check if anything wrong or this is what exactly we need
Is above parametes right?
It seems correct, not sure what's causing the issue. Is the main problem when you try to get the session?
Everything else works correctly?
Every other api working correctly, only the api in which i need to get Bank Balance/Transactions (Financial Connection related api) not working fine, i was not sure if i am missing something or what
According to you the response we are getting at client side(ids like financial connection id, financial session id etc.), should work on server side or not?
Can you share the ID (req_xxx) of the failing API request? https://support.stripe.com/questions/finding-the-id-for-an-api-request
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.
req_OQZh6BAWfHcXZO
You can see on that request that the Stripe-Account header is not passed
I have passed
Paste the acct_xxx from that error please
acct_1O7x2SGhEB0pH1mo
So this is the actual failing request: https://dashboard.stripe.com/test/logs/req_FvxUyKIHy5HaiK
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
Seems that you're using OAuth to connect accounts to your platform?
I am using testing account, should i try with some other testing bank account?
Did you look at the link?
yes , this one?
Yes, seems pretty self explanatory
You should be onboarding accounts via Account Links, not OAuth
could you share the doc api link
This is the api, i have used https://stripe.com/docs/api/account_links/create
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
I have onboarding by account link not by OAuth, what step wrong i am doing?
I recommend you write in to our team so we can take a deeper look at this. The server is too busy right now: https://support.stripe.com/contact
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.
@dreamy sapphire its has been a week since i have write and talk with support, we have discussed all cases here in thread and get better idea, it would be better if we could talk and try to resolve this right now