stripe-cli icon indicating copy to clipboard operation
stripe-cli copied to clipboard

Metadata Not Passed to Webhook in customer.created Event Triggered via Stripe CLI

Open sgiovo opened this issue 6 months ago • 0 comments

Issue

When trying to trigger a customer.created event using the Stripe CLI with the command stripe trigger customer.created --add customer_created:metadata.test=test, the metadata is not being passed to the webhook.

Expected Behavior

I expected the customer.created event to include the metadata test=test in the webhook payload.

Steps to Reproduce

Install the Stripe CLI on macOS. Run the command: stripe trigger customer.created --add customer_created:metadata.test=test. Observe the webhook payload and note that the metadata is missing.

Environment

macOS

sgiovo avatar Jul 31 '24 21:07 sgiovo