#jacobfinn

1 messages · Page 1 of 1 (latest)

shell garnetBOT
static forum
#

Hey there

#

Let me take a look

#

Mostly this isn't going to be worth the hassle

#

You would need to override a bunch of stuff

#

Since you need to change to mode: subscription

#

If you do want to use the CLI here

#

You should use the --edit flag

#

And open up the fixture in your IDE

#

And then make the changes there

#

Instead of trying to use the command line

#

Otherwise, I would just create a Checkout Session real quick and complete it

lethal jewel
#

Tried that and got:

Waiting for your editor to close the file...
exec: "vi": executable file not found in %PATH%

static forum
#

Which will generate the Event

lethal jewel
#

Can't use a different one?

static forum
#

So you could set that to VS Code for instance and it should open up the fixtures fine

#

(That's what I have it set up as)

lethal jewel
#

is it trying to open a .cmd?

#

so I can change the default on windows

#

all it says in the docs

static forum
#

Yep that is because the docs assume you know how to set up your default IDE

#

I'm not familiar with setting git editor default on windows

lethal jewel
#

whats the extension?

#

.gitconfig?

shell garnetBOT
lethal jewel
#

bc i already have it set to vs code

static forum
#

If you do git var GIT_EDITOR what do you see?

lethal jewel
#

vi

#

I got it working

static forum
#

Great

lethal jewel
#

Although I updated the price object and it's still a payment mode

static forum
#

Yeah you are going to need to change the Price object, change the mode to subscripion and remove payment_intent_data

#

Otherwise it will error