#Vdrizzle

1 messages · Page 1 of 1 (latest)

stark templeBOT
hidden blade
#

I assume you're using the upcoming Invoices API? When you're previewing the update are you sure that you're updating all the montly prices to be yearly?

#

If you have a request ID feel free to share and I can take a look

steady pollen
#

This is the request id = req_sUJw3vemNnT4jU

#

part of the problem is that we are not always going to have a 1:1 item mapping

hidden blade
#

What do you mean by not having a 1:1 item mapping?

#

From what I can see, the issue is that you're trying to update the subscription to have a quantity: 0 monthly price in addition to the yearly price which isn't allowed - you'd want to set deleted: true instead of quantity: 0 to completely get rid of the monthly price

steady pollen
#

We cant always match a subscription item to a new product in the plan we're previewing for

hidden blade
#

I'm still not fully following - why can't you do that? For a monthly sub with one price you should be able to get the one subscription item, and either delete it or update it to the yearly price