#chethan_08347
1 messages · Page 1 of 1 (latest)
hi there!
what's your question exactly?
an issue with a webhook event?
if so, then please share the Event ID (evt_xxx)
where can i find
find the failed event in your dashboard: https://dashboard.stripe.com/test/webhooks
I still don't understand your issue.
is the issue related to the webhook event itself that failed, or that the PaymentIntent has requires_confirmation status?
so the issue is the webhook event itself? Stripe sent you the event, but your server returned a 400 error.
to fix this, you need to check your backend logs to understand why your server returned 400 instead of 200
i am using test card 4000 0000 0000 3238
i am using nextjs and tringing nextaction where i am getting paymentintent.status= requires_confirmation insted of require capture and i have also autorized 3rd secure
oh, so your question is not about the webhook event, but about the PaymentIntent status...
yes
this test card always require 3DS, so it's expected to be in requires_confirmation status
to avoid this, use 4242424242424242 for the test card
what will the next step if payment intent gives requires_confirmation we need to complete the payement using this 4000 0000 0000 3238
we need 3d secure to be intigrated
then you need to confirm the PaymentIntent on the frontend with https://stripe.com/docs/js/payment_intents/confirm_card_payment#stripe_confirm_card_payment-attached
we tried this payment status is still pending on stripe dashboard
can you share the PaymentIntent ID (pi_xxx)?
you need to confirm the PaymentIntent a second time after 3D Secure due to the integation you're using(confirmation_method:"manual" ) Looks like you are not the developer and this is a WooCommerce plugin? the plugin should handle this for you.
i am WordPress developer i am using on headless WooCommerce confirmation_method to automatic
you're not using automatic though, you're using manual.
how to change to automatic
pass confirmation_method:automatic (or pass nothing since it's the default) in the API request that creates the PaymentIntent.
confirmation_method:"manual" can you provide api to confirm 3d secure
thanks i will try if any doubt i will ping