#Arvind hariharan
1 messages · Page 1 of 1 (latest)
What kind of errors are you seeing?
This verification method cannot be used to create a Financial Connections Session.
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 center 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.
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?
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
req_HW8ap9rX6VQw1S
And the code?
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?
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Well. you must be initialising some code or a UI Element that is invoking that call to link_account_sessions
No, that's an API/flow for Connect unrelated to ACH
Its the same code that have pulled from stripe github custom flow -accept a payment
Can you share that link please
That's a large monorepo. Which specific line/file?
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
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
yes right
So is there any additional configs that needs to be set for resolving this?
Why are you using that flow instead of the Payment Element? https://github.com/stripe-samples/accept-a-payment/blob/main/payment-element/client/react-cra/src/CheckoutForm.js
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
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?
You need to remove the verification_method: "microdeposits" parameter, and when you call collectBankAccountForPayment you need to pass a billing email: https://stripe.com/docs/payments/ach-debit/accept-a-payment?platform=web&ui=API#send-transaction-emails-in-test-mode
I believe that triggers to microdeposit flow, then you can use the test amounts here: https://stripe.com/docs/payments/ach-debit/accept-a-payment?platform=web&ui=API#test-microdeposit-amounts-and-descriptor-codes
Otherwise if you want to force microdeposit verification: https://stripe.com/docs/payments/ach-debit/accept-a-payment?platform=web&ui=API#microdeposit-only-verification
You can't pass both:
verification_method: "microdeposits",
financial_connections: {...}
When you create your PI
OK let me try that once