Hello,
Sorry about my English.
For some time now, mainly when I have partial refunds, the status of my order has been set to Cancelled.
I looked in the refund function of payment.php but I have
$order->setState(Mage_Sales_Model_Order::STATE_PROCESSING, true, $message);
so it can't be from that.
Then I looked at the Be2Bill refund function but this time I have a keepStateOrder so it's not that either.
I'll give you the picture of my problem. Does anyone know where this automatic cancellation can come from?

I have no
SETSTATE::CANCELED
in my Be2Bill module
Hopefully someone will know.
Have a good day
Sincerely