#ajay-PaymentIntent

1 messages · Page 1 of 1 (latest)

latent marlin
#

Hmm I am not sure about the terminal flow you mentioned. But you could test it then check your Dashboard to see what status it is 🤔

fallen sable
#

the difference is stripe test card which is 4242
but at terminal physical test card present

also I am looking for key in response
"overcapture_supported": true

depending on that true I want add tip then hit capture api

#

so is it not possible make that uncaptured payment intent from dashboard which is same as from terminal?

because I want test for over capture amount

latent marlin
#

When you created a PaymentIntent from Dashboard and checked for Pay later, did it give you a response with overcapture_supported = true ?

fallen sable
#

yes
I have implemented this feature

but instead create payment intent from api I want create payment intent from dashboard for testing purpose

latent marlin
#

sorry, it is dashboard. Just give me the PaymentIntent Id

fallen sable
#

test mode
its in connect account
acct_1K9U4x2eejlfDCU1

pi_3KUPAt2eejlfDCU10CLGDY30

#

any update?

latent marlin
#

Sorry I am a bit stretched out. Will get back asap!

latent marlin
#

So I think with a PaymentIntent created from Dashboard, it won't have the overcapture_supported and won't be eligible for testing the tip feature

#

The over_capture_supported lives under payment_method_details.card_present which would only be generated if this PaymentIntent is created with Terminal

fallen sable
#

got it
thank you

#

but that response will be same for every payment intent retrive?

I am using code like

$overcapture_supported = $intent->charges->data[0]->payment_method_details->card_present->overcapture_supported;

if this is true then I hit capture api