#sdasdq3we
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.
Can you provide the request id from https://dashboard.stripe.com/test/logs ?
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
req_uywvm11swsnlOY
Hi, thanks. I am seeing you passed the first price as plan_OQMaaPUeULVOpN. Any reason this is a Plan instead of a Price object?
Can you see this link? https://dashboard.stripe.com/test/logs/req_uywvm11swsnlOY
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
yes
There you specified
price: "plan_OQMaaPUeULVOpN",
I would like to understand why this is a Plan object (plan_xxx) rather than a Price object (price_xxx). Because Plan is a legacy API
ohk
prod_OQMa6jb6j36llo
So for this product there is that plan in pricing section.
Instead of that you are saying that create price right?
ohk
Okie so when you want to get get an Upcoming Invoice for recurring price, you may want to use this subscription_items parameter instead https://stripe.com/docs/api/invoices/upcoming#upcoming_invoice-subscription_items
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
You are using invoice_items