#rishabhpanwar
1 messages · Page 1 of 1 (latest)
So you want to override the subscription ID in the triggered event?
Yes
OK, you can use --override flag https://stripe.com/docs/cli/trigger#trigger-override
"error": {
"message": "You may only specify one of these parameters: pending_invoice_items_behavior, subscription.",
"param": "pending_invoice_items_behavior",
"request_log_url": "https://dashboard.stripe.com/test/logs/req_A6s8Cr7ymWnQkl?t=1683525189",
"type": "invalid_request_error"
}
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
I tried --override and replaced --add from my original message
OK, so it looks like subscription ID can't be overriden
Ohhh. How do I test a failed invoice payment then for a subscription?
https://stripe.com/docs/billing/testing/test-clocks I'd suggest you to use test clocks to test your subscription integration