#Arvind hariharan

1 messages · Page 1 of 1 (latest)

snow stirrupBOT
raw sleet
#

What kind of errors are you seeing?

proper sonnet
#

This verification method cannot be used to create a Financial Connections Session.

raw sleet
proper sonnet
#

u mean teh payment intent ID?

#

pi_3Mt4tfA9wKNWChx10GwNIlec

#

req_r6bJdOKYMAYru6

raw sleet
#

Ok, I'm not see any errors or confirmation attempts for that payment. Where specifically are you seeing that error? Are you following a guide from our docs?

raw sleet
#

Can you share the req_xxx ID of the request in the screen returning the 400?

#

Or the code you're using that makes the request

proper sonnet
#

req_HW8ap9rX6VQw1S

raw sleet
#

And the code?

proper sonnet
#

We are not doing anything in the code for this

#

Do we need to call the account links and account sessions based on this doc?

raw sleet
#

Well. you must be initialising some code or a UI Element that is invoking that call to link_account_sessions

raw sleet
proper sonnet
#

Its the same code that have pulled from stripe github custom flow -accept a payment

raw sleet
#

Can you share that link please

proper sonnet
raw sleet
#

That's a large monorepo. Which specific line/file?

proper sonnet
#

accept-a-payment-main\accept-a-payment-main\custom-payment-flow\server\node\server.js

#

We don not see this link_account_session API in the code

#

*do

raw sleet
#

Ok, but that error you're seeing is from the front-end code where you're including Stripe.js and I suspect it's this line: https://github.com/stripe-samples/accept-a-payment/blob/main/custom-payment-flow/client/react-cra/src/UsBankAccountDebit.js#L52

GitHub

Learn how to accept a payment from customers around the world with a variety of payment methods. - accept-a-payment/UsBankAccountDebit.js at main · stripe-samples/accept-a-payment

proper sonnet
#

yes right

#

So is there any additional configs that needs to be set for resolving this?

raw sleet
#

It's a much easier integration path that handles all of this automatically

#

Otherwise I suspect the collectBankAccountForPayment method can't be used with microdeposit verifications, so you'd need to remove that parameter from your PI creation

proper sonnet
#

So how to test the micro deposits verification ?

#

Since it was already pre built i took that route of testing and without micro deposits verification parameter it is working fine and able to get the payment intent processed succesfully

#

But need to understand how to test this piece?

raw sleet
#

You can't pass both:

verification_method: "microdeposits",
financial_connections: {...}
#

When you create your PI

proper sonnet
#

OK let me try that once

snow stirrupBOT