Skip to content

Commit

Permalink
Permitindo inserção de logo no boleto segundo documentação vigente da…
Browse files Browse the repository at this point in the history
… Zoop
  • Loading branch information
clenisson authored and italodeveloper committed Jan 9, 2020
1 parent 1436051 commit 5deb5ed
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Resources/Payment/Ticket.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ private function prepareTicket(array $ticket, $userId)
return [
'amount' => ($ticket['amount'] * 100),
'currency' => 'BRL',
'logo' => array_key_exists('logo', $ticket) ? $ticket['logo'] : null,
'description' => $ticket['description'],
'payment_type' => 'boleto',
'payment_method' => [
Expand Down Expand Up @@ -133,4 +134,4 @@ public function generateTicket(array $ticket, $userId, $referenceId = null)
return $this->ResponseException($e);
}
}
}
}

0 comments on commit 5deb5ed

Please sign in to comment.