#ziminny-paymentintent-invoice
1 messages · Page 1 of 1 (latest)
Invoices have a payment_intent property https://stripe.com/docs/api/invoices/object#invoice_object-payment_intent
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Which will be the ID of the associated PaymentIntent
this would be my payment , I wanted to associate it with an invoice , I could not find a flow that would show me
const paymentIntent = await stripe.paymentIntents.create({ amount: price, currency: 'eur', payment_method_types: ['card'], customer:customerId, metadata: { productId, userId, checkins, order } });
when I have a subscription everything is done automatically , but from what I understand the payment intent is not like that
PaymentIntents themselves to not make Invoices
Subscriptions create Invoices with PaymentIntents
So PaymentIntents that are not from a Subscription will not have them
ok