Open itsamit108 opened 2 weeks ago
you need to use confirmPayment with the us bankaccount payment like done in this example: https://github.com/flutter-stripe/flutter_stripe/blob/fe5498b6ed605c8e7fbc9180843cf07f9ab9200f/example/lib/screens/regional_payment_methods/us_bank_account.dart#L94
you need to use confirmPayment with the us bankaccount payment like done in this example:
Thanks for the suggestion! However, this example applies to Stripe ACH with microdeposit payments, while I'm implementing Stripe ACH with instant verification using financial connections.
The error I'm facing occurs after collecting and verifying the bank account through instant verification, as per the documentation. When I attempt to confirm the payment, I get this error:
"You cannot confirm this PaymentIntent because it's missing a payment method. You can either update the PaymentIntent with a payment method and then confirm it again, or confirm it again directly with a payment method or ConfirmationToken."
Please refer to the code snippets provided above for reference, or feel free to ask any follow-up questions for further clarity.
I will try to look at it next week at the moment I am abroad for work
I always get this error when I accidentally use a test payment method in a prod environment or vice versa. You might want to double check that you are using the right key for the environment you are in.
Describe the Bug
I am implementing Stripe ACH with instant verification in a Flutter app but encounter an error during payment confirmation. I followed the official Flutter Stripe documentation: Flutter Stripe Financial Connections.
Issue Details
After collecting and verifying the bank account through Stripe ACH with instant verification (as per the documentation), I receive this error when attempting to confirm the payment:
Key Question
How should the payment method be provided or linked in the following code?
This is a business-critical requirement.
For reference, I also reviewed the related issue: GitHub Issue #1348.
Critical Code Snippets
Payment Handling Code
Payment Service Class
Stripe Integration - Payment Intent Creation
Financial Connections Session Creation
To Reproduce
Steps to reproduce the issue:
123-456-789
in the card field.Expected Behavior
A clear and successful confirmation of the payment intent.
Smartphone / Tablet Details
Additional Context
Any additional insights or workarounds are welcome.