yes, there are a number of guides.
They can be found here:
Generic TPP:
http://resellers.tucows.com/opensrs/certificates/pdf/tpp_specification.pdf
Certs Specific part of TPP:
http://resellers.tucows.com/opensrs/certificates/pdf/certs_tpp.pdf
And just in case.
Perl Client Code Manual:
http://resellers.tucows.com/opensrs/resources/docs/srsClientDoc.pdf
Kim Phelan
Product Manager
Tucows, Inc.
-----Original Message-----
From: owner-dev-list@opensrs.org [mailto:owner-dev-list@opensrs.org]On
Behalf Of Andy Coates
Sent: Tuesday, January 07, 2003 11:00 AM
To: colin@easydns.com
Cc: dev-list@opensrs.org; 'OpenSRS-PHP Developers List'
Subject: RE: Version 2.6.1 of OpenSRS-PHP class
>> Are you likely to be working on a version that includes TPP support
>> for things like certs?
>>
>> I'm not sure how hard it is to implement TPP, since it looks very
>> similar to XCP, but I don't want to re-invent the wheel if someone is
>> kindly providing an open source version.
>
> According to the API spec I have, this should work with an
> out-of-the-box install of my class:
>
> <?php
>
> require_once 'openSRS.php';
>
> $O = new openSRS('live');
>
> $cmd = array(
> 'action' => 'buy',
> 'object' => 'webcert',
> 'email' => 'colin@easydns.com',
> 'quantity' => 1,
> 'phone' => '416-555-1212',
> 'contact' => 'Colin Viebrock',
> 'org' => 'easyDNS Technologies',
> 'needs_reseller' => 1,
> }
>
> $result = $O->send_cmd($cmd);
>
> ?>
The certs API isn't in the normal API, I think that was for an old
webcert.
The new ones use this TPP structure which is very similar, but has a lot
of other fields and apparently needs $message['protocol'] set to "TPP".
I believe there are 2 docs with information about TPP in general and TPP
API for certs.
Andy.
This archive was generated by hypermail 2.1.3 : Tue Oct 19 2004 - 23:37:33 EDT