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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Andy Coates
Sent: Tuesday, January 07, 2003 11:00 AM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]; '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'         => '[EMAIL PROTECTED]',
>               '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.

Reply via email to