#wpgjetsfan13
1 messages · Page 1 of 1 (latest)
When you go through the "enter manually" flow that means you're not doing instant verification, and payment wouldn't actually proceed until verification is compelte (which is likely why you're aren't getting all the payment succeeded webhooks)
@vagrant shell please respond here and not in the main channel
I clicked reply to myself, I'm not sure why it went in the main channel. Sorry about that!
no worries!
Replies and threads are a bit different, but thank you 🙂 (also joining in here as karbi has to step away soon)
The first flow makes sense, but the second one, I don't know how to test it to completion
So I wonder if I should expect to receive the same webhooks as in the first flow, and when should I receive them. Obviously, the payment intent has next_action, but it's a test, so I cannot perform the next action
Yes, those two scenarios make sense. As karbi explained, the first case is using instanct verification so the payment can proceed. Using manual entry and microdeposits requires the customer to verify the code sent via microdeposite before the payment proceeds.
right, so I should eventually receive payment_intent.succeeded once they complete this asynchronous process, does that make sense?
I just wondered if I could somehow test it I suppose. I mean, simulate this payment to completion
(in the second flow)
I suppose when it completes there should also be a checkout.session.async_completed or something
yes, exactly
yes, in test mode you can perform the microdeposit verification using test values:
https://docs.stripe.com/payments/ach-debit/accept-a-payment?platform=web&ui=API#test-microdeposit-amounts-and-descriptor-codes
That allows you to complete the required action on the payment
I saw that, I just don't know where to enter this info
Since I'm using checkout session
Because it automatically enter $0.01 for me as you see in the second flow, second photo
Send transaction emails in test mode
After you collect the bank account details and accept a mandate, send the mandate confirmation and microdeposit verification emails in test mode. To do this, provide an email in the payment_method_data.billing_details[email] field in the form of {any-prefix}+test_email@{any_domain} when you collect the payment method details.
Common mistake
You need to activate your Stripe account before you can trigger these emails in Test mode.
I'm not sure that will work with checkout as there is no payment_method_data field
But maybe customer_email would work? Not sure
It's ok. As long as I can listen for payment intent succeeded and failed I should be ok🤞
I think this should work automatically when you use a matching customer email via checkout, yes, but you're right that note is a bit confusing in the Checkout context. I can share feedback internally to iomprove that!
Thanks! I'm not sure because I used a test account with an email that I don't have access to. But now I'm curious so I wanna test that out
Sure, whatever you think is best!