Skip to content

Commit

Permalink
fix(stripe): Fixed billing issue.
Browse files Browse the repository at this point in the history
User's were being redirected to the Stripe billing portal upon logging
in or loading the application. This was happening because we were not
receiving Stripe webhooks that bumped up a user's subscription
timestamp.

This was because when I ported everything over to echo from iris, I
misspelled the path for the stripe webhook :grimace:

Resolves #1459
  • Loading branch information
elliotcourant committed Jun 26, 2023
1 parent 4ef494b commit da0276e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/controller/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@ func (c *Controller) RegisterRoutes(app *echo.Echo) {
// Plaid incoming webhooks
repoParty.POST("/plaid/webhook", c.handlePlaidWebhook)
// Stripe incoming webhooks
repoParty.POST("/stripe/webook", c.handleStripeWebhook)
repoParty.POST("/stripe/webhook", c.handleStripeWebhook)
repoParty.GET("/sentry", c.getSentryUI)
repoParty.GET("/config", c.configEndpoint)
// Authentication
Expand Down

0 comments on commit da0276e

Please sign in to comment.