#Shmarti-PI and Charges

1 messages ยท Page 1 of 1 (latest)

little wing
#

๐Ÿ‘‹ happy to help

twilit ridge
#

req_t0AGwVNHh2eio2

little wing
#

you're using both confirm: true and capture: manual in the same Payment Intent

#

these two parameters don't work together

twilit ridge
#

ahh, how should I do it?

little wing
#

confirm: true means that the PI will be confirmed (meaning getting paid) and capture manual means that you want it to be capture at a later stage after collecting the payment info

twilit ridge
little wing
#

so it really depends on what you're trying to achieve

twilit ridge
#

ah basically "authorize" the charge, capture later

#

My mind is still tuned to the old API. I last used stripe in 2017

little wing
#

then you just need to remove the confirm: true

twilit ridge
#

ok and when its time to capture, I use confirm = true?

little wing
#

you'd have to use the capture method

twilit ridge
#

Right I do have that. Thank you @little wing really appreciate it ๐Ÿ™‚

little wing
#

let me know if you need any more help