Hey guys :)

I noticed most of the payment gateways provided tend to use "OrderManager.MarkOrderAsPaid(orderId);"

Which is fine!  But when an order comes back as declined, they tend to throw an exception with the message.

My payment provider (EPDQ) runs a script I am writing IN THE BACKGROUND to update the order status in the nopCommerce database...

How can I set an order as declined?

essentially what I want is this...

if (transactionStatus.Contains("Declined"))
{
       ***some code here to update the database field for this order number to 60***
}


Any help would be appreciated!