#Giriraj
1 messages · Page 1 of 1 (latest)
hello! Is there a reason why you're using Sources? You would want to use PaymentIntents and SetupIntents now, not Sources
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
Can you share your account id so that I can take a closer look at how your integration works? You can find your account id by logging in to https://dashboard.stripe.com/settings/account. It'll be in the upper right hand corner and looks like acct_123
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
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.
this is the equivalent for PaymentIntents : https://stripe.com/docs/payments/place-a-hold-on-a-payment-method
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?
yes
ok, so, how can i disabled hold? suppose after sometime that hold payment i need to successfully payout then?
@soft thorn
i think you mean capture the payment - that's mentioned under https://stripe.com/docs/payments/place-a-hold-on-a-payment-method#capture-funds
ok thanks, let me check and will let you know if any query.