Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Requisição:
- Array
- (
- [invoice_id] => 202062
- [user_id] => 17
- )
- Resposta:
- Array
- (
- [custom_discount_type] => 0 –
- [custom_discount_value] => 0 –
- [ggnb_verifyInstall] => Array
- (
- [sucess] => 1
- )
- [charge_id_] => Array
- (
- [result] => 193578819
- [log_result] => Array
- (
- [ggnb_create_charge__] => <p class=”ok”>Nova transação gerada com sucesso – API Gerencianet.</p>
- [ggnb_create_charge_] => Array
- (
- [code] => 200
- [data] => Array
- (
- [charge_id] => 193578819
- [status] => new
- [total] => 2499
- [custom_id] => 202062
- [created_at] => 2019-12-30 18:21:29
- )
- )
- [ggnb_create_charge] => charge id: 193578819
- )
- )
- [pay_charge] => Array
- (
- [error] => <b><span class=”ggnberror”>Erro ao gerar o Boleto:<br/>Transação não processada por conter incoerência nos dados cadastrais.<br/>Contate o suporte informando o ID da fatura.
- [log_result] => Array
- (
- [chargePay____] => <p class=”erro”>Falha ao gerar o boleto – 1ª tentativa, – API Gerencianet.</p>
- [chargePay___] => Transação não processada por conter incoerência nos dados cadastrais.
- [chargePay__] => <br/>$params2 & $BODY2:<br/>
- [chargePay_] => Array
- (
- [id] => 193578819
- )
- [chargePay_BODY2] => Array
- (
- [payment] => Array
- (
- [banking_billet] => Array
- (
- [expire_at] => 2019-12-30
- [customer] => Array
- (
- [name] => Caio Fontes
- [cpf] => 12345678900 (Alterei o cpf pois fica públic
- [phone_number] => 32988021282
- )
- [message] =>
- [configurations] => Array
- (
- [fine] => 500
- [interest] => 100
- )
- )
- )
- )
- )
- )
- [sendEmailonError] => Array
- (
- [result] => Array
- (
- [result] => success
- )
- )
- [params_] => <p class=’ok’>Todas as configurações do módulo</p>
- [params] => Array
- (
- [companyname] => 2C Web Design
- [systemurl] => https://clientes.2cwebdesign.com.br/
- [langpaynow] => Pagar agora
- [billetonemail] => on
- [cancelbillet] => on
- [cancelbilletoncancelinvoice] => on
- [clientid] => censurado
- [clientidsandbox] => censurado
- [clientsecret] => censurado
- [clientsecretsandbox] => censurado
- [convertto] =>
- [custom_discount_type] => 0
- [custom_discount_value] => 0
- [debug] =>
- [descontooutaxa] => 1
- [diasantesvencadddesconto] => 0
- [diasparavencimento] => 2
- [emailonerror] => 2
- [exibedescontooutaxa] => on
- [extra_config_intro] =>
- [fee] =>
- [footer] =>
- [instruction1] => Após o vencimento cobrar multa de 5% do valor do mesmo.
- [instruction2] => Após o vencimento cobrar juros de 0.10% ao dia.
- [instruction3] =>
- [instruction4] =>
- [juros] => 0.10
- [linkbilletonemail] =>
- [log] => on
- [message] =>
- [minimunamount] => 20,00
- [multa] => 5
- [name] => Pagamento via Boleto
- [paybutton] =>
- [redirecttobillet] =>
- [sandbox] =>
- [separator_1] =>
- [separator_2] =>
- [separator_3] =>
- [separator_4] =>
- [separator_5] =>
- [separator_6] =>
- [showbarcode] => on
- [showduedate] => on
- [tipodescontooutaxa] => 1
- [type] => Invoices
- [valordescontooutaxa] =>
- [visible] => on
- [paymentmethod] => gofasgerencianetboleto
- [whmcsVersion] => 7.8.3-release.1
- [invoiceid] => 202062
- [invoicenum] => 202062
- [amount] => 24.99
- [description] => 2C Web Design – Fatura #202062
- [returnurl] => https://clientes.2cwebdesign.com.br/viewinvoice.php?id=202062
- [dueDate] => 2019-12-30 00:00:00
- [clientdetails] => Array
- (
- [userid] => 17
- [id] => 17
- [uuid] => 5f9db6ee-e40b-4f12-b72a-4722fd2734a0
- [firstname] => Caio
- [lastname] => Fontes
- [companyname] => 2C Web Design
- [email] => caiofontes25@gmail.com
- [address1] => Rua Pedro Freitas, 46
- [address2] => Ilha Gama Cerqueira
- [city] => Além Paraíba
- [fullstate] => MG
- [state] => MG
- [postcode] => 36660-000
- [countrycode] => BR
- [country] => BR
- [phonenumber] => 32988021282
- [tax_id] =>
- [password] => $2y$10$ArkHIdEsdIPv9XYcI00Z5.4dfZTJkRBGsDRru7GYAqIfjliYWKFIe
- [model] => WHMCS\User\Client Object
- (
- [table:protected] => tblclients
- [columnMap:protected] => Array
- (
- [passwordHash] => password
- [twoFactorAuthModule] => authmodule
- [twoFactorAuthData] => authdata
- [currencyId] => currency
- [defaultPaymentGateway] => defaultgateway
- [overrideLateFee] => latefeeoveride
- [overrideOverdueNotices] => overideduenotices
- [disableAutomaticCreditCardProcessing] => disableautocc
- [billingContactId] => billingcid
- [securityQuestionId] => securityqid
- [securityQuestionAnswer] => securityqans
- [creditCardType] => cardtype
- [creditCardLastFourDigits] => cardlastfour
- [creditCardExpiryDate] => expdate
- [storedBankNameCrypt] => bankname
- [storedBankTypeCrypt] => banktype
- [storedBankCodeCrypt] => bankcode
- [storedBankAccountCrypt] => bankacct
- [paymentGatewayToken] => gatewayid
- [lastLoginDate] => lastlogin
- [lastLoginIp] => ip
- [lastLoginHostname] => host
- [passwordResetKey] => pwresetkey
- [passwordResetKeyRequestDate] => pwresetexpiry
- [passwordResetKeyExpiryDate] => pwresetexpiry
- )
- [timestamps] => 1
- [dates:protected] => Array
- (
- [0] => lastLoginDate
- [1] => passwordResetKeyRequestDate
- [2] => passwordResetKeyExpiryDate
- )
- [booleans:protected] => Array
- (
- [0] => taxExempt
- [1] => overrideLateFee
- [2] => overrideOverdueNotices
- [3] => separateInvoices
- [4] => disableAutomaticCreditCardProcessing
- [5] => emailOptOut
- [6] => marketingEmailsOptIn
- [7] => overrideAutoClose
- [8] => emailVerified
- )
- [unique] => Array
- (
- [0] => email
- )
- [appends:protected] => Array
- (
- [0] => fullName
- [1] => countryName
- [2] => groupName
- )
- [fillable:protected] => Array
- (
- [0] => lastlogin
- [1] => ip
- [2] => host
- [3] => pwresetkey
- [4] => pwresetexpiry
- )
- [hidden:protected] => Array
- (
- [0] => password
- [1] => authdata
- [2] => securityqans
- [3] => cardnum
- [4] => startdate
- [5] => expdate
- [6] => issuenumber
- [7] => bankname
- [8] => banktype
- [9] => bankcode
- [10] => bankacct
- [11] => pwresetkey
- [12] => pwresetexpiry
- )
- [guardedForUpdate] => Array
- (
- )
- [strings:protected] => Array
- (
- )
- [ints:protected] => Array
- (
- )
- [semanticVersions:protected] => Array
- (
- )
- [commaSeparated:protected] => Array
- (
- )
- [characterSeparated:protected] => Array
- (
- )
- [rules:protected] => Array
- (
- )
- [errors:protected] =>
- [customValidationMessages:protected] => Array
- (
- )
- [connection:protected] =>
- [primaryKey:protected] => id
- [perPage:protected] => 15
- [incrementing] => 1
- [attributes:protected] => Array
- (
- [id] => 17
- [uuid] => 5f9db6ee-e40b-4f12-b72a-4722fd2734a0
- [firstname] => Caio
- [lastname] => Fontes
- [companyname] => 2C Web Design
- [email] => caiofontes25@gmail.com
- [address1] => Rua Pedro Freitas, 46
- [address2] => Ilha Gama Cerqueira
- [city] => Além Paraíba
- [state] => MG
- [postcode] => 36660-000
- [country] => BR
- [phonenumber] => +55.32988021282
- [tax_id] =>
- [password] => $2y$10$ArkHIdEsdIPv9XYcI00Z5.4dfZTJkRBGsDRru7GYAqIfjliYWKFIe
- [authmodule] =>
- [authdata] =>
- [currency] => 1
- [defaultgateway] =>
- [credit] => 0.00
- [taxexempt] => 0
- [latefeeoveride] => 0
- [overideduenotices] => 0
- [separateinvoices] => 0
- [disableautocc] => 0
- [datecreated] => 2019-12-30
- [notes] =>
- [billingcid] => 0
- [securityqid] => 0
- [securityqans] => pHfBL7beuMJW0xEdIv+rAyAyAes=
- [groupid] => 0
- [cardtype] =>
- [cardlastfour] =>
- [cardnum] =>
- [startdate] =>
- [expdate] =>
- [issuenumber] =>
- [bankname] =>
- [banktype] =>
- [bankcode] =>
- [bankacct] =>
- [gatewayid] =>
- [lastlogin] => 2019-12-30 21:18:48
- [ip] => ip_fixo_por_isso_tirei
- [host] => ip_fixo_por_isso_tirei
- [status] => Active
- [language] =>
- [pwresetkey] =>
- [emailoptout] => 1
- [marketing_emails_opt_in] => 0
- [overrideautoclose] => 0
- [allow_sso] => 1
- [email_verified] => 0
- [created_at] => 0000-00-00 00:00:00
- [updated_at] => 2019-12-30 21:18:48
- [pwresetexpiry] => 0000-00-00 00:00:00
- )
- [original:protected] => Array
- (
- [id] => 17
- [uuid] => 5f9db6ee-e40b-4f12-b72a-4722fd2734a0
- [firstname] => Caio
- [lastname] => Fontes
- [companyname] => 2C Web Design
- [email] => caiofontes25@gmail.com
- [address1] => Rua Pedro Freitas, 46
- [address2] => Ilha Gama Cerqueira
- [city] => Além Paraíba
- [state] => MG
- [postcode] => 36660-000
- [country] => BR
- [phonenumber] => +55.32988021282
- [tax_id] =>
- [password] => $2y$10$ArkHIdEsdIPv9XYcI00Z5.4dfZTJkRBGsDRru7GYAqIfjliYWKFIe
- [authmodule] =>
- [authdata] =>
- [currency] => 1
- [defaultgateway] =>
- [credit] => 0.00
- [taxexempt] => 0
- [latefeeoveride] => 0
- [overideduenotices] => 0
- [separateinvoices] => 0
- [disableautocc] => 0
- [datecreated] => 2019-12-30
- [notes] =>
- [billingcid] => 0
- [securityqid] => 0
- [securityqans] => pHfBL7beuMJW0xEdIv+rAyAyAes=
- [groupid] => 0
- [cardtype] =>
- [cardlastfour] =>
- [cardnum] =>
- [startdate] =>
- [expdate] =>
- [issuenumber] =>
- [bankname] =>
- [banktype] =>
- [bankcode] =>
- [bankacct] =>
- [gatewayid] =>
- [lastlogin] => 2019-12-30 21:18:48
- [ip] => ip_fixo_por_isso_tirei
- [host] => ip_fixo_por_isso_tirei
- [status] => Active
- [language] =>
- [pwresetkey] =>
- [emailoptout] => 1
- [marketing_emails_opt_in] => 0
- [overrideautoclose] => 0
- [allow_sso] => 1
- [email_verified] => 0
- [created_at] => 0000-00-00 00:00:00
- [updated_at] => 2019-12-30 21:18:48
- [pwresetexpiry] => 0000-00-00 00:00:00
- )
- [relations:protected] => Array
- (
- )
- [visible:protected] => Array
- (
- )
- [guarded:protected] => Array
- (
- [0] => *
- )
- [dateFormat:protected] =>
- [casts:protected] => Array
- (
- )
- [touches:protected] => Array
- (
- )
- [observables:protected] => Array
- (
- )
- [with:protected] => Array
- (
- )
- [morphClass:protected] =>
- [exists] => 1
- [wasRecentlyCreated] =>
- )
- [fullname] => Caio Fontes
- [statecode] => MG
- [countryname] => Brazil
- [phonecc] => 55
- [phonenumberformatted] => +55.32988021282
- [telephoneNumber] => +55.32988021282
- [billingcid] => 0
- [notes] =>
- [twofaenabled] =>
- [currency] => 1
- [defaultgateway] =>
- [cctype] =>
- [cclastfour] =>
- [gatewayid] =>
- [securityqid] => 0
- [securityqans] =>
- [groupid] => 0
- [status] => Active
- [credit] => 0.00
- [taxexempt] =>
- [latefeeoveride] =>
- [overideduenotices] =>
- [separateinvoices] =>
- [disableautocc] =>
- [emailoptout] => 1
- [marketing_emails_opt_in] =>
- [overrideautoclose] =>
- [allowSingleSignOn] => 1
- [language] =>
- [isOptedInToMarketingEmails] =>
- [lastlogin] => Date: 30/12/2019 21:18<br>IP Address: ip_fixo_por_isso_tirei<br>Host: ip_fixo_por_isso_tirei
- [customfields1] => 12345678900 (Alterei o cpf pois fica público)
- [customfields] => Array
- (
- [0] => Array
- (
- [id] => 1
- [value] => 13161770765
- )
- [1] => Array
- (
- [id] => 2
- [value] => 25/12/1993
- )
- )
- [customfields2] => 25/12/1993
- )
- [gatewayid] =>
- [currency] => BRL
- [currencyId] => 1
- )
- [GetInvoiceResults_] => <p class=’ok’>Resultado da consulta por informações da fatura (API interna – WHMCS).</p>
- [GetInvoiceResults] => Array
- (
- [result] => success
- [invoiceid] => 202062
- [invoicenum] =>
- [userid] => 17
- [date] => 2019-12-30
- [duedate] => 2019-12-30
- [datepaid] => 0000-00-00 00:00:00
- [lastcaptureattempt] => 0000-00-00 00:00:00
- [subtotal] => 24.99
- [credit] => 0.00
- [tax] => 0.00
- [tax2] => 0.00
- [total] => 24.99
- [balance] => 24.99
- [taxrate] => 0.00
- [taxrate2] => 0.00
- [status] => Unpaid
- [paymentmethod] => gofasgerencianetboleto
- [notes] =>
- [ccgateway] =>
- [items] => Array
- (
- [item] => Array
- (
- [0] => Array
- (
- [id] => 97
- [type] => Hosting
- [relid] => 19
- [description] => Hospedagem Premium – minhavida.com.br (30/12/2019 – 29/01/2020)
- [amount] => 24.99
- [taxed] => 0
- )
- )
- )
- [transactions] =>
- )
- [trans_id_] => <p class=’ok’>Transações registradas por esta fatura – API WHMCS.</p>
- [trans_id] => Nenhuma transação registrada.
- [configurations___] => <p class=’ok’>Configurações de juros e multa</p>
- [configurations__] => Array
- (
- [fine] => 500
- [interest] => 100
- )
- [configurations_] => Multa de 5% equivale a fine = 500
- [configurations] => Juros de 0.10% equivale a interest = 100
- [disc_item__] => <p class=’ok’>Produtos/serviços da fatura – API WHMCS.</p>
- [disc_item_] => <p class=’ok’>Itens com valor negativo:</p>
- [disc_item] => Array
- (
- )
- [item_] => <p class=’ok’>Itens da Fatura:</p>
- [item] => Array
- (
- [0] => Array
- (
- [name] => Hospedagem Premium – minhavida.com.br (30/12/2019 – 29/01/2020)
- [amount] => 1
- [value] => 2499
- )
- )
- [discount_item_] => <p class=’ok’>Soma dos itens com valor negativo:</p>
- [discount_item] => :
- [whmcs_discount] => :
- [discount_valid_until_] => <p class=’ok’>Desconto válido até:</p>
- [discount_valid_until] => 2019-12-30 | 0 dias antes do vencimento
- [calculate_______] => <p class=’ok’>Cálculos.</p>
- [calculate______] => Hoje: 30/12/2019
- [calculate_____] => Vencimento da fatura: 30/12/2019
- [calculate____] => Diferença entre datas: 0 dia(s)
- [calculate___] => Multa: 5% do total
- [calculate__] => Juros: 0.10% ao dia
- [calculate_] => Valor original 24.99
- [calculate] => Total: 24,99
- [customer__] => <p class=’ok’>Dados do cliente enviados à GN API</p>
- [customer_cpf] => cpf: 12345678900 (Alterei o cpf pois fica público)
- [customer_cnpj] => cnpj:
- [customer_] => customer:
- [customer] => Array
- (
- [name] => Caio Fontes
- [cpf] => 12345678900 (Alterei o cpf pois fica público)
- [phone_number] => 32988021282
- )
- [juridical_data] =>
- )
Add Comment
Please, Sign In to add comment