#KRS
1 messages · Page 1 of 1 (latest)
Hi there, you can only pay the invoice after it's been created. Maybe I don't get the full picture, can you elaborate more?
we have a subscription with yearly interval prices assoicated with it.
assuming that the subscription is started on 15th Jan 2023, a user like to pay the invoice during the Dec 2022 time frame itself.
at this instance, the invoice is not yet created as the invoice will be created only on 15th Jan 2023
So, on 15th Dec 2022, if a user wanted to pay the invoice which will be created on 15th Jan 2023, then how we should handle it
OK, you can manually create an invoice by specifying the customer ID, and subscription ID (https://stripe.com/docs/api/invoices/create#create_invoice) and pay this invoice.
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.