diff --git a/src/utils/PaymentProcessor.php b/src/utils/PaymentProcessor.php index 143c7ca8..bc9e9206 100644 --- a/src/utils/PaymentProcessor.php +++ b/src/utils/PaymentProcessor.php @@ -1123,7 +1123,8 @@ protected function create_bill_meta_for_order($bill) $charges = end($bill['charges']); $bill_meta['bank_slip_url'] = $charges['print_url'] ?? ''; - if ($this->payment_method_code() === 'pix' && isset($charges['last_transaction']['gateway_response_fields'])) { + if ($this->payment_method_code() === 'pix' + && isset($charges['last_transaction']['gateway_response_fields'])) { $transaction = $charges['last_transaction']['gateway_response_fields']; $bill_meta['charge_id'] = $charges['id'];