#scott_15200

1 messages · Page 1 of 1 (latest)

main rootBOT
#

Hello! We'll be with you shortly. Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.

hoary apex
#

I don't believe there's a charge object for the $0 charge when subscription has a trial

#

We generate a $0 invoice but then finalize + pay it automatically.
It doesn't generate an underlying charge afaik

heady dust
#

Then how do you know when a customer initiates their respective subscription using a CLI command?

hoary apex
#

You can list subscriptions, listen to webhook events, list a customer's subcription using customer ID etc..

I feel like you have an underlying question. What's your real question? What exactly are you trying to do?

heady dust
#

I do not want to set up a webhook because I run an app hourly from a home computer. Is there a CLI command that lists subscriptions?

#

I need to know when to start delivering the product during the customer's free-trial period. Again, I prefer to use a CLI command.

hoary apex
#

CLI isn't supposed to be used for live integrations. It is mainly used for test mode integrations to trigger certain scenarios and test things.

The API ref doc should have examples for each API endpoint including subscriptions
https://stripe.com/docs/api/subscriptions/list?lang=cli

heady dust
#

CLI not intended for live integrations??? Really? Interesting. But that would make sense because it was working great with my test data using the CLI command:
$> stripe charges list

#

hanzo, I will review the link you sent. Thank you.