Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

stripe help trigger is missing the price.deleted event #1128

Open
ben519 opened this issue Oct 11, 2023 · 0 comments
Open

stripe help trigger is missing the price.deleted event #1128

ben519 opened this issue Oct 11, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@ben519
Copy link

ben519 commented Oct 11, 2023

On stripe version 1.17.2, when I run stripe help trigger I see

Trigger specific webhook events to be sent. Webhooks events created through
the trigger command will also create all necessary side-effect events that are
needed to create the triggered event as well as the corresponding API objects.

Supported events:
  account.application.deauthorized
  account.updated
  balance.available
  charge.captured
  charge.dispute.created
  charge.failed
  charge.refund.updated
  charge.refunded
  charge.succeeded
  checkout.session.async_payment_failed
  checkout.session.async_payment_succeeded
  checkout.session.completed
  customer.created
  customer.deleted
  customer.source.created
  customer.source.updated
  customer.subscription.created
  customer.subscription.deleted
  customer.subscription.updated
  customer.updated
  identity.verification_session.canceled
  identity.verification_session.created
  identity.verification_session.redacted
  invoice.created
  invoice.finalized
  invoice.paid
  invoice.payment_action_required
  invoice.payment_failed
  invoice.payment_succeeded
  invoice.updated
  issuing_authorization.request
  issuing_authorization.request.eu
  issuing_authorization.request.gb
  issuing_card.created
  issuing_card.created.eu
  issuing_card.created.gb
  issuing_cardholder.created
  issuing_cardholder.created.eu
  issuing_cardholder.created.gb
  payment_intent.amount_capturable_updated
  payment_intent.canceled
  payment_intent.created
  payment_intent.partially_funded
  payment_intent.payment_failed
  payment_intent.requires_action
  payment_intent.succeeded
  payment_link.created
  payment_link.updated
  payment_method.attached
  payment_method.detached
  payout.created
  payout.updated
  plan.created
  plan.deleted
  plan.updated
  price.created
  price.updated
  product.created
  product.deleted
  product.updated
  quote.accepted
  quote.canceled
  quote.created
  quote.finalized
  reporting.report_run.succeeded
  setup_intent.canceled
  setup_intent.created
  setup_intent.setup_failed
  setup_intent.succeeded
  subscription.payment_failed
  subscription.payment_succeeded
  subscription_schedule.canceled
  subscription_schedule.created
  subscription_schedule.released
  subscription_schedule.updated

Usage:
  stripe trigger <event> [flags]

Examples:
  stripe trigger payment_intent.created

Flags:
      --add stringArray         Add params to the trigger
      --api-version string      Specify API version for trigger
      --edit                    Edit the trigger directly in your default IDE
  -h, --help                    help for trigger
      --override stringArray    Override params in the trigger
      --raw string              Raw fixture in string format to replace all default fixtures
      --remove stringArray      Remove params from the trigger
      --skip stringArray        Skip specific steps in the trigger
      --stripe-account string   Set a header identifying the connected account

Global flags:
      --api-key string        Your API key to use for the command
      --color string          turn on/off color output (on, off, auto)
      --config string         config file (default is $HOME/.config/stripe/config.toml)
      --device-name string    device name
      --log-level string      log level (debug, info, trace, warn, error) (default "info")
  -p, --project-name string   the project name to read from for config (default "default")

I was surprised to not see a price.deleted event, but then checking online it appears this event should exist.

@ben519 ben519 added the bug Something isn't working label Oct 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant