#nstripe0_docs

1 messages ยท Page 1 of 1 (latest)

pale steppeBOT
#

๐Ÿ‘‹ 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/1240404435830702163

๐Ÿ“ Have more to share? Add more details, code, screenshots, videos, etc. below.

true surgeBOT
#

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.

rigid cairn
#

Hello

inland ocean
#

Hi bismarck

rigid cairn
#

Hmm so you basically want to create another charge to mirror a previous Invoice?

#

Do you want this to actually be another Invoice, or you just care about the payment?

pale steppeBOT
inland ocean
#

It would be good to have another invoice if possible, but looking to see what options we have available.

rigid cairn
inland ocean
#

Is the creation of the one-off invoice going to be something we need to do manually to recreate the subscription line items, etc?

#

The use case we're dealing with is that customers sometimes (surprisingly often) request that we bill them on a different payment method AFTER we have already processed the payment on the old payment method.

So we issue a refund on the old invoice transaction... and want to now bill them on the new payment method.

It would be great if we can associate that back to the subscription invoice, but a duplicate invoice with all the information would be good also.

prime anvil
#

Hi there ๐Ÿ‘‹ taking over, as my colleague needs to step away

Give me a few minutes to get caught up.

#

I think the right workflow here is to refund the paid Invoice, update the default payment method for the customer, create an identical one-off invoice and attach that to the Subscription, pay it, then let the usual billing cycle run its course

inland ocean
#

Is the creation of the identical one-off invoice something that we would need to do manually?

prime anvil
#

You could do it programmatically too

#

Not sure how your process is set up (e.g. if there's some human intervention in the process), but technically it could be made self-serve

inland ocean
#

Also, when you say "attach that to the Subscription", is that an API operation? I didn't see that one, could you point me to that?

prime anvil
#

Ah, yeah. More specifically I just meant "include the Subscription ID when creating the Invoice so that it gets created under the existing Subscription"

inland ocean
#

Oh, I see that in the API (it doesn't seem to appear in the dashboard).

The API docs (https://docs.stripe.com/api/invoices/create#create_invoice-subscription) mention:

If set, the created invoice will only include pending invoice items for that subscription.

What does "pending invoice items" mean for the subscription?

prime anvil
inland ocean
#

Oh, ok. Cool, thanks for the suggestions, I'll give this approach a try.