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.
|