#MatanR
1 messages · Page 1 of 1 (latest)
yes
sub_1MdZZ1HuTtPo3hLcqnJTtMUW
this is the original subscription, the one with the 0$dsent have any subscription on it
dosnt*
this is the invoice for 0$
The subscription you shared has a single invoice for $5,500
Where do you see the $0 invoice? Can you share its ID (in_xxx)?
in_1MdZOXHuTtPo3hLcqGUsIScr
You created this invoice yourself: https://dashboard.stripe.com/test/logs/req_SjADOywAIGMFh7
So I'm not sure I follow your question.
What exactly are you trying to do? What are you creating your own invoice?
Yes i created it but i created it with plan of 5000% USD, and than added two items, one of 1000% and the other is -500$.
The first invoice is what i ask for, what i cant understand is why the one with 0 created as well.
my flow is as follow:
- create customer.
- create plan with price 5000
- add invice item 1000
- add invoice item -500
(both 3 and 4 are with customer id) - create subscription
- create invoice with plan id from step 2
- finlize the invoice
hat i cant understand is why the one with 0 created as well.
You created that invoice with the API. So if you don't want that invoice, then don't create it.
but i do need an invoice for the 5500$. how should i create it then if not through invoices.create?
If you create a subscription for 5500$, then the subscription will automatically create the 5500$ invoice for you.
ohhhh ok, didnt knew this or read about it. i will have another look