1) When I load the test.php, this is what I'm getting:
Command Array ( [action] => lookup [object] => domain [attributes] => Array ( [domain] => domain.com [affiliate_id] => 12345 ) ) Warning: pack(): Type H: illegal hex digit in /usr/local/www/data/opensrs-php/openSRS_base.php on line 668
It means that you are not specifiying your private key properly (or at all) in your openSRS.php file. Thus, the client can't authenticate with OpenSRS.
Make sure your code has lines such as:
var $TEST_PRIVATE_KEY = 'abcdef1234567890'; var $LIVE_PRIVATE_KEY = 'abcdef1234567890';
And make sure that those values are valid hexadecimal numbers.
2) Authentication failed. I know the username is right. I know the private
key is right. I generated a new one from resellers.opensrs.net and
copy/pasted it in.
Solve the first problem, and I'm sure the second one will go away.
- Colin