#kenjamin-

1 messages · Page 1 of 1 (latest)

opaque kindle
faint ginkgo
#

when i update the subscription.items.price_data, i will have to create a new price and pass it to the /subscriptions/update, correct?

opaque kindle
#

if you update it using subscription.items.price_data - it will automatically create a new Price

#

i generally don't recommend this though, cause you're going to end up with a new Price everytime someone creates a new subscription

#

you should create a new Price before hand, then update subscription.items.price with the Price

faint ginkgo
#

got it

opaque kindle
faint ginkgo
#

now you mentioned that existing subscriptions won't be affected - what if i want those that were already existing subscribed at $10, to be automatically put on the new subscription price to be charged the $20 after someone updates their subscription price?

opaque kindle
#

to clarify, do you want to update all subscriptions on that old price?

faint ginkgo
#

yes

opaque kindle
#

you'll need to loop through all existing subscriptions and update them to that new price. there's no automatic way / feature to do this currently

faint ginkgo
#

i see - so i would i have to create a background process to do that

opaque kindle
#

yep

faint ginkgo
#

this is great info - i understand now, appreciate the help