title: "Suspected Fraud" status after compeleting the payment in magento?
body: <p>I have made my custom module in magento, in which I have set discount in dynamically.
  I am using following code for this.
  But when I have completed the payment procedure, the order status should be '<code>processing</code>' but instead of this order status become "<code>Suspected Fraud</code>".</p>
  
  <p>Please let me know what I have done wrong. Although discount added successfully in order information.</p>
  
  <pre><code>$order-&gt;setData('base_discount_amount', $discountAmt);
  
  $order-&gt;setData('base_discount_canceled', $discountAmt);
  
  $order-&gt;setData('base_discount_invoiced', $discountAmt);
  
  $order-&gt;setData('base_discount_refunded', $discountAmt);
  
  $order-&gt;setData('discount_description', 'Affliate Discount');
  
  $order-&gt;setData('discount_amount', $discountAmt);
  
  $order-&gt;setData('discount_canceled', $discountAmt);
  
  $order-&gt;setData('discount_invoiced', $discountAmt);
  
  $order-&gt;setData('discount_refunded', $discountAmt);
  </code></pre>