#pl_api
1 messages · Page 1 of 1 (latest)
đź‘‹ Welcome to your new thread!
⏲️ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
đź”— This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1277828586732261438
📝 Have more to share? Add more details, code, screenshots, videos, etc. below.
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.
- pl_api, 18 hours ago, 30 messages
- pl_api, 4 days ago, 7 messages
- pl_invoice-types, 4 days ago, 25 messages
What is "overage"? Do you mean extra charge? If so, there can be multiple ways to do it - using Payment Intent for off session payment, one-time invoice, or bill the one-time invoice item into next subscription
I understand at least one way to do "one time billing".
Is there a proper way to set the “description” of the invoice to be generated there with stripe (instead of specifying it in the create invoice parameter)?
Is it a good practice to make product, price a temporary payment to set this “description” ? I am asking.
Is it appropriate to use a parameter to specify the description on these invoices in the first place?
Which description are you referring to here? There are invoice description, invoice item description... etc. Where do you want this description to be shown?
This is a description of the invoice itself.
https://docs.stripe.com/api/invoices/object#invoice_object-description
This description is shown to the user.
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
For one-time invoice, the custom description can only be set at the creation request
Yes, that's right.
What about a policy of creating a dedicated product, price, for this purpose? Would you recommend it?
As mentioned earlier, it's possible to create a adhoc price with price_data if the price isn't for permanent usage
Does this permanently store the new Price in the existing Product?https://docs.stripe.com/api/invoiceitems/create#create_invoiceitem-price_data
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
No. It's temporary
ok.
Does that mean that the description of the new Invoice with the InvoiceItem created with that parameter will be generated from the product?
https://docs.stripe.com/api/invoices/object
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
description on the invoice item will be shown if it's set: https://docs.stripe.com/api/invoiceitems/create#create_invoiceitem-description
If it's not, it will take the name of the product
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.