#Nidhi-Hold-Payment

1 messages · Page 1 of 1 (latest)

mighty cove
#

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.

blazing heart
#

Jack, Can you provide me with a document link for this? Where I can get reference.

mighty cove
blazing heart
#

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?

mighty cove
#

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.

blazing heart
#

So this way is basically not for holding the amount. But just save his card and auto-debit the amount whenever we need it?

mighty cove
#

Yes you are right

blazing heart
#

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?

mighty cove
#

Yes it would, there is always a possibility for insufficient_fund error.

blazing heart
#

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 ?

mighty cove
#

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