chargify/chargify_direct_example — Issue #1: Fetching call resource fails with 401
Author: josephruscio
Created: 2011-11-10 05:39:02+00:00
State: open

Not sure if this is a problem with this example app or the chargify2 gem or the API itself, but when I attempted to use this app with our testing chargify subdomain, the initial POST to create a new subscription works, but the attempt to query the *Call Resource* using the call ID (i.e. `chargify.calls.read(params[:call_id])`) fails with a `401`:

get '/verify' do
if chargify.direct.response_parameters(params).verified?
@call = chargify.calls.read(params[:call_id])

I tried using `curl` on the command line with my `api_id` and `api_password` and got the same `401`.