title: How to change order status when refund in magento?
body: <p>I am working on Magento 1.7 version. I placed a order and make payment using Paypal and refund the amount offline. Order status changed following:-</p>
  
  <ol>
  <li><strong>Pending Payment</strong> </li>
  <li><strong>Invoice #100000001 created</strong></li>
  <li><strong>Processing</strong> (IPN "Completed".Registered notification about captured amount of £1. Transaction ID: "0CT123456789874521". ) </li>
  <li><strong>Processing</strong> (Notified customer about invoice #100000001. )</li>
  <li><strong>Credit memo #100000001 created</strong></li>
  <li><strong>Processing</strong> (Refunded amount of £1 offline. )</li>
  <li><strong>Processing</strong> (IPN "Refunded". Note: Maximum amount available to refund is £0.00 )</li>
  <li><strong>Processing</strong> (Test order has been refunded.)</li>
  </ol>
  
  <p>Order Status is still showing processing but it should be completed.</p>