#mindsetinmeta

1 messages · Page 1 of 1 (latest)

thorn mulchBOT
twilit ravine
#

Hey!
Could you please provide more details ?
Is there a specific use case you're trying to account for?

stark birch
#

i'm using pre-auth and capture

#

If I would like to cancel the pre-auth, I can call API to cancel the PI. On the other hand, I can wait for the Pre-auth to expire in 7 days. what's the difference?

twilit ravine
#

The cancel action is triggered manually and explicitly by your integration. While the expiration, is automatically done (up to 7 days for card payments)

upper wedge
#

Hola.. quería saber porque cuando voy a pagar mi factura de pgsharp no me deja con mi tarjeta de crédito? Me dice que intente varias veces y tengo que esperar 24hs

stark birch
#

theoretically, I do not have to cancel the PI then. I can wait for it to expire itself. Is that correct?

stark birch
#

thanks

#

on the PI's mannual

#

under cancelling the PI

#

it says

#

and I quote

#

You cannot cancel the PaymentIntent for a Checkout Session. Expire the Checkout Session instead

#

what does that mean?

twilit ravine
#

How are you creating PaymentIntent ? using the PaymentIntent create API or using Stripe Checkout Sessions ?

stark birch
#

CS

twilit ravine
stark birch
#

If I create a CS and I get the id of the PI in response, I still cannot cancel the underlying PI?

#

I tried cancelling the PI and amount_capturable of PI has changed.

twilit ravine
stark birch
#

pi_3M0jgnDaKMqxBxi40C9AXEtx

twilit ravine
#

This PaymentIntent is in succeededstatus, that means it has been already processed. you can't cancel it.

stark birch
#

I created a CS and this PI is the one embeded.

#

I then cancelled this pre-auth by cancelling the PI

#

and you can see PI."amount_capturable": 0

#

then why the manual says "You cannot cancel the PaymentIntent for a Checkout Session. Expire the Checkout Session instead"

sullen flint
#

I'm confused, what's the actual ask here? This (pi_3M0jgnDaKMqxBxi40C9AXEtx) PI was complete, and then refunded. You can't cancel it