integrallis / stripe_event

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

Feature Request: Disable verifying event with stripe #4

Closed JakeAustwick closed 11 years ago

JakeAustwick commented 11 years ago

I'm currently integrating stripe_event, and want to test my code in the subscribe blocks. I'm using localhost for development and therefore can't set a webhook to my URL.

Thoughts on adding a testing option to disable the checking with stripe? Then I could just look at the event in the stripe interface and post it to localhost myself.

Thanks, Jake

jmonegro commented 11 years ago

You can use the localtunnel gem to get a public URL to your localhost that stripe can use.

On Sep 12, 2012, at 3:56 PM, JakeAustwick notifications@github.com wrote:

I'm currently integrating stripe_event, and want to test my code in the subscribe blocks. I'm using localhost for development and therefore can't set a webhook to my URL.

Thoughts on adding a testing option to disable the checking with stripe? Then I could just look at the event in the stripe interface and post it to localhost myself.

Thanks, Jake

— Reply to this email directly or view it on GitHub.

JakeAustwick commented 11 years ago

That's true, but my experience with localtunnel has been that it's extremely slow.

jmonegro commented 11 years ago

You could try showoff.io as well, it's more reliable.

On Sep 12, 2012, at 4:15 PM, JakeAustwick notifications@github.com wrote:

That's true, but my experience with localtunnel has been that it's extremely slow.

— Reply to this email directly or view it on GitHub.

JakeAustwick commented 11 years ago

Thanks, I'll check that out then.

invisiblefunnel commented 11 years ago

I think this will be a useful feature. I've also been using localtunnel for development, but it's not ideal. Thanks for posting.

invisiblefunnel commented 11 years ago

@JakeAustwick v0.4.0 can be configured to skip retrieving the event from Stripe: https://github.com/integrallis/stripe_event#configuration. Let me know how this works out.