#shubhamjha

1 messages · Page 1 of 1 (latest)

quartz jungleBOT
lofty cypress
#

hey

raven marlin
#

Hey

#

I don't understand sorry

lofty cypress
#

how can i cancel any shedule subscription emidtiate without shedule for cancel

raven marlin
#

Hope I understood the question

lofty cypress
#

no i am taking about shedule subscription

#

i want to cancel at current time

#

?

raven marlin
lofty cypress
#

i use same code but it retuern me

#

Scheduled to cancel on
Feb 2, 2026, 4:00 AM

#

but i want to cancel in current time

raven marlin
lofty cypress
#

await stripe.subscriptionSchedules.cancel(id)

raven marlin
#

No can you share the request id

#

I linked how to find it above

lofty cypress
#

ok wait

#

req_xEv9E7sZkOYdyH

#

this

raven marlin
#

That's the request for creating the schedule not cancelling

lofty cypress
#

but i am not finding this req id

#

req_n7Dk0PzAKub0CE

#

chek this

#

?

raven marlin
#

Yeah you didn't cancel it properly

#

You updated the subscription to cancel at period end that's why

lofty cypress
#

i use same code

raven marlin
#

?

#

You didn't cancel the subscription schedule

#

There would be a corresponding request

lofty cypress
raven marlin
#

You updated the underlying sub to cancel at period end

#

That code didn't run

#

Look at the request you made in the screenshot

#

It's an update subscription call

lofty cypress
#

await stripe.subscriptionSchedules.cancel(id)

#

tell me what happened here?

raven marlin
#

Yes but that code didn't run

#

Look at the screenshot you shared

#

Completely different request

lofty cypress
#

where

raven marlin
#

With different parameters

#

Find in your code where you make that request

#

That's what ran

lofty cypress
#

wait i just call only cancel then send you req id

raven marlin
#

You don't though

#

There would be a request in the dashboard

lofty cypress
#

req_IcrQfjQuowrrBD

#

now chek this

raven marlin
#

Yes that looks right now

#

That's the proper call

lofty cypress
#

ok

#

but

#

look this

#

why this is schedule ?

#

i want cancel on same time

raven marlin
lofty cypress
#

not shedule

raven marlin
#

But it is cancelled

#

You cancelled it

#

That's why it says cancelled at

lofty cypress
#

no that screeenshot is difrrent

raven marlin
#

It says cancelled

#

You cancelled it. Nothing more is required

#

It was originally scheduled to cancel on Feb 2nd. But with the latest request you made, you cancelled it immediately, so you're done