#odinsmash - CLI

1 messages · Page 1 of 1 (latest)

lost siren
#

Hello! Just starting a thread for you -- I'll review and respond as soon as I can 🙂

#

Have you had override work in other examples? Testing this now I am able to run this:
stripe trigger charge.dispute.created --override dispute:charge=ch_1234bacd
but the charge id is not overridden

Note the payload object for that event is a dispute, not a charge

#

ah

#

re-reading the docs, i believe override is only meant to override parameters of the requests set up in the fixtures -- objects IDs like you're trying to override are not parameters

sturdy prism
#

There is not way in our API to trigger a dispute on an existing charge today unfortunately so what you are trying to do is not possible

#

your best option would be to "mock" the event yourself

wispy rose
#

ah! I see, ok, I misunderstood the usage then.

#

Is there a way to trigger this from the dashboard? And yeah, mocking it makes sense... I was hoping to do a quick "integration" test as well with the CLI. That's ok.