Skip to content

Commit

Permalink
Merge pull request #7 from gustavokre/main
Browse files Browse the repository at this point in the history
🐛 fix: Correct variable names causing errors
  • Loading branch information
guilherme-cota-efi authored Jan 31, 2025
2 parents 41f5347 + 524026d commit 0b8e3eb
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 0b8e3eb

Please sign in to comment.