#Nadiya
1 messages · Page 1 of 1 (latest)
You can try override https://stripe.com/docs/cli/trigger#trigger-override
i've got this error
i tried with --add before, but had the same error as of --override
what event do you send?
invoice.paid
Can you post a full command here?
stripe trigger invoice.paid --override customer:id=cus_NLxKJzjIKjimYC
any other commands do i've to use?
I just tried edit
It will open an editor and you can replace all the {customer.id} to your customer id
smth like this
stripe trigger invoice.paid --edit
unknown flag: --edit
Upgrade Stripe CLI to latest version
stripe version 1.13.8
this is mine
let's use 1.13.9
is there any path i can edit the fixture ?
if there is any, i'll open the path directly from the editor, and can trigger the event
umm not sure about window. But yeah you can try to modify the fixture file
where is it located?
Hmm not sure. Let's try to fix the editor error
what if you specify smth like export EDITOR=some_other_application
stripe trigger invoice.paid --edit export EDITOR=some_other_application
like this?
no separately
" 'export' is not recognized as an internal or external command,
operable program or batch file "
hmm okie... That was an Unix command
Sorry not really familiar with Window. Can you google something like Window set EDITOR environment?
sure
sorry, another questin
will there be duplicate payments, if i resend an event?
i've a previous successful invoice.paid event with the customer i want to check.
so, i was thinking to resend the event instead of triggering the invoice.paid event again
i'm trying to test some logic inside invoice.paid webhook