integrallis / stripe_event

Stripe webhook integration for Rails applications.
https://rubygems.org/gems/stripe_event
MIT License
840 stars 107 forks source link

how to listen 2 endpoint url #158

Open antondgx opened 1 year ago

antondgx commented 1 year ago

Hey lets say i have 2 webhook endpoint url now: to send platform events: https://50fc-129-126-108-201.ap.ngrok.io/stripe-webhooks/ to send connected account's events: https://50fc-129-126-108-201.ap.ngrok.io/stripe-webhooks/connect

Hey how do i change this routes on my rails app to be able to listen to both url endpoint: mount StripeEvent::Engine, at: '/my-chosen-path' # provide a custom path

appreciate your help. Thanks@

tmaier commented 1 year ago

This question looks like a duplicate of #144