"Abandoned" Ubercart orders marked as "completed" in CiviCRM
If you want to map 'abandoned' to the 'canceled' status in CiviCRM (there is no "abandoned" status in CiviCRM) you could revise the above like so:

$map = array(
 "completed"        =&gt; 1,
 "payment_received" =&gt; 1,
 "pending"          =&gt; 2,
 "processing"       =&gt; 5,
 "canceled"         =&gt; 3,
 "abandoned"         =&gt; 3,
 "in_checkout"      =&gt; 5,
);


Then I'd recommend making a bug report/patch on the issue you filed at the project page so it gets into the module core if the maintainers agree.