#edutomesco
1 messages ยท Page 1 of 1 (latest)
Hi there!
Can you share the request ID (req_xxx)? You can find it here https://dashboard.stripe.com/test/logs
I think you meat pending_invoice_item_interval[interval] instead of pending_invoice_item_interval.
https://stripe.com/docs/api/subscriptions/update#update_subscription-pending_invoice_item_interval
yes thank you !!!
Sorry another question
I have this error req_06v17U54WWYfFl
Is there any way to can create an invoice with that price of type recurring having set the pending_invoice_item_interval set on subscription
nope, you need to update an existing Subscription with that recurring price not creating an invoiceItem
How I can managed this situation
I mean I want to charge the overage of my annual metered prices using this pending invoice item interval
monthly
You need to create a one time price and invoice the customer for that
but If I want to be the overage the user have it is possible?
You need to compute that amount by your integration, and then create an invoiceitem. You can use price_data and specify the amount that you want to charge your customers:
https://stripe.com/docs/api/invoiceitems/create#create_invoiceitem-price_data
can you be a. little more explicit?
I mean that will reset the overage of the original price?
and what exactly do this pending_invoice_item_interval??
it just work if there are pending item?
No it has no link to the original price
then it will charge the amount but it will remain unpaid on the next invoice?
I mean the overage will not reset
Can you share a reference where do you exactly see this ?
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Ok thanks for sharing, yeah that specifies the intervals of the pending invoices. You can try a test integration using Test Clock as we suggested to you earlier today and start creating a test integration :
https://stripe.com/docs/billing/testing/test-clocks
I'm not sure if that could fit to your exact use case, the best solution is to start test and have a concrete Subscription (Stripe Object)
Cool, did you tried to test this field and see if that fits into your use case ?
I set this field on the subscription
but it do not make any effect
I mean I pass one month of the time and I don't see that creates any invoice
Even when you advance time by more than month for example ?
yes
but I'm starting to think it will not work
because I have metered prices and if I charge an invoice with the amount from the overage it will not reset the overage so will not work as I want
so in stripe please
what are the way to handle an annual subscription so I licensed fixed fee the user pays every year and at the same time prices that are metered so can have overage and you want to charge to the customer monthly
What is the way to combine all this?
We spoke about this earlier today, and we suggest to you tow options: create two subscriptions 1 yearly for the fix fees, and 1 monthly metered, or you create 1 yearly Subscription for the fix fee and create one-time invoice for each month usage, you need to manage/collect/track the amounts by your integration
you create 1 yearly Subscription for the fix fee and create one-time invoice for each month usage, you need to manage/collect/track the amounts by your integration
I don't understand this part?
Which part exactly, "create 1 yearly Subscription for the fix fee" or "create one-time invoice..."?
yes
Sorry but that doesn't respond to my question... which part you don't understand exactly ?
don't worry I think its much complicated for our use case
one thing to propose to Stripe would be interesting is to have any automatic feature that having an anual plan can control overage more accurately for charge that monthly or whatever you want
Hi ๐ taking over as my teammate needed to step away. I'd love to file your feedback with our teams, but I'm not quite sure what type of scenario you're explaining in that last message. Would you mind trying to elaborate or clarify?