#Manhuman
1 messages · Page 1 of 1 (latest)
No, there's no line item data that references the Product/Price objects on the Payment Intent. You'd need to retrieve them from another object
And which one? Because I search but don't find.
What kind of integration have you built? Checkout? Subscriptions?
An Invoice should always be created..
Well if you use Checkout then all the data would be on the expandable line_items field: https://stripe.com/docs/api/checkout/sessions/object#checkout_session_object-line_items
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Nop, if the customer doesn't pay as a company, it seems that no invoice is created
I find that hard to believe. Can you share an example?
evt_3N5rW9AOngVOuJDC1fqwm1K5
Events:
-
A Checkout session has been completed
-
An amount of €2.41 has been debited at humanotip@hotmail.com
-
Payment attempt pi_3N5rW9AOngVOuJDC1bxUV2tL of €2.41 was successful
-
The payment pi_3N5rW9AOngVOuJDC1bxUV2tL of 2,41 € requires an action from you to be finalized
-
humanotip@hotmail.com is a new client
Well that pi_xxx was created in mode: 'payment' session (https://dashboard.stripe.com/test/logs/req_1GLKnJMb15R48T). There'd be no Invoice unless you explicitly requested on via the invoice_creation param
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
You said you were using Subscriptions – that is not a payment from a subscription
Hi
If you want mode: 'payment' invoices in Checkout, see: https://stripe.com/docs/payments/checkout/post-payment-invoices
Ok thanks I will check that
Hey, taking over here. Let me know if there's any follow-up Qs I can answer!
Yep thanks a lot
I am trying to create paymentIntents payment but paymentIntents capture not working . getting error This PaymentIntent could not be captured because it has a status of requires_action. Only a PaymentIntent with one of the following statuses may be captured: requires_capture.
anyone can help me ?
It's perfect, with "invoice_creation" enabled, I have an invoice and I'm able to get the related product and price.
It was the perfect answer! 🙂
Glad to hear that.