#Arvind hariharan

1 messages · Page 1 of 1 (latest)

quartz parcelBOT
hollow mist
#

Hi there, how can I help?

shadow island
#

Hi we are in process of integrating Stripe ACH with our framework. Had a query related to the financial connections. Do we need to explicitly implement the steps mentioned in the financial connections page in the document?

#

To check for the Balance by setting it in the paymentMethodOptions before we proceed with transactions

#

I am referring to this guide in doc

#

And this para while creating payment intent

#

Set the permissions parameter to payment_method. If you signed up for data access with Stripe Financial Connections, specify the additional account data you require. We recommend specifying balances in the permissions parameter to access balance data on an account. Checking an account balance before confirming a payment helps prevent payment failures because of insufficient funds.

hollow mist
#

Ok. It depends on what data you wish to access, so that you need to specify the corresponding permissions

shadow island
#

So is it mandatory to have this validation done for checking the Balances?

#

If so do we need to implement the steps given in financial connections page

#

?

hollow mist
#

You need balances permission in order to access Balances

shadow island
#

we have set the balances permission in the paymentMethodOptions. So how do we validate it. what steps we need to follow?

#

Do we need to follow the steps provided these?

#

Your Link Accounts button (client-side). Insert a button or link in your website or application, which allows your user to link their external accounts—for example, your button or link could say: Link your bank account.
Financial Connections Session (server-side). Create a Financial Connections Session which launches the authentication flow, the client-side Stripe.js UI that lets your users link their accounts. Use the permissions parameter to specify the data you want to access from the array, specifically [balances, ownership, payment_method, transactions]. After an account is linked, you can access only the data requested.
Authentication flow (client-side). Your user links their accounts to your business through the authentication flow, the client-side Stripe.js UI. Your user can also see the data you’ve requested to access.
Financial Connections Account (server-side). After your user successfully links their accounts, the Financial Connections Session returns with a Financial Connections account.
Retrieve Account Data (server-side). After a Financial Connections account is created, optionally retrieve account data requested by calling the balances, ownership or transactions endpoints of the Financial Connections API.

hollow mist
#

You don't need to paste the doc content. It makes harder to find your question.

shadow island
#

For validating the Balances of users account based on his/her consent

#

and then proceed with confirming the payment

#

intent

hollow mist
#

Yes, I'd recommend you to request for the balances permissions so that you can check the balances before creating the charge.

shadow island
#

So we need to follow the steps mentioned in the above doc and implement it before we confirm the charge.

#

And we need to validate the Balance of the account with the cart total right and check whether the account has sufficient balance

#

I mean in short we need to implement the financial connection API and access the data of users account and validate

#

is my understanding right?

hollow mist
#

What does the cart refer to?

shadow island
#

I mean order total

#

in an ecommerce site

hollow mist
#

OK, so you want to check whether your customer has enough balance to cover the cost

shadow island
#

yes

#

that is what your are recommending right based on the doc?

#

In order to avoid insufficent funds failure scenario

hollow mist
#

Yes this is exactly what the doc recommends

shadow island
#

yeah so to summarize my understanding, once the authentication flow is completed, before confirming the payment intent, we need to integrate the financial connection API and validate the balance data w.r.t Users account with the order total and then proceed.

#

If validation fails, then user cannot proceed with confirming the order or the payment intent

hollow mist
#

This sounds good to me

shadow island
#

Okay and the steps we need to follow is from this page of the doc right?

hollow mist
#

I'd suggest you to follow along the doc and come back if you have a specific question