#AppleJaxxZ-events-customer-subscription
1 messages ยท Page 1 of 1 (latest)
thank you, I mean, i guess i could select all events, and then place a default: at the end to just update mongodb with any changes....I think...?
You could but I'd recommend against it as it'd increase the processing load on your server ๐
There are customer.subscription.* events listed here [0] that would allow you to listen for changes when any updates are made to a subscription
[0] https://stripe.com/docs/api/events/types#event_types-customer.subscription.created
what changes do you want to track with a customer? You'd find the specific event type in the list
If you're having trouble locating it, I'd be happy to find and share the link
thats true, well I have a subscription object made that stripe sends when you first create a customer and their subscribe to a plan...so thats whats in my database atm, but id like to know when the subscriptions status changes
so basically I need to know whemneever their is a change to status
also how could I update status manually for testing purposes
theres just so many event options, im unsure which ones to hone in on
Gotcha. So the link I've shared above is where you'd want to start.
also how could I update status manually for testing purposes
You could use Stripe CLIstripe trigger customer.subscription.updatedI think
I haven't tested it personally though so would recommend giving it a go
thanks ill check it out