#wolfborg_payment-first-invoicing
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/1390281699241234454
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hmm, can be done depending on your API version
You'd 'attach' the intent to the generated invoice: https://docs.stripe.com/invoicing/partial-payments?dashboard-or-api=api
hi, thanks for getting back!
does that mean we have to manually create and charge invoices via the API every month (assuming our subscription is monthly)?
No, the subscription would automatically handle the invoice and payment generation going forward. This would jsut be to account for the initial payment like you described
So after the initial payment, do I create a subscription that doesn't charge automatically and then attach the initial payment to the generated subscription invoice, and update the subscription to charge automatically from then on?
Hi ๐
I"m stepping in as my colleague needs to go. You would create the Subscription with the collection_method property set to send_invoice https://docs.stripe.com/api/subscriptions/create#create_subscription-collection_method.
Then you would then update the collection_method to charge_automatically after the initial Invoice is paid.
hey, so is there a way to avoid sending email to the customer when using the send_invoice, because the customer would have already paid with the one time initial payment
Hmmm....let me take a look to see if we can stop this
Unfortunately the only settings that control this apply globally to all Invoice and Credit Note emails
For this specific situation, you would need to set an invalid email address on the Customer object to prevent them from receiving the email.
Happy to shed what ๐ก I can ๐
just one more doubt ๐
If the initial payment was for $100 and the subscription is for $80/month, what happens when we attach the payment to the invoice?
would I need to partially refund the balance amount before attaching to invoice?
So the initial Invoice would only be for $80?
yes, subscription would be for $80 monthly
Attaching the payment will fail in that case
Why is the custmer charged more than the Invoice amount in this case?
the idea is to switch from a higher one time payment to a lower monthly payment
but can only be done after the initial payment
One approach you could use is to create a one-time Invoice item for the extra $20
So only the first Invoice is for $100 but every one afterthat is for $80
so this invoice item will not be carried over to the subsequent months?
Correct. It's only applied to the first Invoice
got it, thanks!
Happy to help ๐