#rob.clatyon-usbankpm-testing
1 messages · Page 1 of 1 (latest)
Hello! We'll be with you shortly. 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.
- rob.clayton, 20 hours ago, 24 messages
The second of those payment methods I created manually, the first is from the code I showed above.
Not sure why they are somewhat different.
Okay quick question. When you say "stripe admin portal" do you mean the Stripe dashboard?
I do, sorry snufkin
Okay so that is going through a very different flow than the code you provided.
The Stripe dashboard uses our newer Financial Connections flow to create the us_bank_account payment method. It's also the flow I would recommend you use in your testing.
We document how it works here: https://docs.stripe.com/payments/ach-debit/set-up-payment
So I'm using a test clock and running a test where I need to get the payment_intent.processing event ...
I'm doing it all through python server code ...
this flow speficially requires a client interaction (I think).
Can I implement the same process using only server code with no client interaction?
This is all for testing, I hasten to add
but full e2e testing to validate my understanding of the flow.
I can't just use unit or integration tests and expected webhook calls
In that case what I would do is what we recommend for automated testing https://docs.stripe.com/automated-testing
- Go through the steps manually (with client interaction)
- Copy the API responses from each step
- Use those respones to create some mock API responses so you can do the entire flow programmatically
ah, I see, okay, thanks
Happy to help 🙂