#Derek Lance
1 messages · Page 1 of 1 (latest)
You mean using a Product object, figure out whether or not a free trial was used?
given a customer id and a product id, check to see if that customer has ever subscribed to that product id with a free trial
could i list all a customer's subscriptions, check each of those subscriptions' list of subscription items to find the product id i am interested in, and then check if that subscription has a trial_start/trial_end that is non-null?
i guess my question boils down to:
- customer subscribes to a product and gets a free trial, but then cancels their subscription
- 1 month passes
if i now retrieve that subscription object, willtrial_endbe null? or will it be some date in the past that the trial expired on
could i list all a customer's subscriptions, check each of those subscriptions' list of subscription items to find the product id i am interested in, and then check if that subscription has a trial_start/trial_end that is non-null?
Yeah, that seems like it would work
cool thanks. i will try that