#pedgo-subscription-cancel
1 messages ยท Page 1 of 1 (latest)
Sadly there is none, gonna try to debug it now. ty
well the sub id you shared is not currently set to cancel at period end, so something isnt updating like you expect
My problem was passing my customerId instead of subscriptionId
๐
not yep, but now I just need to figure out how to retrieve the only one sub related to this customer id
you can list subs filtering by customer id: https://stripe.com/docs/api/subscriptions/list?lang=curl#list_subscriptions-customer
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.