#Nidhi-Hold-Payment
1 messages · Page 1 of 1 (latest)
Hi there, you can hold a payment up to 7 days, if you need more time, please consider using SetupIntent and save the payment method to a customer object.
Jack, Can you provide me with a document link for this? Where I can get reference.
Sure you can get started with https://stripe.com/docs/payments/setup-intents
const paymentIntent = await stripe.paymentIntents.create({
amount: 1099,
currency: 'usd',
payment_method_types: ['card'],
capture_method: 'manual',
payment_method: paymentMethod,
transfer_data: {
amount: 877,
destination: 'acct_1KRbnj2cmlKulia3',
},
});
Here PaymentMethod is an ID of the Customer's Saved card.
So Can I test it anyhow for more than 7 days on hold payment?
No, since you already collected the payment method, you can use it create the Payment Intent to charge the customer 7 days later. So you don't need to set capture_method to manual, you can use automatic instead.
So this way is basically not for holding the amount. But just save his card and auto-debit the amount whenever we need it?
Yes you are right
But what if after a few days when we want to debit the amount, that card is having insufficient funds? That will give me an error for the payment right?
Yes it would, there is always a possibility for insufficient_fund error.
Ok so basically our main concern is to hold the amount for N number of days,
So how we can hold amount for more than 7 days or N number of days ?
I'm afraid that from technical point of view I don't have suggestion to extend the auth window. You might want to ask my friends at Support and see if there are any other ways. https://support.stripe.com/contact
Find help and support for Stripe. Our support center provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.