maybe you have to update details and execute `$payment->execute(new StatusRequest($payment->getDetails()));`

to get the right status.