I resolve this as follows:
I sent a new transaction with a negative value of val
'v' => '1',
'tid' => $tid,
'cid' => $cid,
'ti' => $order,
't' => 'transaction',
'tr' => '-'.$order_total
Then send an event with a negative value
'v' => '1',
'tid' => $tid,
'cid' => $cid,
'ti' => $order,
't' => 'item',
'in' => $product['name'],
'ip' => '-'.$order_total,
'ic' => $products['sku'],
'iq' => -1
, google, , , script GET (https://www.google-analytics.com/collect?payload_data&) POST.