#vinkesh
1 messages · Page 1 of 1 (latest)
this is correct as subscription starts in backdate
not sure why its charging less as product amount is correct
@subtle sage will you please explain little bit why its like this
Can you provide the Subscription Id?
Hi I am looking at it: https://dashboard.stripe.com/test/logs/req_4Y786eKVqN1fRq
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
okay
So your billing cycle anchor is Dec01 12:00:00 UTC, and starting from today: Nov02 6:30:37 UTC
If you call Upcoming Invoice API, what would you see?
{
"metadata": {
"School Name": "Test PartTimeSchool",
"Account InvoiceId": "4344",
"Student Name": "Aariz 01",
"Parent Name": "Zuby Rebi",
"Parent Email": "zudyrebi@decabg.eu",
"Date": "11/02/2022 06:30:57",
"School Identifier": "Test PartTimeSchool",
"Amount": "1000",
"Invoice Identifier": "a43fabf9-2fdf-4ae7-8ab1-5e30b8cf1f80"
},
"backdate_start_date": "1664625600",
"items": {
"0": {
"plan": "plan_Mj2MMEwecCZxRx"
}
},
"customer": "cus_MeLr2THcwjQ8U8",
"cancel_at": "1672531200",
"default_source": "card_1LzaT3K8SGfgbRnh0V3z85gE",
"billing_cycle_anchor": "1669896000"
}
It has back start date
So 2 invoices charged correctly
this is upcoming invoice
I know, I see that screen too. But I would like you to call the Upcoming API here to see if we have more detailed response: 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.