private function setup_fees_total()
{
$fees_total = (double) 0.0;
$payment_fees = isset($this->payment_meta['fees']) ? $this->payment_meta['fees'] : array();
if (!empty($payment_fees)) {
foreach ($payment_fees as $fee) {
$fees_total += (double) $fee['amount'];
}
}
return $fees_total;
}