-
Notifications
You must be signed in to change notification settings - Fork 34
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
Verifying callback requests in Rails? #16
Comments
Hi Andy! There is some finagling that has to be done to get the verification to work correctly in rails. I'm going to add an issue to address creating a method to easily verify callback requests in rails. Here's what you would have to do currently:
|
Going to reopen this and just use this issue to address making rails callback request verification easier. |
Thanks for this info - I will test out the code you provided and look forward to seeing it easier in Rails. If I get some time, I can submit a pull request as well. |
Hey team,
I'm trying to verify a Phaxio request in a Rails controller, and I can't quite figure out what I need to be feeding into the
Phaxio.valid_callback_signature?
method's 3rd argument. I've tried inserting theparams
method directly, building my own hash, and pretty much every combination I can think of.For a regular 'received' fax, what format of data should I be providing for the validation method?
FWIW, here's roughly the code I've been using:
The text was updated successfully, but these errors were encountered: