#Tirth Joshi

1 messages · Page 1 of 1 (latest)

harsh hornetBOT
rough yarrow
#

Hi! Let me help you with this.

#

Could you please share more details about your use case?

bleak siren
#

I started my subscription today, but my money will be deducted tomorrow.

#

billing_cycle_anchor is work for week

rough yarrow
#

Do you mean you want to create a Subscription with start date in the future?

bleak siren
#

i have to give amount in future

#

For example, I have to create my subscription on Tuesday for the weekly
My subscription started on Tuesday.
but my subscription money was debited on Sunday.

rough yarrow
#

What do you mean by "i have to give amount in future"?

#

Do you mean you want to create a Subscription with start date in the future?

bleak siren
#

For example, I have to create my subscription on Tuesday for the weekly
My subscription started on Tuesday.
but my subscription money was debited on Sunday.

rough yarrow
#

Next Sunday or last Sunday?

bleak siren
#

Next Sunday

tranquil veldt
#

👋 stepping in here

#

Best thing to do is use a trial in this case

bleak siren
#

another way
I have to create a subscription weekly and also decide to have the payment deducted based on the chosen date.

tranquil veldt
#

You are going to need to give more details for us to help you.

#

Please explain exactly what you are trying to accomplish

bleak siren
#

stripe.SubscriptionSchedule.create(
customer="cus_NzixEDfGDnISGE",
start_date=1686225133,
phases=[
{
"items": [
{
"price":
"price_1NE4EOBtfsdMpbTVb1WQ0q86",
"quantity": 1,
},
],
"iterations": 12,
},
],
)

add billing_cycle_anchor with date

tranquil veldt
#

Sorry that is just code to create a Subscription Schedule. What are you trying to do?

bleak siren
#

am adding billing_cycle_anchor?

tranquil veldt
#

Yes you could do that but you would have a prorated invoice until the billing cycle anchor