#jungleworks_docs

1 messages · Page 1 of 1 (latest)

devout finchBOT
#

👋 Welcome to your new thread!

⏲️ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.

⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.

🔗 This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1243449380481269844

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

thorn lake
#

HI

#

i received this

#

https://docs.stripe.com/payments/place-a-hold-on-a-payment-method#capture-funds

this explain that some key such as
payment_method_details.card.capture_before

can be used , but i cant get the information for this in intent creation
https://docs.stripe.com/api/payment_intents/create

Separate payment authorization and capture to create a charge now, but capture funds later.

hushed turret
#

the capture_before parameter isn't available until after the payment is authorized

thorn lake
#

what changes while creating a payment intent can be made to make it capture auto matically

#

@hushed turret hello sir, can i get a documentation regarding that if possible

hushed turret
#

what do you mean by capture automatically? Do you mean forgo the capture i.e. upon making payment, you immediately charge the customer's card, and not hold the funds for a few days first?

thorn lake
#

no,
Actually my use case is, i authorize a payment initially from my customers to create a event and that is holded and requested to capture when an event is completed, usually this takes 3-7 days, now since visa capture has been reduced to 5 days, i want that if the payment is hold, then if it is not captured till 5th day, it is automatically capture without making me to capture manually

#

@hushed turret

hushed turret
#

you will need to implement such a logic yourself. unfortunately, Stripe doesn't have such a feature at the moment

thorn lake
#

ok thank you for the information @hushed turret , but if you could please tell me the use case of capture_before key and if that can be used in the payment intent

#

and also if any closely related solution is provided by stripe, information regarding this is highly appreciated

hushed turret
#

like what the doc mentions, if you’re using the API, the payment_method_details.card.capture_before attribute on the charge indicates when the authorization expires. So you should make sure you capture the charge before that date

thorn lake
#

@hushed turret so that means i cant do any such thing with the payment intent creation.?

hushed turret
#

if you want to omit holding the funds altogether then you can omit capture capture_method: 'manual'. Otherwise no, there's nothing you can do with the PaymentIntent creation