#avgn-elements-questions
1 messages · Page 1 of 1 (latest)
Hi mostly for micro deposits but before that two small quick questions
- Anyway on sandbox to get requires_payment_method status immediately
I only get processing always
With all the listed bank options in the instant verification
https://stripe.com/docs/payments/ach-debit/accept-a-payment?platform=web&ui=checkout#test-integration we have a detailed doc on this. It'd always go to processing and then to requires_payment_method if the payment failed
But it also goes to failed
So now confused on difference between failed requires_payment_method
Because I'm always getting failed in web hooks
You attempt to debit a bank account, it goes to processing, then the bank says "nope that bank account doesn't exist" so the payment fails and you get payment_intent.payment_failed and then the PaymentIntent status is requires_payment_method
Alright got it
So then with the failed webhook
Is this the only status or others are also there
Because there is a canceled status also
I guess that's if we need to cancel it before processing ?
yes or after, basically when you call https://stripe.com/docs/api/payment_intents/cancel
Okay
- I am testing with standard connect accounts
The status of account is rejected but payments work so okay
But the payouts need account to be confirmed, and it's stuck always in Id upload or Tax ID step
How to bypass Id upload easily
I'm sorry I don't iunderstand what you are asking at all
If you test in Test mode there's no need for identity verification
It doesn't matter in Test mode
Oh my bad I assumed payouts not showing so it's because of this
Is payouts removed from the dashboard now?
Or was it never there
I'm sorry I barely follow what you are asking
payouts not showing from what? In which context?
I mean to say can we initiate a manual payout from dashboard now
Or it's only via API
Sorry, my bad it's there in the connected account dashboard and not the main one. Obviously 🥲
ah yeah that's the confusion
Now my main questions about the micro deposit flow for ACH
There is this page which I am referring mostly, but not sure how much of it applies for elements
https://stripe.com/docs/payments/ach-debit/accept-a-payment?platform=web&ui=API
Particularly there is this table, don't know when does it apply or if it is even relevant
It says synchronously also but how can deposits error codes come synchronously
👋 stepping in as koopajah had to step away
I'm not sure I fully understand your question here. Can you elaborate?
We will be using Stripe Elements
The above page mostly has documentation about the older payment element I believe
But some of the info will carry forward to elements i guess
My question , if someone is using
Manually entered bank details which leads to the micro deposit flow..
This means basically they enter their details, then they confirm their deposit via the link which stripe sends to them, and I (the platform ) gets either a success or failure webhook
This is what I understand as a basic flow
That's correct. That would occur if they don't utilize instant verification
But the table in the screenshot above, that has some error codes mentioned
Synchronously also it says , when would these errors occur. Like in which part of the flow
The synchronous errors would occur if you are using stripe.verifyMicrodepositsForPayment to verify the microdeposits as opposed to via the hosted page.
At which point you would want to use those error codes to display the error message to the customer.
So if I'm relying on stripe hosted page I ignore this ?
Correct, if you use the hosted page then that would handle any synchronous issue for you.
Recommend you test it out!
And also there is a section which says I simulate 25 and 32 dollar deposits, which again doesn't seem possible via Stripe Elements and stripe hosted page
Because the hosted url always has the 0.01 dollar flow which is the initial steo
Anyway to reach the second method, the two small amounts one
Where do you see 25/32 dollar deposits?
Sorry 32 and 45
Oh yeah that would represent cents
Yeah they hosted page you would just use the Descriptor Code values
So in a real life scenario, what would happen let's say if the 0.01 method fails
Imagine I create an intent now it's in requires action status I believe (correct me if wrong)
Now the hosted url is ready with field to enter SM XXXX
Now I have shown this url to my user on his dashboard , and stripe also send him emails
But the 0.01 thing fails, and stripe falls to the second method
Does the link change. If yes then are we intimated of the same
My understanding is that we only fall back to the Amount if we receive issue from the bank. Not if the customer has issues. So it shouldn't really change here. It would be the same method the whole time; it is just dependent on the bank for whether it is one or the other.
I understand that it's when the bank has issues
But the hosted link remains same correct
So initially it has the code, but later it automatically updates
To amount fields
Ah okay. So yeah I think most times we know which banks can handle descriptor and which can't. But you are right, there are times where the method will change during the process. In that case the link stays the same but the microdeposit_type within the verify_with_microdeposits hash will indicate the change
Okay and in this interim period I assume the status of intent remains same
And no webhhok sent ?
Correct. The Paymentintent would stay in requires_action and there wouldn't be a webhook in this case since it would have already been in requires_action
One last question, I will show the description to the user that ' he needs to enter codes etc etc'.
So basically I 'might' come to know if stripe is going to use the 2 amounts method upfront right. So I will show different text to the user
Based on the micro deposit type variable right
Thanks to both of you for your help. That's all for today from me