Skip to content

Commit 5deb5ed

Browse files
clenissondevath0
authored andcommitted
Permitindo inserção de logo no boleto segundo documentação vigente da Zoop
1 parent 1436051 commit 5deb5ed

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/Resources/Payment/Ticket.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ private function prepareTicket(array $ticket, $userId)
3636
return [
3737
'amount' => ($ticket['amount'] * 100),
3838
'currency' => 'BRL',
39+
'logo' => array_key_exists('logo', $ticket) ? $ticket['logo'] : null,
3940
'description' => $ticket['description'],
4041
'payment_type' => 'boleto',
4142
'payment_method' => [
@@ -133,4 +134,4 @@ public function generateTicket(array $ticket, $userId, $referenceId = null)
133134
return $this->ResponseException($e);
134135
}
135136
}
136-
}
137+
}

0 commit comments

Comments
 (0)