#Suren-subscription
1 messages · Page 1 of 1 (latest)
I need to know if I can test all subscription events via CLI
e.g. past_due with metadatom
Hi Suren, am I correct to say that you want to preview the invoice with different parameters?
I want to use the CLI to check the subscription and simulate past_due for example and add some kind of metadata there
Just want to clarify your question, you want to use CLI to create a subscription for a customer whose existing payment method (i.e., credit card) is past_due?
yes
Ok, then you can use the stripe post command to create the customer, as well as the subscription. https://stripe.com/docs/cli/post
Complete reference documentation for the Stripe CLI.
Hey! Taking over from Jack. Let me know if you have any follow-up Qs!