#jackson.bayor

1 messages · Page 1 of 1 (latest)

sour meteorBOT
frosty mauve
#

Have you tried running xcode-select --install?

spiral cedar
#

not yet

#

Need to confirm

#

I dont use xcode but do I still go ahead?

frosty mauve
#

Let's start over. Which package manager are you using to perform the install? It looks like you are trying to use brew , so have you installed Homebrew yet?

spiral cedar
#

Yes I remember installing brew a long time back

frosty mauve
#

What OS are you using?

spiral cedar
#

Ventura 13.0.1

frosty mauve
#

What's the output of brew -v?

#

If that outputs the version, then run brew install stripe/stripe-cli/stripe instead of brew upgrade stripe/stripe-cli/stripe

spiral cedar
#
Homebrew/homebrew-core (git revision 9628e99d957; last commit 2022-12-07)```
#

Okay

#

But I confirm that I currently have stripe cli

#

When I try to trigger an event I get

Setting up fixture for: checkout_session
Running fixture for: checkout_session
Trigger failed: Request failed, status=400, body={
  "error": {
    "message": "You cannot use `line_items.amount`, `line_items.currency`, `line_items.name`, `line_items.description`, or `line_items.images` in this API version. Please use `line_items.price` or `line_items.price_data`. Please see https://stripe.com/docs/payments/checkout/migrating-prices for more information.",
    "request_log_url": "https://dashboard.stripe.com/test/logs/req_g66ekGZlYv0ldO?t=1670451892",
    "type": "invalid_request_error"
  }
}```
frosty mauve
#

Ah, that was my next question. Okay, so back to the beginning.

I think xCode is one of the dependencies for the stripe package, so try running xcode-select --install and then attempt the upgrade again

spiral cedar
#

Okay

#

Trying now

#

Works now