#Empress Brosephine-paymentintent-capture

1 messages · Page 1 of 1 (latest)

scarlet kelpBOT
slim marsh
#

Empress Brosephine-paymentintent-capture

radiant crow
#

Sorry to bug you again

slim marsh
#

no worries, we're here to answer

radiant crow
#

appreciate it 🙂

slim marsh
#

it is the capture_method: manual | automatic param on PaymentIntent creation

radiant crow
#

ohhhhhh

#

does manual set the capturable amount or automatic?

#

documentation doesn't say 😦

slim marsh
#

oh sorry I misread your question

radiant crow
#

no worries

slim marsh
#

does manual set the capturable amount or automatic?
well you don't set captureable amount directly

you set amount
and capturable_amount populates from that

#

but the capture method you set with capture_method

radiant crow
#

thats weird... i'm sending in a amount and it's taking it but capturable amount isn't automatically updating

#

unless it takes time for it to populate?

#

trunacated but example:

 "id": "pi_3LhIqqLYkqgiRgLM1ymtTJux",
        "object": "payment_intent",
        "amount": 123,
        "amount_capturable": 0,
        "amount_details": {
            "tip": {}
        },
#

looks like it's only possible through an increment of a authorization?

slim marsh
#

ah because

#

you haven't confirmed (aka authorized) the PaymentIntent yet, right?

radiant crow
#

yeah

slim marsh
#

so there's no amount "capturable" cause there isn't any amount "authorized" yet

#

once you authorize 123 amount, then it will show amount_capturable: 123

radiant crow
#

ohhh okay. Authorizing is just basically confirming it?