-
Notifications
You must be signed in to change notification settings - Fork 137
Description
Related to an existing integration?
No
Existing integration
No response
Overview
It would be a valuable addition to the Aspire ecosystem to include a built-in integration for the Stripe CLI. When working locally, the Stripe CLI is essential for simulating webhooks, managing test data, and interacting with the Stripe API in real time. Embedding this functionality into Aspire as a hosting extension would streamline the developer experience by reducing manual setup and enabling better orchestration of services. This could significantly improve productivity and consistency across environments, especially for teams building payment-enabled applications. A native Aspire extension for Stripe CLI would align well with Aspire’s goal of simplifying cloud-native development through composable and observable service models.
Usage example
var stripe = builder.AddStripeLocal("stripe")...
var api = builder.AddProject<Projects.API>("api")
.WithReference(stripe);Extra: commands on the resource to trigger sample requests.
Breaking change?
I'm not sure
Alternatives
$ stripe listen --forward-to http://localhost:5082/payments/stripe-webhook
Additional context
There's an article that touches the topic by @julioct
https://juliocasal.com/blog/how-to-build-custom-net-aspire-hosting-extensions-with-stripe-cli-example
https://juliocasal.com/blog/speed-up-your-stripe-dev-loop-with-net-aspire
I could help implementing this solution but I wouldn't be able to deviate too much from the blog post.
Help us help you
No, just wanted to propose this