May you help me please. I want to mark orders as paid in my own plugin payment but I got this error
You can't mark this order as paid
Description: An unhandled exception occurred during the execution of the current web request
This is a part of my code
if (_orderProcessingService.CanMarkOrderAsPaid(order))
{
order.PaymentStatus = PaymentStatus.Paid;
_orderService.UpdateOrder(order);
_orderProcessingService.MarkOrderAsPaid(order);
}
I used the same code with nop 3.60 and worked well.
Need your helps
Thanks