#prince996-subscription cancellation
1 messages ยท Page 1 of 1 (latest)
not yet it's still has some days left
yes in that case you can
but once the subscription becomes cancelled there's no way back
how can i reactivate?
you can just remove the cancelAt
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
so i just need to update the subscription again without setCancelAt() param. right?
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
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?