#daniel-subscription-plaid
1 messages · Page 1 of 1 (latest)
daniel-subscription-plaid
Hey @charred apex ! Our Plaid integration is quite old/legacy. It's documented here https://stripe.com/docs/ach-deprecated though and still works.
But my advice would be to switch to our official product that does something similar called FinancialConnections: https://stripe.com/docs/financial-connections
Really need to make the plaid integration work. Our users are locked into using it for funding thier account with our investing partner Drivewealth. And it would a crazy user experience to ask them to link thier bank twice.
Is there a way we can take the bank account and routing number from the plaid integration and add a payment method using that info if there isnt a way to add it with a stripe_bank_account_token?
We have a Plaid integration, it works already, I did link you to our canonical docs for it earlier. What part is not working for you?
Is it that you have integrated only Plaid and just get raw bank account details?
I’m not clear about this part. How do I connect the stripe_bank_account_token to the customer as a payment method?
My hope is that we are able to connect the bank account to the customer and allow the user to use it to set up a subscription with it as the payment method
It's a bit convoluted because it's a legacy API we built in 2015. You would call the Create Customer API https://stripe.com/docs/api/customers/create and pass source: 'btok_123456' and that will automatically create/attach a BankAccount object to that Customer.
And then you can use the SetupIntent API to properly set them up with a custom/offline mandate that you collected for them
Ah i see, thats what im looking for i think. Do I still call the /create endpoint if the customer already exists? Is there a way to attached to an existing customer?
Will https://stripe.com/docs/api/customers/update with passing the source do the trick?
Once you have a BankAccount you still need to get a valid Mandate which is documented here https://stripe.com/docs/payments/ach-debit/migrations#bank-accounts-api
so you have to do that step afterwards (you can use an existing ba_123456 instead of passing raw bank account details)