#giorgi-subscription-invoicesettings

1 messages ยท Page 1 of 1 (latest)

modern zephyrBOT
craggy breach
#

Hello

#

You want to surface this info on the Invoice itself?

#

Or you just want to have the data accessible via the API?

sudden holly
#

We want to surface the info on the invoice itself

craggy breach
#

Hmm yeah this isn't easy unfortunately.

sudden holly
#

And we ended up with simply duplicationg this data in customer info because it pops up in the invoices automatically ๐Ÿ˜†

But we are looking for a way to show the info from payment method itself automagically

craggy breach
#

Currently we only support doing this via creating the Subscription in the Dashboard

#

We do want to add things like custom_fields to the Subscription API but it isn't supported yet

sudden holly
#

So, if a user has various payment methods with distinct addresses, cities, countries, etc., do we have to update the custom_fields field every time a new invoice comes into play?

#

(when it will be supported)

craggy breach
#

Well you can actually already do that. The problem is that you can't do that for the first Invoice for a Subscription as that one finalizes immediately.

#

In the future, we hope to support this on the Subscription API itself, so that those custom fields are applied to all Invoices for the Subscription

sudden holly
#

If we need to update this custom_fileds field each time regardless, I suppose we'll stick to our current approach of updating customer info. Thanks! ๐Ÿ™‚

craggy breach
#

Yeah I think the current approach is best for now.

sudden holly
#

And thanks for a suggestion with handling invoice.created event, we will meditate on it!

craggy breach
#

In the future I do hope you can take advantage of custom_fields on Subscription. I'll add to the feature request internally to note more interest for that.

sudden holly
#

Thank you a lot 4242underline

modern zephyrBOT