Thursday 13 July 2006 5:08:49 am
Hi, I'm using sandbox to test. I can "pay" in Sandbox, but the problem is with redirect to my site again. I know many of you have talked about this in forums, but i can't find a solution with that. It seems like checkout.php is waiting for a order to be activated, but a lot times, order is never activated, and i get a blank internet explorer or firefox page telling me that page cannot be shown. Isn't any other way to activate the order? I'm talking about this piece of code.
while( ( time() - $startTime ) < 25)
{
eZDebug::writeDebug( "next iteration", "checkout" );
$order =& eZOrder::fetch( $orderID );
if ( $order->attribute( 'is_temporary' ) == 0 )
{
break;
}
else
{
sleep ( 2 );
}
}
|