Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Você está vendo essas informações na tela por quê a opção "debug" do módulo Gofas Gerencianet Boleto está ativa.
- Operações bem sucedidas possuem títulos verdes e erros são destacados em vermelho
- Saiba mais sobre como diagnosticar erros e coletar informações para suporte neste link
- Veja várias soluções para dificuldades comuns no fórum de suporte do módulo.
- Todas as configurações do módulo
- Array
- (
- [companyname] => WebSiteShop.com.br
- [systemurl] => https://support.websiteshop.com.br/areacliente/
- [langpaynow] => Pagar agora
- [admin] => thiago.lopes
- [cancelbillet] =>
- [clientid] => Client_Id_173f281865456ce19b81cbf40936ebc3bc87684e
- [clientidsandbox] => Client_Id_e227f6109314e5d0819141b889aaa6d1376ef061
- [clientsecret] => Client_Secret_4d2ebeec9cf48e9a57621a3371b9f060ce8cbbea
- [clientsecretsandbox] => Client_Secret_a25ce7489e10eafca896423f5cd8c5e1990b915e
- [convertto] =>
- [customfieldcnpj] =>
- [customfieldcpf] => 0
- [customfielddescontotipo] => 2
- [customfielddescontovalor] => 1
- [debugmode] => on
- [descontooutaxa] => 2
- [diasantesvencadddesconto] =>
- [diasparavencimento] =>
- [emailonerror] =>
- [exibedescontooutaxa] => on
- [fee] => 2.45
- [footer] =>
- [instruction1] => Após vencimento aceitar pagamento somente no banco emissor.
- [instruction2] => Não cobrar juros após o vencimento.
- [instruction3] => Não cobrar multa após o vencimento.
- [instruction4] => Aceitar apenas pagamento em dinheiro.
- [juros] =>
- [message] =>
- [minimunamount] =>
- [multa] =>
- [name] => Boleto
- [paybutton] =>
- [redirecttobillet] =>
- [requirecnpjandcpf] =>
- [separator_1] =>
- [separator_2] =>
- [separator_3] =>
- [separator_4] =>
- [separator_5] =>
- [separator_6] =>
- [showbarcode] =>
- [showduedate] =>
- [testmode] => on
- [tipodescontooutaxa] => 2
- [type] => Invoices
- [valordescontooutaxa] => 1,00
- [visible] => on
- [paymentmethod] => gofasgerencianetboleto
- [whmcsVersion] => 7.2.3-release.1
- [invoiceid] => 165
- [invoicenum] => 165
- [amount] => 9.99
- [description] => WebSiteShop.com.br - Fatura #165
- [returnurl] => https://support.websiteshop.com.br/areacliente//viewinvoice.php?id=165
- [dueDate] => 2018-06-04
- [clientdetails] => Array
- (
- [userid] => 18
- [id] => 18
- [uuid] => 1dde19b7-ff1c-460c-b8d3-e8d595c1ae98
- [firstname] => Carlos Eduardo
- [lastname] => Barbosa
- [fullname] => Carlos Eduardo Barbosa
- [companyname] => Ministério Apostólico Restaurando Cidades
- [email] => marcsuavida@gmail.com
- [address1] => Rua Jabuticaba (Antiga 19), 10
- [address2] => Araújo de Cosmos
- [city] => Rio de Janeiro
- [fullstate] => RJ
- [state] => RJ
- [postcode] => 23061-200
- [countrycode] => BR
- [country] => BR
- [phonenumber] => (21) 98686.1203
- [password] => $2y$10$2xvXl18/PWKT.BtwW7j4oeB4QpECMGNO5R0Azg85Vm0dywKIKnTiG
- [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
- )
- [timestamps] => 1
- [dates:protected] => Array
- (
- [0] => lastLoginDate
- [1] => passwordResetKeyRequestDate
- )
- [booleans:protected] => Array
- (
- [0] => taxExempt
- [1] => overrideLateFee
- [2] => overrideOverdueNotices
- [3] => separateInvoices
- [4] => disableAutomaticCreditCardProcessing
- [5] => emailOptOut
- [6] => overrideAutoClose
- [7] => emailVerified
- )
- [unique] => Array
- (
- [0] => email
- )
- [appends:protected] => Array
- (
- [0] => fullName
- [1] => countryName
- )
- [fillable:protected] => Array
- (
- [0] => lastlogin
- [1] => ip
- [2] => host
- [3] => pwresetkey
- [4] => pwresetexpiry
- )
- [guardedForUpdate] => Array
- (
- )
- [strings:protected] => Array
- (
- )
- [ints:protected] => Array
- (
- )
- [semanticVersions:protected] => Array
- (
- )
- [commaSeparated:protected] => Array
- (
- )
- [characterSeparated:protected] => Array
- (
- )
- [connection:protected] =>
- [primaryKey:protected] => id
- [perPage:protected] => 15
- [incrementing] => 1
- [attributes:protected] => Array
- (
- [id] => 18
- [uuid] => 1dde19b7-ff1c-460c-b8d3-e8d595c1ae98
- [firstname] => Carlos Eduardo
- [lastname] => Barbosa
- [companyname] => Ministério Apostólico Restaurando Cidades
- [email] => marcsuavida@gmail.com
- [address1] => Rua Jabuticaba (Antiga 19), 10
- [address2] => Araújo de Cosmos
- [city] => Rio de Janeiro
- [state] => RJ
- [postcode] => 23061-200
- [country] => BR
- [phonenumber] => (21) 98686.1203
- [password] => $2y$10$2xvXl18/PWKT.BtwW7j4oeB4QpECMGNO5R0Azg85Vm0dywKIKnTiG
- [authmodule] =>
- [authdata] =>
- [currency] => 1
- [defaultgateway] =>
- [credit] => 0.00
- [taxexempt] => 0
- [latefeeoveride] => 0
- [overideduenotices] => 0
- [separateinvoices] => 0
- [disableautocc] => 0
- [datecreated] => 2017-09-04
- [notes] =>
- [billingcid] => 0
- [securityqid] => 0
- [securityqans] => AdmeiJBDMB8ImYlAuRNNeIRn5t0=
- [groupid] => 0
- [cardtype] =>
- [cardlastfour] =>
- [cardnum] =>
- [startdate] =>
- [expdate] =>
- [issuenumber] =>
- [bankname] =>
- [banktype] =>
- [bankcode] =>
- [bankacct] =>
- [gatewayid] =>
- [lastlogin] => 2018-06-11 17:57:54
- [ip] => 186.229.28.58
- [host] => 186-229-28-58.ded.intelignet.com.br
- [status] => Active
- [language] =>
- [pwresetkey] =>
- [emailoptout] => 0
- [overrideautoclose] => 0
- [allow_sso] => 1
- [email_verified] => 0
- [created_at] => 0000-00-00 00:00:00
- [updated_at] => 2018-06-11 17:57:54
- [pwresetexpiry] => 0000-00-00 00:00:00
- )
- [original:protected] => Array
- (
- [id] => 18
- [uuid] => 1dde19b7-ff1c-460c-b8d3-e8d595c1ae98
- [firstname] => Carlos Eduardo
- [lastname] => Barbosa
- [companyname] => Ministério Apostólico Restaurando Cidades
- [email] => marcsuavida@gmail.com
- [address1] => Rua Jabuticaba (Antiga 19), 10
- [address2] => Araújo de Cosmos
- [city] => Rio de Janeiro
- [state] => RJ
- [postcode] => 23061-200
- [country] => BR
- [phonenumber] => (21) 98686.1203
- [password] => $2y$10$2xvXl18/PWKT.BtwW7j4oeB4QpECMGNO5R0Azg85Vm0dywKIKnTiG
- [authmodule] =>
- [authdata] =>
- [currency] => 1
- [defaultgateway] =>
- [credit] => 0.00
- [taxexempt] => 0
- [latefeeoveride] => 0
- [overideduenotices] => 0
- [separateinvoices] => 0
- [disableautocc] => 0
- [datecreated] => 2017-09-04
- [notes] =>
- [billingcid] => 0
- [securityqid] => 0
- [securityqans] => AdmeiJBDMB8ImYlAuRNNeIRn5t0=
- [groupid] => 0
- [cardtype] =>
- [cardlastfour] =>
- [cardnum] =>
- [startdate] =>
- [expdate] =>
- [issuenumber] =>
- [bankname] =>
- [banktype] =>
- [bankcode] =>
- [bankacct] =>
- [gatewayid] =>
- [lastlogin] => 2018-06-11 17:57:54
- [ip] => 186.229.28.58
- [host] => 186-229-28-58.ded.intelignet.com.br
- [status] => Active
- [language] =>
- [pwresetkey] =>
- [emailoptout] => 0
- [overrideautoclose] => 0
- [allow_sso] => 1
- [email_verified] => 0
- [created_at] => 0000-00-00 00:00:00
- [updated_at] => 2018-06-11 17:57:54
- [pwresetexpiry] => 0000-00-00 00:00:00
- )
- [relations:protected] => Array
- (
- )
- [hidden: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] =>
- )
- [statecode] => RJ
- [countryname] => Brazil
- [phonecc] => 55
- [phonenumberformatted] => +55.21986861203
- [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] =>
- [overrideautoclose] =>
- [allowSingleSignOn] => 1
- [language] =>
- [lastlogin] => Date: 11/06/2018 17:57<br>IP Address: 186.229.28.58<br>Host: 186-229-28-58.ded.intelignet.com.br
- [customfields1] => 05593467781
- [customfields] => Array
- (
- [0] => Array
- (
- [id] => 1
- [value] => 05593467781
- )
- [1] => Array
- (
- [id] => 28
- [value] =>
- )
- [2] => Array
- (
- [id] => 29
- [value] =>
- )
- [3] => Array
- (
- [id] => 30
- [value] =>
- )
- )
- [customfields2] =>
- [customfields3] =>
- [customfields4] =>
- )
- [currency] => BRL
- [currencyId] => 1
- )
- Resultado da consulta por informações da fatura (API interna - WHMCS).
- Array
- (
- [result] => success
- [invoiceid] => 165
- [invoicenum] =>
- [userid] => 18
- [date] => 2018-05-28
- [duedate] => 2018-06-04
- [datepaid] => 0000-00-00 00:00:00
- [lastcaptureattempt] => 0000-00-00 00:00:00
- [subtotal] => 39.90
- [credit] => 29.91
- [tax] => 0.00
- [tax2] => 0.00
- [total] => 9.99
- [balance] => 9.99
- [taxrate] => 0.00
- [taxrate2] => 0.00
- [status] => Unpaid
- [paymentmethod] => gofasgerencianetboleto
- [notes] =>
- [ccgateway] =>
- [items] => Array
- (
- [item] => Array
- (
- [0] => Array
- (
- [id] => 210
- [type] =>
- [relid] => 0
- [description] => Hospedagem Ultra - restaurandocidades.com.br (04/06/2018 - 03/07/2018)
- Escolha o modelo de site: template006
- [amount] => 39.90
- [taxed] => 0
- )
- )
- )
- [transactions] => Array
- (
- [transaction] => Array
- (
- [0] => Array
- (
- [id] => 153
- [userid] => 18
- [currency] => 0
- [gateway] => gofasgerencianetboleto
- [date] => 2018-06-11 23:16:01
- [description] => Boleto gerado aguardando pagamento.
- [amountin] => 0.00
- [fees] => 0.00
- [amountout] => 0.00
- [rate] => 1.00000
- [transid] => ggnb_live_waiting-35195552
- [invoiceid] => 165
- [refundid] => 0
- )
- )
- )
- )
- Transações registradas por esta fatura - API WHMCS.
- Nenhuma transação registrada.
- Produtos/serviços da fatura - API WHMCS.
- Itens com valor negativo:
- Array
- (
- )
- Itens da Fatura:
- Soma dos itens com valor negativo:
- $discount_item:
- $whmcs_discount: 2991
- Desconto válido até:
- 2018-06-04 | 0 dias antes do vencimento
- Cálculos.
- Hoje:
- Vencimento:
- Diferença entre datas: dia(s)
- Multa:
- Juros:
- Valor original * 100: 0
- Total:
- Dados do cliente - API WHMCS.
- stdClass Object
- (
- [id] => 18
- [uuid] => 1dde19b7-ff1c-460c-b8d3-e8d595c1ae98
- [firstname] => Carlos Eduardo
- [lastname] => Barbosa
- [companyname] => Ministério Apostólico Restaurando Cidades
- [email] => marcsuavida@gmail.com
- [address1] => Rua Jabuticaba (Antiga 19), 10
- [address2] => Araújo de Cosmos
- [city] => Rio de Janeiro
- [state] => RJ
- [postcode] => 23061-200
- [country] => BR
- [phonenumber] => (21) 98686.1203
- [password] => $2y$10$2xvXl18/PWKT.BtwW7j4oeB4QpECMGNO5R0Azg85Vm0dywKIKnTiG
- [authmodule] =>
- [authdata] =>
- [currency] => 1
- [defaultgateway] =>
- [credit] => 0.00
- [taxexempt] => 0
- [latefeeoveride] => 0
- [overideduenotices] => 0
- [separateinvoices] => 0
- [disableautocc] => 0
- [datecreated] => 2017-09-04
- [notes] =>
- [billingcid] => 0
- [securityqid] => 0
- [securityqans] => AdmeiJBDMB8ImYlAuRNNeIRn5t0=
- [groupid] => 0
- [cardtype] =>
- [cardlastfour] =>
- [cardnum] =>
- [startdate] =>
- [expdate] =>
- [issuenumber] =>
- [bankname] =>
- [banktype] =>
- [bankcode] =>
- [bankacct] =>
- [gatewayid] =>
- [lastlogin] => 2018-06-11 17:57:54
- [ip] => 186.229.28.58
- [host] => 186-229-28-58.ded.intelignet.com.br
- [status] => Active
- [language] =>
- [pwresetkey] =>
- [emailoptout] => 0
- [overrideautoclose] => 0
- [allow_sso] => 1
- [email_verified] => 0
- [created_at] => 0000-00-00 00:00:00
- [updated_at] => 2018-06-11 17:57:54
- [pwresetexpiry] => 0000-00-00 00:00:00
- )
- Dados do cliente enviados à GN API
- cpf: 05593467781
- cnpj:
- $customer: Array
- (
- [name] => Carlos Eduardo Barbosa
- [cpf] => 05593467781
- [phone_number] => 21986861203
- )
- $juridical_data:
- Nova transação gerada com sucesso - API Gerencianet.
- Array
- (
- [code] => 200
- [data] => Array
- (
- [charge_id] => 428347
- [status] => new
- [total] => 1099
- [custom_id] => 165
- [created_at] => 2018-06-12 11:29:52
- )
- )
- charge id: 428347
- Falha ao gerar o boleto - 1ª tentativa, - API Gerencianet.
- A propriedade [discount] informada é inválida.: discount
- $params2 & $BODY2:
- Array
- (
- [id] => 428347
- )
- Array
- (
- [payment] => Array
- (
- [banking_billet] => Array
- (
- [expire_at] => 2018-06-13
- [customer] => Array
- (
- [name] => Carlos Eduardo Barbosa
- [cpf] => 05593467781
- [phone_number] => 21986861203
- )
- [discount] => Array
- (
- [type] => currency
- [value] => 2991
- )
- [message] =>
- [instructions] => Array
- (
- [0] => Após vencimento aceitar pagamento somente no banco emissor.
- [1] => Não cobrar juros após o vencimento.
- [2] => Não cobrar multa após o vencimento.
- [3] => Aceitar apenas pagamento em dinheiro.
- )
- )
- )
- )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement