Hey,
I want to create an invoice in Stripe with the following workflow:
Webhook received (with customer and product details) -> find customer in Stripe -> create invoice item with price object in Stripe -> create invoice in Stripe
When I do this, everything goes well, I can find the customer ID and create an invoice item and the amount is correct but when I create an invoice in Stripe the amount always says 0
What goes wrong here?
Edit:
Also there are no items on the invoice.
I want to create an invoice in Stripe with the following workflow:
Webhook received (with customer and product details) -> find customer in Stripe -> create invoice item with price object in Stripe -> create invoice in Stripe
When I do this, everything goes well, I can find the customer ID and create an invoice item and the amount is correct but when I create an invoice in Stripe the amount always says 0
What goes wrong here?
Edit:
Also there are no items on the invoice.
Last edited: