I've checked the code, and tried this out myself (without integrating credit card processing) and there's no duplicate order being generated.  Be sure that your integration is correct.
 
Also, with the raw code (no cc check) the processing time is very quick (on both test and live system).  Your time delay must be because you're verifying the card twice; so you've got to hits to the processing system.

Charles Daminato
OpenSRS Product Manager
Tucows Inc. - [EMAIL PROTECTED]

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of POWERHOUSE
Sent: February 5, 2002 7:49 PM
To: [EMAIL PROTECTED]
Subject: Re: 2.49

Charles, or anyone. in the .name pre-reg script, It appears to be taking a real long time.
Also, It appears to be running through the code twice. Yes, 2 times. The reason I say this, is that
it's charging my card 2 times. Here is how I make the call...

my $testcharge = order;
 
 if($price != 0.0) {
  if(!order()) {
    throw Exception "Register", "Sorry, Your card was denied. Please use a different card.\n";
     } else {
    throw Exception "Register", "Sorry, We had a problem trying to Build your form. \nIt appears the Code has been altered. Please don't change ANYTHING.\n";
 }
}
    my $xcp_request = {
        action => "sw_register",
        object => "domain",
        attributes => $data,
    };
    my $register_results = $XML_Client->send_cmd( $xcp_request );
    unless  ($register_results->{is_success}) {
        throw Exception "Register","Error occured while was trying to process your order:<br>\n".$register_results->{response_text};
    }
 
That should NOT call the form twice. it runs through it ONLY once, or it should. It takes literally 3 to 4 mins to return a failure, OR a Success message. I had time to walk to the other end of our house, to get a drink, took my time getting back, and it was still on the verify page, then about 40 seconds later it approved it, and Pre-Registered the domain. When I checked our Transaction logs, sure enough, there were two more transactions, and they were 3 mins apart. I used a different card each time, and that is how I know for sure it's checking twice.
 
What would cause that?
 
Thanks!
Richard.
 
 
----- Original Message -----
Sent: Tuesday, February 05, 2002 4:13 PM
Subject: RE: 2.49

Code's up, enjoy ;)
 

Charles Daminato
OpenSRS Product Manager
Tucows Inc. - [EMAIL PROTECTED]

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Charles Daminato
Sent: February 5, 2002 2:10 PM
To: Bryan Waters; Dev-List@Opensrs. Net
Subject: RE: 2.49

When the code promotion is complete, the code is sanitized, and the documentation is complete (this afternoon).
 
And an announcement will come out, of course :)
 

Charles Daminato
OpenSRS Product Manager
Tucows Inc. - [EMAIL PROTECTED]

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Bryan Waters
Sent: February 5, 2002 1:46 PM
To: Dev-List@Opensrs. Net
Subject: 2.49

When is 2.49 going to be posted?
 
-bryanw

Reply via email to