#shane

1 messages · Page 1 of 1 (latest)

high loomBOT
summer radish
#

Hi 👋

Unfortunately I don't think we have a parameter that would allow you to set that at the outset. I think your best option here would be to listen to the invoice.created event and update the invoice programmatically with the custom fields you want while it is still in draft state. https://stripe.com/docs/api/events/types#event_types-invoice.created

scarlet swan
#

Okay thanks! Would it work to set the custom fields on the customer that the subscription schdule is for?

summer radish
scarlet swan
#

Yup! That's right. Cool, thanks!