Skip to content

Commit

Permalink
🐛 fix: Correct variable names causing errors
Browse files Browse the repository at this point in the history
  • Loading branch information
gustavokre committed Sep 23, 2024
1 parent e424b44 commit 524026d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/pix/cobv/pixCreateDueCharge.php
Original file line number Diff line number Diff line change
Expand Up @@ -87,13 +87,13 @@

$responseBodyPix = (isset($options["responseHeaders"]) && $options["responseHeaders"]) ? $responsePix->body : $responsePix;

if ($rresponseBodyPix["txid"]) {
if ($responseBodyPix["txid"]) {
$params = [
"id" => $responseBodyPix["loc"]["id"]
];

try {
$responseQrcode->body = $api->pixGenerateQRCode($params);
$responseQrcode = $api->pixGenerateQRCode($params);

$responseBodyQrcode = (isset($options["responseHeaders"]) && $options["responseHeaders"]) ? $responseQrcode->body : $responseQrcode;

Expand Down

0 comments on commit 524026d

Please sign in to comment.