#paulocentr - Purchase Product
1 messages · Page 1 of 1 (latest)
Hello! What do you mean by "the right way"? Can you provide more details about what you're trying to do?
Ok, so i have a product,
I have a price for one payment (discounted)
And other prices for the same product (for multiple payments that i will apply using subscription and passing cancel_at with the subscription)
I want to sell a product whith the price for one payment, (multiple payments i already know how to do it)
So when i sell it will show on reports
In other words:
I want to sell a product, with a specific price
There is the charge that i could create but looks like the charge does not have the product object
And you want to use the API? Meaning not Checkout?
Yes i want to use the api
You have two options: you can use a one-off Invoice (https://stripe.com/docs/invoicing) or an Order (https://stripe.com/docs/orders)
Ok please hold on
Ok, by creating a invoice it will charge the user?
Or should i do something later?
Oh nevermind just found it here
What do you mean? Can you provide more details?
Sorry for the delay i was reading,
So orders its not an option now, because i should have to enable it, and i dont have access,
So i have to use invoice
No clear to me, how do i add the items to the invoice, shoud i create the invoice first,
Then add items (product prices)
Then pay the invoice?