#anil_15200

1 messages · Page 1 of 1 (latest)

brazen valeBOT
#

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.

vale wind
#

Hi, let me help you with this.

#

What details exactly?

cedar robin
#

could you please check the link i shared

#

are you looking into it?

vale wind
#

Could you please summarise it for me?

#

My colleague had to step away.

cedar robin
#

could you please click on it

#
  1. Basically i am trying to use Financial Connection Id to fetch some details, but its not working.
vale wind
cedar robin
#

What i am trying to achieve -:

  1. I am creating Connect Custom Account using Stripe API.
  2. After that i am generating client secret using this api
    https://stripe.com/docs/api/financial_connections/sessions/create
  3. 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)
  4. 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
cedar robin
vale wind
#

It seems like you are not adding the Stripe-Account header at some stage.

#

Could you please copy and paste here the fca_xxx?

cedar robin
cedar robin
vale wind
#

This fca seems to belong to the Platform account, not the Connected account.

cedar robin
vale wind
#

I see the requestOptions is empty

cedar robin
vale wind
#

Please try

cedar robin
cedar robin
#

Are you there?

vale wind
#

Yes

#

What guide are you following for this exactly?

cedar robin
#

Am i following wrong guide, what i am missing here?

vale wind
#

What are you trying to achieve/access actually?

cedar robin
# vale wind 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?

vale wind
cedar robin
#

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

vale wind
#

Yes, make a request on behalf of your Connected account.

cedar robin
vale wind
#

Could you please copy the fcsess_xxx and acct_xxx here

cedar robin
#

Account Id -: acct_1O7x2SGhEB0pH1mo
Financial Connection Session Id -: fcsess_1O9PO9GhEB0pH1mo5JUy5UUg

vale wind
#

Still looking...

cedar robin
#

okay

vale wind
cedar robin
#

I have shared this with you earlier above

vale wind
#

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.

cedar robin
brazen valeBOT
cedar robin
#

Is above parametes right?

vale wind
#

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?

cedar robin
#

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

cedar robin
dreamy sapphire
dreamy sapphire
dreamy sapphire
#

Paste the acct_xxx from that error please

cedar robin
#

acct_1O7x2SGhEB0pH1mo

dreamy sapphire
#

Seems that you're using OAuth to connect accounts to your platform?

cedar robin
#

I am using testing account, should i try with some other testing bank account?

dreamy sapphire
#

Did you look at the link?

cedar robin
#

yes , this one?

dreamy sapphire
#

Yes, seems pretty self explanatory

#

You should be onboarding accounts via Account Links, not OAuth

cedar robin
#

could you share the doc api link

cedar robin
cedar robin
cedar robin
#

@dreamy sapphire ?

dreamy sapphire
#

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

cedar robin
#

@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