#Empress Brosephine-paymentintent-capture
1 messages · Page 1 of 1 (latest)
Empress Brosephine-paymentintent-capture
Sorry to bug you again
no worries, we're here to answer
appreciate it 🙂
it is the capture_method: manual | automatic param on PaymentIntent creation
ohhhhhh
does manual set the capturable amount or automatic?
documentation doesn't say 😦
https://stripe.com/docs/api/payment_intents/create#create_payment_intent-capture_method
manual
Place a hold on the funds when the customer authorizes the payment, but don’t capture the funds until later. (Not all payment methods support this.)
oh sorry I misread your question
no worries
does manual set the capturable amount or automatic?
well you don't setcaptureable amountdirectly
you set amount
and capturable_amount populates from that
but the capture method you set with capture_method
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?
yeah
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
ohhh okay. Authorizing is just basically confirming it?