#iamyounus_53659
1 messages · Page 1 of 1 (latest)
thanks, looking
So you're creating the PaymentIntent but you're not confirming it
https://dashboard.stripe.com/test/logs/req_pSni06Po7tX0Fm
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
the PaymentIntent is in requires_confirmation status (means pending)
what does confirming means ? like calling an api to create something does not confirm it?
not automatically.
if you want to confirm the PaymentIntent on create then you'd need to pass confirm: true as a parameter
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
secondly a quick question in order to create a intent i have to pass a payment method and once it is used it cannot be reused it is giving error in that case
or you can call the /confirm endpoint separately later on
https://stripe.com/docs/api/payment_intents/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.
secondly a quick question in order to create a intent i have to pass a payment method and once it is used it cannot be reused it is giving error in that case
In order to re-use payment methods, you need to attach it to a customer