#Nick-hosted-invoice

1 messages ยท Page 1 of 1 (latest)

tawny urchin
#

Hi ๐Ÿ‘‹ I'll need a couple moments to look into whether this is possible.

paper mica
#

Thanks!

tawny urchin
#

Sorry, I'm not finding a way to do that currently.

paper mica
#

Ok, maybe a follow up question then, is there an easy way to send a custom link to the customer? Ie, I'd have a payment page on my end, or would I also have to write the email sending on my end?

tawny urchin
#

You would need to build the email sending as well, there isn't a way to to adjust our invoice email templates so that they point to a custom page.

Trying to infer your overall goal here, are you trying to build a flow where your customers are able to pay for an invoice and update their customer information (such as billing address) all at the same time?

paper mica
#

Yeah we have a custom invoice to send them once the invoice is paid, and we include fields like the payment method information and the billing address in our custom invoice, but since the page doesn't ask for the billing address, we can't attach it.

Also noticing that there is no payment method information on the subscription or invoice when you process these send_invoice subs, which I thought was weird

#

Guess the only way to attribute is via the charge object?

tawny urchin
#

Gotcha, thank you for that. This does sound like a flow that we don't have a pre-built page for. I was thinking that you might be able to leverage the Customer Portal, but that wouldn't be a single unified flow and wouldn't let you require the collection of billing address information, so I think building a custom page for this is going be the best route.

Correct, since the invoices are being sent to the customer to pay, they're not inheriting default payment methods and the related payment information will be on the associated Charge/Payment Intent objects.

paper mica
#

Cool, well thanks for the info. My Hackathon project just got a lot hard ๐Ÿ˜น

tawny urchin
#

Any time, sorry it wasn't more helpful. Best of luck with your project!

paper mica
#

Another question - for the custom invoicing page I'm going to have on my end, what flow/endpoint would I use to go about actually paying the invoice?

#

Assuming that it would involve a setup intent to get the card added

fickle goblet
#

๐Ÿ‘‹ stepping in as toby had to step away.

#

Let me know if I'm missing context here

paper mica
#

So to do this then, at the time of subscription creation, would I go back to the default collection method rather than passing send_invoice?

fickle goblet
#

Nope you can force payment of an invoice using that endpoint with send_invoice

paper mica
#

So i guess I'm in a sort of "chicken-and-egg" scenario. I can't create the subscription without a payment method unless I use send_invoice, but if I use send_invoice Stripe will send the invoice, when I want to send them my own invoice + link

#

It will create with status incomplete which is fine, but I don't see a field to make it expire beyond the 24 hour mark?

fickle goblet
#

You can use send_invoice and set auto_advance false on the invoice

#

Then it won't send

#

And pass auto_advance: false

#

Then you can send the invoice to the customer yourself

paper mica
#

I'll play around with that. Thanks!