#yi_code
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/1403385627885572126
📝 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.
- yi_unexpected, 1 day ago, 13 messages
- yi_docs, 2 days ago, 11 messages
- yi_code, 2 days ago, 5 messages
- yi_best-practices, 3 days ago, 14 messages
- yi_best-practices, 4 days ago, 22 messages
You can see the GET design is still available as screenshot like
And the API verison is 2025-06-30.basil
Does any one know of a code or a way to connect a payment token from stripe to another AMS platform that would cause the moment the member signs in they wouldn’t have to re-enter their entire payment information? If not what would the guesstimated proper Chanel be?
Sorry, I'm not understand
Hi, taking a look here
@rare mountain Philip W you're in the wrong thread. If you need assistance please go to #help to ask a question!
@dull lake Are you looking for this GET https://docs.stripe.com/api/invoices/upcoming?api-version=2024-12-18.acacia&lang=node ?
Sorry, we are using PHP ... and the API version is 2025-06-30 too.
Ahh, I see
Can we submit a PR for resume the method in PHP SDK like before:
`
/**
* At any time, you can preview the upcoming invoice for a customer. This will show
* you all the charges that are pending, including subscription renewal charges,
* invoice item charges, etc. It will also show you any discounts that are
* applicable to the invoice.
*
*
* @param null|array $params
* @param null|RequestOptionsArray|\Stripe\Util\RequestOptions $opts
*
* @throws \Stripe\Exception\ApiErrorException if the request fails
*
* @return \Stripe\Invoice
*/
public function upcoming($params = null, $opts = null)
{
return $this->request('get', '/v1/invoices/upcoming', $params, $opts);
}`
That was replaced with https://docs.stripe.com/api/invoices/create_preview?api-version=2025-06-30.basil&lang=php in the newer API version
We document that here: https://docs.stripe.com/changelog/basil/2025-03-31/invoice-preview-api-deprecations
Can you try this?
I know, but we think the method of getting upcoming invoice is better ...
With the newer API version that is not possible
All right.
But, don't you think it's very weird?
Why did Stripe remove the upcoming API for PHP but remain for Node?
That is for all languages, you had not specified the version and the language for me initially
Got it. Thanks, no other questions.
Sure
Sorry. I mixed
Do you have a follow-up question here?
Yes
How can I help?
Those requests are coming from the Dashboard
If you want to preview the invoice, you need to use https://docs.stripe.com/api/invoices/create_preview?api-version=2025-06-30.basil&lang=php
No, the Dashboard is owned by Stripe and there are functionalities that differ between the API and the Dashboard.
U're right.