#Nadiya

1 messages · Page 1 of 1 (latest)

rough rivetBOT
sacred copper
brisk quarry
#

i've got this error

#

i tried with --add before, but had the same error as of --override

sacred copper
#

what event do you send?

brisk quarry
#

invoice.paid

sacred copper
#

Can you post a full command here?

brisk quarry
#

stripe trigger invoice.paid --override customer:id=cus_NLxKJzjIKjimYC

#

any other commands do i've to use?

sacred copper
#

I just tried edit

#

It will open an editor and you can replace all the {customer.id} to your customer id

#

smth like this

brisk quarry
#

stripe edit?

#

sorry, i'm not sure about that param

sacred copper
#
stripe trigger invoice.paid --edit
brisk quarry
#

unknown flag: --edit

sacred copper
#

Upgrade Stripe CLI to latest version

brisk quarry
#

stripe version 1.13.8
this is mine

sacred copper
#

let's use 1.13.9

brisk quarry
#

ok, just installed. let me try

brisk quarry
#

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

sacred copper
#

umm not sure about window. But yeah you can try to modify the fixture file

brisk quarry
#

where is it located?

sacred copper
#

Hmm not sure. Let's try to fix the editor error

#

what if you specify smth like export EDITOR=some_other_application

brisk quarry
#

stripe trigger invoice.paid --edit export EDITOR=some_other_application
like this?

sacred copper
#

no separately

brisk quarry
#

" 'export' is not recognized as an internal or external command,
operable program or batch file "

sacred copper
#

hmm okie... That was an Unix command

#

Sorry not really familiar with Window. Can you google something like Window set EDITOR environment?

brisk quarry
#

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

sacred copper
#

Don't think there will be duplication. But you are welcomed to test it

#

Literally in Test mode you can test everything