#martyna - confirm after 3DS

1 messages ยท Page 1 of 1 (latest)

opal stoneBOT
coarse elm
#

martyna

#

You said: hi, we at Recruitee had this issue in production as well - we have 200 respnse on payment_intent, but we got 404 on Request URL: https://hooks.stripe.com/csp-report?p=three_d_secure%2Fauthenticate Request Method: POST Status Code: 404 csp-report : {,โ€ฆ} blocked-uri : "wasm-eval" column-number : 218267 disposition : "enforce" document-uri : "https://hooks.stripe.com/three_d_secure/authenticate?client_secret=src_client_secret_1IWDMZmJPuay4CvUSAshLp2l&livemode=false&merchant=acct_15OzyvHpcg3Dmd9G&return_url=https%3A%2F%2Fhooks.stripe.com%2Fredirect%2Fcomplete%2Fsrc_1MGonJHpcg3Dmd9GC49VTPMU%3Fclient_secret%3Dsrc_client_secret_1IWDMZmJPuay4CvUSAshLp2l%26source_redirect_slug%3Dtest_YWNjdF8xNU96eXZIcGNnM0RtZDlHLF9OMHFVNGdOajVyVW5GM010WEZmdmVzY0NRa0JJT1ln0100N3CCKrXP&source=src_1MGonJHpcg3Dmd9GC49VTPMU&source_redirect_slug=test_YWNjdF8xNU96eXZIcGNnM0RtZDlHLF9OMHFVNGdOajVyVW5GM010WEZmdmVzY0NRa0JJT1ln0100N3CCKrXP&usage=single_use" effective-directive : "script-src" line-number : 2 original-policy : "report-uri /csp-report?p=three_d_secure%2Fauthenticate; connect-src 'none'; manifest-src 'none'; media-src 'none'; object-src 'none'; base-uri 'self'; font-src 'self'; img-src 'self' https://q.stripe.com/; script-src 'self' https://js.stripe.com/ 'report-sample'; style-src 'self'" referrer : "https://js.stripe.com/" script-sample : "" source-file : "chrome-extension" status-code : 200 violated-directive : "script-src"

#

Yep can you provide the request ID for that 404?

#

Hmm wait

#

You are seeing a 404 upon redirecting to handle 3DS?

wooden pebble
#

and then our api has a response that. the card was declined
payment_processing_failed

#

this is with using your test 3ds secure and 3ds 2 secure cards on test env but we have this issue since 9.12 and support is constantly closing the issue ๐Ÿ™ˆ and we simply do not know what to tell our customers as they are using 3ds secure required cards in prod as well

coarse elm
#

Gotcha

#

Can you provide me an example PaymentIntent that I can look at?

wooden pebble
#

sure

coarse elm
#

Thanks, give me a moment

wooden pebble
#

then Stripe modal appears (and i click confirm or fail - doesn't matter actually) and it is followed by csp hooks 404 and then purchase fails

coarse elm
#

Okay so for that example it is using the manual_confirmation flow

#

So that means that after 3DS is completed on the client, you must confirm again on the server to complete the payment

wooden pebble
#

but i assumed when testing 2 cards from your documentation they should be passing the confirmation ๐Ÿ‘€ in that case should we do something?

coarse elm
#

I'm not sure what you mean exactly?

wooden pebble
#

i mean what we can do to prevent such issues - 3ds secure cards are not passing confirmation (stripe test cards) and our customers on production

#

those two Rita mentioned, they are not working and we saw that in production logs as well

coarse elm
wooden pebble
#

ok so we should call paymentIntent twice, am i correct?

#

before, and after confirmation?

coarse elm
#

Yep, let me find the docs. One sec

wooden pebble
#

right now, we have paymentIntent 200, csp stripe hooks for 404, subscription not purchased card declined - patch 422

#

and the proper way should be paymentIntent 200, csp stripe hooks 200, paymentIntent 200 (second), and then patch should pass?

coarse elm
#

Let's back up a sec

#

So you are completing 3DS using handleCardAction, correct?

wooden pebble
#

honestly idk i am QA not dev, but gimme few mins maybe i'll find it ๐Ÿ˜„

#

yes, we do

#

we use handleCardAction

coarse elm
#

Okay I'm confused by the fact that you are seeing a 404 for card declined. The examples you have provided me have not been declined

#

They just haven't been completed yet

wooden pebble
#

ye i know, we are confused since 9th of december when i found it ๐Ÿ˜„ we do not have any idea why this is happening (especially when those are stripe test cards from your documentation with outcome OK)

#

and we are more even confused why 3ds cards worked before on production and stopped working last week ๐Ÿ˜„

#

3DS2 Required OK 4000000000003220 3D Secure 2 authentication must be completed for the payment to be successful. By default, your Radar rules request 3D Secure authentication for this card.
3DS Required OK 4000000000003063 3D Secure authentication must be completed for the payment to be successful. By default, your Radar rules request 3D Secure authentication for this card.

#

so in test mode - after clicking FAIL or COMPLETE AUTH there is always the same reason - card declined

coarse elm
#

Is there somewhere we can reproduce this?

wooden pebble
#

yes, i can do this on out testing env

coarse elm
#

Is there a link we can go to and see it ourselves?

wooden pebble
#

do you have access to recruitee logs in stripe? I dont ๐Ÿ™ˆ

ocean garden
wooden pebble
#

let me check the code, and do you have access to stripe logs of recruitee testing env? i can also manually reproduce and all of it will be in stripe (as we checked them last week in stripe as well)

#

no i don't see any outcome usage

ocean garden
#

If you can share example request IDs or payment intent ID yes I can inspect those details

wooden pebble
#

im using this card from you Test documentation: 3DS Required OK 4000000000003063 3D Secure authentication must be completed for the payment to be successful. By default, your Radar rules request 3D Secure authentication for this card.

#

and i chose Complete auth on stripe modal

ocean garden
#

Ok this looks to be successful, but you need to confirm the payment again after the 3ds auth

#

Because you're using manual confirmation

wooden pebble
#

but where? should i log in to stripe and then confirm it? how and where i can confirm it on our test env?

ocean garden
#

With the API, you can use eg curl or whatever SDK you prefer

#

martyna - confirm after 3DS

wooden pebble
#

we have a confirmation in API ๐Ÿ™ˆ

#

we DO NOT confirm if we have account balance less or equal 0 or paymentIntent is not available

inland spindle
#

Hello ๐Ÿ‘‹
Taking over for synthrider as they had to step away
Let me know if you have a follow up question ๐Ÿ™‚

wooden pebble
#

Hello, yeah i do ๐Ÿ™ˆ , could you see my last few messages in the thread ๐Ÿ˜… it would be helpful

inland spindle
#

I see the messages but I'm not sure what your question is as this is a long running thread ๐Ÿ™‚
Would you mind writing a quick summary of your current state and the question?

wooden pebble
#

sorry, no thank you. we were trying to reach via customer support since 9th of december and we were ghosted ๐Ÿ˜„ and today i don't have energy for that to do it all over again ๐Ÿ˜… we will probably be back after xmas/new years eve tho. Have a nice evening/night/day. And happy holidays

inland spindle
#

NP! ๐Ÿ™‚ Happy Holidays to you too!

wooden pebble
#

thanks and sorry for being a pain in the ๐Ÿ‘ ๐Ÿ‘‹

inland spindle
#

all good!