#litterboks_best-practices
1 messages ยท Page 1 of 1 (latest)
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.
- litterboks_best-practices, 6 days ago, 22 messages
๐ Welcome to your new thread!
โฒ๏ธ We'll be here soon! We typically respond in a few minutes, but in some cases we might need a bit more time (e.g., server's busy, you've got a complex question, etc.).
โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can 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/1247847145994715159
๐ Have more to share? Add details, code, screenshots, videos, etc. below.
๐ happy to help
Hello tarzan!
you can pay the first invoice by marking it paid_out_of_band
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
is it also possible to pay the next cycle out of band before it ends?
Like, the first cycle ends in a week, the check is sent out, the customer pays early, i mark the next cycle as already paid
if you need to do that you would need to implement webhooks and listen to invoice.create event
im already using webhooks that listen for such events, can you please elaborate on the process?
I'm using php, if that makes a difference
once you receive that event you would manually finalize the event and pay it out of band as I suggested before
Ok so the process is:
I send out the check
The check is paid
I save some kind of information in my backend that the subscription is already paid for next cycle
When the subscription actually renews and creates an invoice i look up the table of already paid subscriptions and mark it as paid out of band
Is there a time between an invoice being created and the invoice mail (with payment link) being sent? Because if it is already paid i do not want to send out the email
if the email is paid manually I don't think the email would be sent
but I'm not entirely sure to be honest
you need to test it out in testmode using a customer that has the same email as the one used to create the StripeAccount
i will, thanks
I believe i can also use this process for my problem where i want people to pay a separate invoice early instead of the one being created from the subscription, what do you think?
Like sending out an invoice early with the price of the yearly subscription as one time item and when the actual subscription renews it's treated as if paid out of band
I think we have either a beta or a newly GAed feature to pay future invoices in advanced
would that be something you might be interested in?
It would have to be stable and usable in a live environment