#Anant

1 messages ยท Page 1 of 1 (latest)

drifting umbraBOT
hybrid cove
#

๐Ÿ‘‹ happy to help

#

yes it's always possible to partially capture a PaymentIntent

sweet merlin
#

Hello Tarzan,
Can I share my full scenario?

#

?

hybrid cove
#

yes sure, but is my answer not enough?

sweet merlin
#

it's some how ok, but my scenario is different

hybrid cove
#

go ahead

sweet merlin
#

example:

order:(have three products)
p1: 100$
p2:(200$)
p3:(300$)
I have created a payment intenet and hold the full amount (600$)

Now I want to capture each products amount on separate days
for the same hold payment.
this different days and partial payment will done by your given link?

hybrid cove
#

yes

#

oh sorry do you mean on the same PI?

sweet merlin
#

exactly

hybrid cove
#

no once you captured a PaymentIntent

#

it's not possible

sweet merlin
#

ok, what happens if in case first product payment capture got failed? due to insufficient balance or any other reason?
Are I am still able to hit capture for the other 2 or it completely going to be canceled?

#

PI is same as I am holding the total amount as one (600$)

drifting umbraBOT
sweet merlin
#

??

hallow crater
#

Hi! I'm taking over my colleague. Please, give me a moment to catch up.

sweet merlin
#

sure. please take your time

#

any update?

hallow crater
#

Please give me a minute.

sweet merlin
#

sure

hallow crater
#

Are you able to create 3 PaymentIntents for each product, and then capture each one in full? This seems to be a much more straightforward approach.

sweet merlin
#

I thought the same.
But I have some queries. shall I share?

#

?

#

??

#

Are you there @hallow crater

#

??

hallow crater
#

Yes, I am here. I will respond as soon as I can.

hallow crater
sweet merlin
#

query:
a ) since my order has 3 products I have to create three payment intents
for that, do I have to hit the curl request 3 times?
b) for all three payment intents is the same card can be used? also, payment id will come differently?

c) do we have any concept to send bulk payment intents in one go so that in a single curl request I can send all 3 products' payment intents?

d) products number can be increased? what will happen if any payment intent api call crashed due to any reason like timout or any other issue?

hallow crater
sweet merlin
#

one more query at last.

hallow crater
#

Sure

sweet merlin
#

a) do we have a concept of automatic capture of payment intents? currently, I have to call capture API explicitly.?
b) Also, do we have any date concept through which I can tell that on this date capture payment needs to happen automatically?

hallow crater
#

Or do you mean by "automatic", after a certain date the PI will be captured, unless it's cancelled?

sweet merlin
#

what I mean : when I am creating a payment intent for holing an amount can I send a date in any parameter so that on that day capture happen automatically

#

*holding

#

*on that date

hallow crater
#

No, that's not possible, you will need to capture it manually. Hence the name.

sweet merlin
#

Ok, thanks
I will try to create multiple payment intent and will see what happen
but it is sure that for same card we can create multiple payment intents?

hallow crater
#

Yes, if you set it up properly with SetupIntents, like in the article I shared.

sweet merlin
#

Thanks

#

Have a great day!

hallow crater
#

Happy to help. Please, let me know if you have any other questions.

#

You too!