#Pilou

1 messages · Page 1 of 1 (latest)

inland daggerBOT
silver raven
#

The first line :

misty ermine
#

What do you mean by 'didn't work correctly'?

#

Likely explains the discrepency

#

You'll need to multiple timestamp by 1000

silver raven
#

I have NAN values when i multiple by 1000 i don't understand why

misty ermine
#

Can you share the code?

silver raven
#

OK i manage to correct my code thx it's work !
If i want to change de recurring value monthly to weekly how can i do it ? I didn't manage to do it ?

misty ermine
#

Not sure I understand the question

silver raven
#

I want to change de recurring time to weekly and i don't understand how to do it ?

misty ermine
silver raven
#

Here is my code i think u don't understand my question

#

The red line don't work to set the automatic renewal to week

#

and not month

misty ermine
#

Yes, because you don't control that billing interval on the Subscription. It's set at the Price object level

#

Where you pass a price_xxx ID to the items array. Those objects have the recurring interval set

#

So you'll need to create a new Price object that's a weekly interval if that is your intention

silver raven
#

ohhhh okay thx !