#NFTBOI-Subscription
1 messages · Page 1 of 1 (latest)
Hi there, you can use the upcoming invoice API to preview the invoice https://stripe.com/docs/api/invoices/upcoming
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
I need to step away so I’m going to archive this thread. If you need help with anything else please ask in dev-help or contact Stripe Support: https://support.stripe.com/contact
Find help and support for Stripe. Our support center provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
@ruby acorn Hi, I unarchived your thread. What is your question?
here's my response
y is my total 0?
even though i can see the new price 1788
Can you share the request ID for this API call (req_xxx)? Here's how you can find it: https://support.stripe.com/questions/finding-the-id-for-an-api-request
no logs are being generated for this
This is a GET request, so you need to make sure you select "Method: get" in the dashboard.
That's odd, it should be there. In that case would you share the exact code you run to get the upcoming invoice?
return $invoice = \Stripe\Invoice::upcoming([
'customer' => strval($customer),
'subscription' => strval($subs->stripe_id),
'subscription_items' => $items,
'subscription_proration_date' => $proration_date,
]);
pls dont archive this ill be back in an hour
Welcome back! Sorry, looking into this now.