#prince996-subscription cancellation

1 messages ยท Page 1 of 1 (latest)

crystal wadi
#

๐Ÿ‘‹ happy to help

#

are you past that cancellation date?

errant pike
#

not yet it's still has some days left

crystal wadi
#

yes in that case you can

#

but once the subscription becomes cancelled there's no way back

errant pike
#

how can i reactivate?

crystal wadi
#

you can just remove the cancelAt

errant pike
#

so i just need to update the subscription again without setCancelAt() param. right?

crystal wadi
#

no you'd have to pass this but set it to null

#

I think so

#

wait let me try to test that

#

just for confirmation

#

so yeah if you set it to null then it would be removed and the subscription would no longer be cancelled at that date

errant pike
#

SubscriptionUpdateParams subscriptionUpdateParams = SubscriptionUpdateParams.builder()
.setCancelAt(null).build();

above code on setCancelAt(null) giving me a error
"The method setCancelAt(Long) is ambiguous for the type SubscriptionUpdateParams.Builder"
could you please look into this?

crystal wadi
#

setCancelAt((Long) null)

#

that should work