#flacoski-unsubscribe-survey
1 messages ยท Page 1 of 1 (latest)
Hi there ๐ apologies for the delay.
The portal sessions do have a default_return_url parameter, but that may not be what you want as that would redirect all of your customers there.
https://stripe.com/docs/api/customer_portal/configurations/create#create_portal_configuration-default_return_url
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Would an async survey be an acceptable flow? If so, you could listen to customer.subscription.deleted events and then trigger an async flow (such as sending an email)
https://stripe.com/docs/api/events/types#event_types-customer.subscription.deleted
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Thank you for the answer
Yes, we are handling that option too
an async survey
the issue is that probably users unsubscribe and don't return to the app
but maybe an email could work
The other option that comes to mind is to use the default_return_url or return_url to try directing customers back to your site, and then have that page check if they recently cancelled a subscription so it can show a survey if appropriate.