#Giriraj

1 messages · Page 1 of 1 (latest)

woeful summitBOT
soft thorn
#

hello! Is there a reason why you're using Sources? You would want to use PaymentIntents and SetupIntents now, not Sources

storm thistle
#

yes, reason is sometime i got this error while transaction Your card does not support this type of purchase. so, i need to capture first then i think i can check payment is successfully work or not with this card

#

@soft thorn

soft thorn
storm thistle
#

currently what happen. i have 2 user one is mentor and second one is mentee. mentee can payment and mentor can receive payment. so, when mentor approved my request that time i m used paymentintent. but that time i found above error.

#

@soft thorn acct_1MQwkSBSgwhLUexT

#

but i need to do when mentee ready to pay the money. that time i need to check alredy added or newly added card working or not with this payment.

soft thorn
storm thistle
#

ok, @soft thorn
const paymentIntent = await stripe.paymentIntents.create({
amount: 1099,
currency: 'usd',
payment_method_types: ['card'],
capture_method: 'manual',
});

you mean capture_method is manual mean payment is hold?

soft thorn
#

yes

storm thistle
#

ok, so, how can i disabled hold? suppose after sometime that hold payment i need to successfully payout then?

#

@soft thorn

soft thorn
storm thistle
#

ok thanks, let me check and will let you know if any query.