#elisia_breakthroughbroker-portal-email
1 messages · Page 1 of 1 (latest)
From a CustomerPortal object? https://stripe.com/docs/api/customer_portal/session
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 Stripe has an option to send automatic emails when someone's subscription is going to renew and when their card is going to expire. You can link to something in those emails, but I want to know if there is a way to link to someone's customer portal in that email
Unfortunately not. There is some customization for that email but it is not currently possible to link a customer to something specific to them
In that situation the recommended flow is listening to webhooks and sending your own emails with a link to their portal then
Ah ok is there a walkthrough for that?
For the webhooks yes https://stripe.com/docs/webhooks
And the event you are looking for for subscription renewal will likely be invoice.finalized
Unfortunately we do not really have guidance on what service to use to send your emails but there are many good ones
We currently use campaign monitor. Would that work?
I am not familiar with their services but if they let you send an email programmatically and you can customize this link in it, that should work
The webhook will notify your server so you can do basically whatever from when you get that notification.
Ok thank you!