#kanohian

1 messages · Page 1 of 1 (latest)

north carbonBOT
gentle oyster
tawny trout
#

Hi

#

I tried that

#

but is not possible to upgrade subscription by changing the product

#

only price

#

Seems like upgrading only allows changes in the price of product, not the product as such

gentle oyster
#

You can update the subscription with another product

#

What error are you getting? are you using API or dashboard ?

tawny trout
#

api

#

let me share you the request id

#

req_BLtwa8x50vIYeZ

#

and the error I get is this

#

No subscription item with this ID (prod_I29TkGOro63maC) on the subscription.

gentle oyster
#

You need to pass a related price of that product.

Seems like upgrading only allows changes in the price of product, not the product as such
The product has no amount in it, the model to use is the Price. I though you want to change to a price of another product

tawny trout
#

no exactly. I need to add a new product to subscription, bill it and apply prorate

#

it seems that /subscription-items fits better for this

gentle oyster
#

I need to add a new product to subscription, bill it and apply prorate
You need to use the product's priceId when doing the update and not the product Id

tawny trout
#

I see.

#

let me try that way

#

you right my friend

#

only setting price did the job

#

seems that if specify product it seeks that product in the subscription items

#

now I have another doubdt

#

this is the final state of my subscription(many tries on between). The subscription bills once a year and has a lifetime of 1 year

#

question is: under what conditions it will try to bill again these products ?

gentle oyster
#

Stripe will bill again on the next billing cycle, after 1 year I suppose, according to the billing period of these prices

tawny trout
#

I see

#

what if I want to bill only the product I added?

#

the last one in the list, lets assume

gentle oyster
#

When using Subscriptions, the billing is done automatically, you can't choose what to bill partially

tawny trout
#

guess I am gonna try remove the first subscription item after succeed the update

#

proration applies

#

and subscription should only contain one product in my case

cursive knoll
#

HI there 👋 apologies for the delay while I'm taking over for my teammate. I'll be with you as soon as I can, but until then, would you mind summarizing the current state of your question/concern?