#adityalystlocdeveloper_33428
1 messages · Page 1 of 1 (latest)
Hello! We'll be with you shortly. Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- adityalystlocdeveloper_33428, 22 hours ago, 72 messages
- adityalystlocdeveloper_33428, 23 hours ago, 3 messages
- adityalystlocdeveloper_33428, 1 day ago, 30 messages
- adityalystlocdeveloper_33428, 2 days ago, 38 messages
- adityalystlocdeveloper_33428, 5 days ago, 7 messages
- adityalystlocdeveloper_33428, 5 days ago, 23 messages
and 2 more
Sorry, don't understand the question. Can you provide an example?
Take example i have a subscription where its combination of two prices first one is metered + flat rate . suppose user subscribed on 1st day of month then user have to pay 99 dollar upfront and second price per unit which 0.02 metred usages based so bill should be 99+50(no of unit)0.02=bill. So stripe will generate next invoice which is 99 dollar of next month. but if any case user failed to pay the amount. I want to cancel subscription and take 0.0250 rupees pnly front customer
so here 199 dollar is next month flat fee and 1.60 last month usages fee
but if user failed to pay then i want to cancel subscription and remove 199 dollar of next month and take 1.60 dollar from user.
invoice is in darft
Hmm, if you're using a usage/metered based price then all billing is done at the end of the month
yes thats correct but if next invoice user not paid this amount i want to cancel the subscription and take only 1.60 dollar
Then you'd need to amend the invoice before it's finalized and manually remove the $199 line item: https://stripe.com/docs/api/invoiceitems/delete
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Error: Can't delete an invoice line item that was generated by a subscription