#felipe_ach-migration
1 messages ยท Page 1 of 1 (latest)
๐ Welcome to your new thread!
โฒ๏ธ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
๐ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1495844669978837083
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- felipe-borges_api, 4 hours ago, 22 messages
felipe_ach-migration
How do I know if a bank account has been migrated without having to look at a charge?
the bank account is not what matters. What matters is how you're creating the Charge
In the case of Subscriptions the main difference is whether we use default_source: 'ba_123' on the Customer/Subscription or default_payment_method: 'ba_123'
hi @patent jungle thanks for getting back to me
let me find some example customer objects real quick
e.g. customer cus_<redacted> has default_source and its charges are of type us_bank_account
That Customer's Subscription has default_payment_method set which takes precedence
also please ask me anything that's unclear. I am deeply involved in that deprecation and I can likely clear up any confusion ๐
so if my product only uses subcriptions, is it enough to set the payment method of these subscriptions to satisfy the migration?
thanks @patent jungle , I'm 2 days in and been having a hard time making sense of this. Also my first time touching the stripe ecosystem
The 2 main things to think of are
#1 Use default_payment_method instead of default_source
#2 Make sure your old BankAccount objects ba_123 have a valid Mandate associated with them. Depending how you collected those originally this is the harder part of the work as you might need to run a one-time migration to backfill all the old objects
we do have valid mandates, but the doc implies we need to create new Mandate objects, even if we use the retained ip address and user agent.
| Depending how you collected those originally
how so?
we do have valid mandates
do you mean you have that record internally or you gave this to Stripe?
we sent it to Stripe when setting up the intent
okay so that means we should have everything you need in that case
meaning: if in the legacy integration we sent a valid mandate for every bank account, we don't need to do anything on that end?
yes
also, how can I check a bank account's mandate? doc assumes I have an id: https://docs.stripe.com/api/mandates/retrieve
you can't unless you have the id or remember the SetupIntent where you set it up
we're working on adding a List Mandates API and a last_activate_mandate in the API too but it's not ready yet
so there's no way to query which accounts don't have a mandate? maybe if I open a support ticket they could provide that info?
correct and yeah opening a support ticket is likely the best option. Feel free to use https://support.stripe.com/contact/email?topic=api_integration and I can find it and get it to the right people
thanks I'll route it to someone!
thanks @patent jungle , that's been really helpful. One thing that's still odd to me: the docs say we should enable this guy, but it's disabled and we still have payments being processed in the new API. Is there something I'm missing?
I don't know, this is a really short/truncated screenshot without much context to go on unfortunately
ah sorry, this is the payment methods settings screen, referred from here:
https://docs.stripe.com/payments/ach-direct-debit/migrating-to-new-apis#build-ach-direct-debit-integration
sorry it's still truncated
you hide the URL and the name and all that so it's hard to really help without the full context and yoiu removed your customer id from earlier too
okay so that's the PMC for payments. But you use Billing
And you also use Connect right?
You also collect bank account details yourself so this is likely not relevant. Sorry I'm still really guessing for now
Likely much easier with your support ticket if you don't want to risk leaking any personal information but otherwise we should work from a clear and concrete example
ah, got it. Billing is indeed different. but in Billing, the payment method that the migration docs say must be enabled (ACH Direct Debit) is still disabled. In the doc:
- Enable ACH Direct Debit in your Payment methods settings
Maybe it does not matter for Billing.
yeah sorry this is really hard to answer without making educated guesses
The "default payment method" overrides anything you put in that list for example
no, I have no idea what this screenshot is about sorry
ok. thanks @patent jungle this was really helpful
It's a bit tricky to help here without actionable object ids or exact URLs from the Dashboard. I do know you prefer to hide the PII which is totally fair so on the support ticket you can likely discuss a more specific case, but make sure to provide all those ids as they are crucial to investigate what's happening
yes, but still this thread was really enlightening
glad I could help. I also got my colleague to respond to your Mandate question!