#Luis Felipe
1 messages · Page 1 of 1 (latest)
Subscriptions create invoices but one time payments don't necessarily create them
How are you doing your one time payments? Checkout in payment mode?
Yes, i have some products which are purchased as subscription and others which are payment (once payment)
i want to get whole payments, both from subscription and payment
Gotcha, so you will want to list payment intents here https://stripe.com/docs/api/payment_intents/list
And for future reference, you can create these Checkout Sessions with invoice_creation='enabled' to make one time payments create invoices as well https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-invoice_creation
We have a video on our various payment objects to help explain what you are seeing here https://stripe.com/docs/payments/tour#payment-objects
That solved my issue! Thanks a lot for your work