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

Cannot override customer ID on Stripe CLI when triggering invoice.payment_failed #1275

Open
TheLox95 opened this issue Dec 7, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@TheLox95
Copy link

TheLox95 commented Dec 7, 2024

Issue

When triggering the invoice.payment_failed event with the CLI using the following command the customer ID never gets overwritten, the CLI generates a new customer each time

stripe trigger invoice.payment_failed --override invoice:customer=cus_xxx --override invoice:customer.payment_method=pm_xxx

Expected Behavior

To call the webhook for this event with the override customer ID in the body

Steps to reproduce

Use the above command with a valid test customer ID and payment method ID

Environment

Linux
stripe version 1.22.0

@TheLox95 TheLox95 added the bug Something isn't working label Dec 7, 2024
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