#Jeff Jin-payment
1 messages · Page 1 of 1 (latest)
Hello! What are you having trouble with?
What is leading you to believe Payment Intent is not a good idea?
I want to know how to do that in nodesj.
The payment should be done instantly and money should go to my stripe account.
And using stripe connection, money can go to connected account.
Typically with most payment it's not done instantly (because it takes some times for the funds to settle)
Yea
Payment Intents is what all our payments are built on top of, so there isn't really any way around using them
But paymentIntent needs other process to confirm
that is not what i dont want
I am looking for something like this
stripe.payment.create({
amount: 10,
currency: "usd",
customer: "123",
})
You can confirm a payment intent the same time it's created by passing in confirm: true (https://stripe.com/docs/api/payment_intents/create#create_payment_intent-confirm)
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.