Skip to content
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

throw error when keys not set correctly #42

Closed
myou opened this issue Aug 10, 2012 · 3 comments
Closed

throw error when keys not set correctly #42

myou opened this issue Aug 10, 2012 · 3 comments
Labels
V2 V2 Client

Comments

@myou
Copy link

myou commented Aug 10, 2012

May need some confirmation on this, but here are the customer's words:

If the api and private key were not set (I think just my private key was
set because up to the point where I started listening for the successURL
call I had been working with the javascript libraries), a fatal error is
thrown somewhere in the Recurly libraries that I assume gets swallowed by a
try block. I am not sure where in the code, but if I don't have both keys
properly defined execution stops with no there are no errors logged in any
logfile. I am just left scatching my head about why the code stops.

@mbeale
Copy link

mbeale commented Sep 24, 2012

I tried to reproduce this and the errors are thrown properly for me.

Uncaught exception 'Recurly_UnauthorizedError' with message 'Your API Key is not authorized to connect to Recurly.' in /home/mbeale/php/recurly/lib/recurly/response.php:50

Got a similar error when trying to sign without a private key.

@myou
Copy link
Author

myou commented Sep 24, 2012

@mbeale I also cannot reproduce this. So until someone else encounters the same problem, let's consider the issue closed.

@myou myou closed this as completed Sep 24, 2012
@inboundwebhub
Copy link

Got the same error while using my sandbox account private key.

image

@bhelx bhelx added the V2 V2 Client label Mar 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
V2 V2 Client
Projects
None yet
Development

No branches or pull requests

4 participants