stripe-cli
stripe-cli copied to clipboard
Metadata Not Passed to Webhook in customer.created Event Triggered via Stripe CLI
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