#Mr Stinky Pants

1 messages · Page 1 of 1 (latest)

golden violetBOT
ancient vigil
#

im trying to move from another card system

copper jay
#

👋 Thanks for reaching out

the nth day of month to start a subscription?
Bit of a broad question! Is there a specific use case you're trying to account for?

ancient vigil
#

these customers already have invoice dates

#

if you start a new subscription it starts today

#

i thought i could make life easy and just use the customers start date for the subscription

#

which could be years ago

#

and it would work the day of month out

copper jay
#

Do you mean creating a subscription in a later day ?

ancient vigil
#

yes

#

e.g. on card payment fails on the old system

#

say thats the 9th

#

customer comes today to update card

#

i still charge from the 9th

#

i dont want any pro rata

copper jay
ancient vigil
#

if i do this in dashboard it seems to make an invoice today and it says theres an upcoming invoice today also

#

yes that was the question - how to calculate that date

copper jay
#

The timestamp need to be in UTC format

ancient vigil
#

ill have a look cheers

ancient vigil
#

how can you find a price with a certain £?

karmic torrent
#

It's not possible right now to filter/search Prices by unit_amount

ancient vigil
#

is it ok to put it in meta data?

karmic torrent
#

Sure! unit_amount is immutable anyway so it can't be updated/changed

#

We do encourage use of the lookup_key for use cases like this, where you want to find a Price object by some arbitrary field

ancient vigil
#

its just i give some customers a different price for a product

#

i was going to add a new price if it doesnt exist

#

yes lookup key looks right cheers

karmic torrent
#

Yes guess you could use professional-40-monthly or something

ancient vigil
#

but you cant set that in dashboard?

#

or is that the description?

karmic torrent
#

lookup_key is API only yep

ancient vigil
#

ok cheers