My son has been working off of some sample code trying to create a trial account on the horizon.opensrs.net site. If I change authentication parameters it fails so I guess it is getting past the auth.

What I get is:

In signup.
Sending request...
Response received...
Failed registration: 5000 Unable to process the order: all order items are failed in creation..<br>


The code is:


print "In signup.\n";
my (%HTML);
my $tpp_request = {
'protocol' => 'TPP',
'object' => 'order',
'version' => '1.4.0',
'action' => 'create',
'requestor' => {
'username' => 'somethingvalid',
'password' => 'secret',
},
'attributes' => {
'user_id' => '666',
'handling' => 'process',
'create_items' => [
{
'service' => 'wsb',
'orderitem_type' => 'new',
'object_type' => 'account',
'product_data' => {
'brand_name' => '666_project',
'package_name' => 'ecomm',
'language' => 'en',
'account_username' => 'newaccountname',
'account_password' => 'sercret',
'lost_password_email' => '[EMAIL PROTECTED]',
'ftp_username' => 'newaccountname',
'ftp_password' => 'sercret',
},
'contact_set' => {
'owner' => '999'
}
}
],


Thanks
Ken



Reply via email to