#thomasnevink

1 messages · Page 1 of 1 (latest)

pastel hingeBOT
frank quiver
#

Hi there!

#

If a PaymentIntent has status: requires_action, then you have to tell your customers to come back to your website/app and confirm the PaymentIntent on the frontend to go though the 3DS flow. There's no other way.

dusty fiber
#

So there is no other way to test a card payment entirely on the server side? This is just for testing purposes

frank quiver
#

Yes you can, just use a test card that doesn't require 3DS.

dusty fiber
#

I have used pm_card_authenticationRequiredSetupForOffSession, but it doesn't go through, it requests for 3DS

frank quiver
#

Yes, this requires 3DS. Why not use pm_card_visa instead?

dusty fiber
#

Let me try

#

Please don't close this

frank quiver
#

I won't close this now, but thread get automatically closed after a while. If that happens, feel free to reopen a new thread.

dusty fiber
#

Tested my code with pm_card_visa, still getting requires_action as status

frank quiver
#

Can you share the PaymentIntent ID (pi_xxx)?

dusty fiber
#

pi_3NvcMVSAXIBNGNHB16ov8wRq

#

I'm using a stripe India developer account

frank quiver
#

Thanks! Give me a few minutes to look into this.

dusty fiber
#

ok

frank quiver
#

Can you try with pm_card_visa as mentioned earlier?

#

Oh wait, I'm wrong.

dusty fiber
#

Yes, I will try once again

frank quiver
dusty fiber
#

Testing now

#

Tested my code with pm_card_visa, still getting requires_action as status

#

pi_3Nvcf9SAXIBNGNHB1F53TyB2

#

@frank quiver u there?

frank quiver
#

This PaymentIntent looks correct, checking why 3DS was requested...

dusty fiber
#

ok, thanks

frank quiver
dusty fiber
#

Yh, I had seen this

#

Let me try with a US stripe account

#

Testing

#

Yeah, it works

#

Thank you for your help

winged mica
#

Happy to help!

dusty fiber
#

one more question

#

How can I set the invoice?

winged mica
#

What do you mean by this?

dusty fiber
#

In Response body, there is a field called "invoice", is there any way I can set this?

winged mica
#

No, unless the PaymentIntent was created via an Invoice.

dusty fiber
#

Ok