#srn - subscription updates

1 messages ยท Page 1 of 1 (latest)

shy shell
#

Hello! Just starting a thread for you -- I'll review and respond as soon as I can ๐Ÿ™‚

midnight hedge
#

Thank you

shy shell
#

hey there, can you share the request id where you encounter this error?

midnight hedge
#

Request req_YQEFOQgkTHHtDj

shy shell
#

Looking at your request now, thanks

midnight hedge
#

So to "modify" the price, i would need to create a new price and set that as the new default_price for the product?

shy shell
#

SO this would be an id like price_1234

midnight hedge
#

If the price is modified frequently, wouldn't this result in a number of stray price objects?

shy shell
#

Yes, you might have many prices for a given product, this is expected.

midnight hedge
#

Am i supposed to clean up unnecessary price objects?

shy shell
midnight hedge
#

if a price is modified and then modified a 2nd time back to the original price, is it better to search and find the initial price and use that or to create an entirely new price with the same numeric value?

#

so for example if the price is modified $10/month -> $20/month -> $10/month

#

Should the 3rd step do a search to find the initial price or should i create a new one entirely

shy shell
#

That's entirely up to you -- it'll work either way. If it's a current/active price you use you probably want to recycle the existing one.

midnight hedge
#

are there pros/cons to either approach?

shy shell
#

Not really, no. Price ids are invisible to customers, they'd never know the difference.