How to redirect the checkout complete page?
In this payment structure with local payment gateway, I have to pass product item lists, return url and cancel url to local payment gateway through drupal commerce’s Local Payment Module. If detail information of this payment is returned, in that page I redirect to the this link http://localhost/checkoutComplete/completeCheckout .

Checkout_complete.admin.inc

function checkout_complete_loadAllrecord()
{
    //current orderId
    $paraorder = variable_get("order", "");    
    $order = commerce_order_status_update($paraorder, 'checkout_complete');

    //assign order status to checkout_complete
    $order-&gt;status = "checkout_complete";


   //calling this method order status will be changed to "Checkout_complete", this method will fire commerce_checkout_rule()
   //In commerce_checkout_rule(), we can send email to client to notify checkout is complete.
    commerce_checkout_complete($order);

    //redirect to order completed page
    drupal_goto(commerce_checkout_order_uri($order));

}


Thanks