Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Falha ao gerar o boleto - 1ª tentativa, - API Gerencianet.
- Falha inesperada
- $params2 & $BODY2:
- Array
- (
- [id] => 242323
- )
- Array
- (
- [payment] => Array
- (
- [banking_billet] => Array
- (
- [expire_at] => 2017-07-15
- [customer] => Array
- (
- [name] => Cassio Huber
- [cpf] => 18245959138
- [phone_number] => 7930226718
- )
- [message] => Obrigado pela preferência.
- [instructions] => Array
- (
- [0] => Sr. Caixa, por favor: Não aceitar pagamento após o vencimento.
- [1] =>
- [2] =>
- [3] =>
- )
- )
- )
- )
- \*************************************
- Todas as configurações do módulo
- Array
- (
- [companyname] => CM InfoTec - Soluções em TI
- [systemurl] => /
- [langpaynow] => Pagar agora
- [admin] => CassioAugusto
- [cancelbillet] => on
- [clientid] => Client_Id_ee1aa2338f2a2b58ed3e192362884da82de4f535
- [clientidsandbox] => Client_Id_4142787ad8f17550d5dce423beb749eef47253de
- [clientsecret] => Client_Secret_c79022a15246e1e1da11472b21e874a8ce170e95
- [clientsecretsandbox] => Client_Secret_236204d77468b9a2a5ee48e2b5533885dc1a97e0
- [convertto] =>
- [customfieldcnpj] => 0
- [customfieldcpf] => 0
- [customfielddescontotipo] =>
- [customfielddescontovalor] =>
- [debugmode] => on
- [descontooutaxa] => 1
- [diasantesvencadddesconto] => 0
- [diasparavencimento] => 3
- [emailonerror] =>
- [exibedescontooutaxa] => on
- [fee] => 1
- [footer] =>
- [instruction1] => Não aceitar aopós o vencimento!
- [instruction2] => Aceitar apenas pagamento em dinheiro.
- [instruction3] => Caso de duvida favor ligar para 79 9 9832 7151
- [instruction4] =>
- [juros] => 0.33%
- [message] => Obrigado pela preferência.
- [minimunamount] => 5
- [multa] => 1.3
- [name] => Gofas Gerencianet - Boleto
- [paybutton] => http://i.imgur.com/2Pw1wUF.png
- [redirecttobillet] =>
- [requirecnpjandcpf] =>
- [separator_1] =>
- [separator_2] =>
- [separator_3] =>
- [separator_4] =>
- [separator_5] =>
- [separator_6] =>
- [showbarcode] => on
- [showduedate] => on
- [testmode] => on
- [tipodescontooutaxa] => 1
- [type] => Invoices
- [valordescontooutaxa] =>
- [visible] => on
- [paymentmethod] => gofasgerencianetboleto
- [whmcsVersion] => 7.2.1-release.1
- [invoiceid] => 19
- [invoicenum] => 19
- [amount] => 360.00
- [description] => CM InfoTec - Soluções em TI - Fatura #19
- [returnurl] => .../viewinvoice.php?id=19
- [dueDate] => 2017-07-15
- [clientdetails] => Array
- (
- [userid] => 6
- [id] => 6
- [uuid] => 3c59329c-9d5d-4623-8c4a-f8c451770e8d
- [firstname] => Cassio
- [lastname] => Huber
- [fullname] => Cassio Huber
- [companyname] => Cássio Huber Blog
- [email] => cassio@cassiohuber.com.br
- [address1] => Rua Maria Victoria do Nascimento, 60
- [address2] => São Conrrado
- [city] => Aracaju
- [fullstate] => SE
- [state] => SE
- [postcode] => 49043280
- [countrycode] => BR
- [country] => BR
- [phonenumber] => 79 30226718
- [password] => $2y$10$PGkixawlJ9KwZRjsqZ.0k.QChv6T9/BUBRwwm2g/YUW4BamKDG3fu
- [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] => 6
- [uuid] => 3c59329c-9d5d-4623-8c4a-f8c451770e8d
- [firstname] => Cassio
- [lastname] => Huber
- [companyname] => Cássio Huber Blog
- [email] => cassio@cassiohuber.com.br
- [address1] => Rua Maria Victoria do Nascimento, 60
- [address2] => São Conrrado
- [city] => Aracaju
- [state] => SE
- [postcode] => 49043280
- [country] => BR
- [phonenumber] => 79 30226718
- [password] => $2y$10$PGkixawlJ9KwZRjsqZ.0k.QChv6T9/BUBRwwm2g/YUW4BamKDG3fu
- [authmodule] =>
- [authdata] =>
- [currency] => 1
- [defaultgateway] =>
- [credit] => 0.00
- [taxexempt] => 0
- [latefeeoveride] => 0
- [overideduenotices] => 0
- [separateinvoices] => 0
- [disableautocc] => 0
- [datecreated] => 2017-07-15
- [notes] =>
- [billingcid] => 0
- [securityqid] => 0
- [securityqans] => gsEZcbZZOATHnCfXDTsqTL4u0IE=
- [groupid] => 0
- [cardtype] =>
- [cardlastfour] =>
- [cardnum] =>
- [startdate] =>
- [expdate] =>
- [issuenumber] =>
- [bankname] =>
- [banktype] =>
- [bankcode] =>
- [bankacct] =>
- [gatewayid] =>
- [lastlogin] => 2017-07-15 20:59:02
- [ip] => 185.28.21.209
- [host] => 185.28.21.209
- [status] => Active
- [language] =>
- [pwresetkey] =>
- [emailoptout] => 0
- [overrideautoclose] => 0
- [allow_sso] => 1
- [email_verified] => 0
- [created_at] => 0000-00-00 00:00:00
- [updated_at] => 2017-07-15 20:59:02
- [pwresetexpiry] => 0000-00-00 00:00:00
- )
- [original:protected] => Array
- (
- [id] => 6
- [uuid] => 3c59329c-9d5d-4623-8c4a-f8c451770e8d
- [firstname] => Cassio
- [lastname] => Huber
- [companyname] => Cássio Huber Blog
- [email] => cassio@cassiohuber.com.br
- [address1] => Rua Maria Victoria do Nascimento, 60
- [address2] => São Conrrado
- [city] => Aracaju
- [state] => SE
- [postcode] => 49043280
- [country] => BR
- [phonenumber] => 79 30226718
- [password] => $2y$10$PGkixawlJ9KwZRjsqZ.0k.QChv6T9/BUBRwwm2g/YUW4BamKDG3fu
- [authmodule] =>
- [authdata] =>
- [currency] => 1
- [defaultgateway] =>
- [credit] => 0.00
- [taxexempt] => 0
- [latefeeoveride] => 0
- [overideduenotices] => 0
- [separateinvoices] => 0
- [disableautocc] => 0
- [datecreated] => 2017-07-15
- [notes] =>
- [billingcid] => 0
- [securityqid] => 0
- [securityqans] => gsEZcbZZOATHnCfXDTsqTL4u0IE=
- [groupid] => 0
- [cardtype] =>
- [cardlastfour] =>
- [cardnum] =>
- [startdate] =>
- [expdate] =>
- [issuenumber] =>
- [bankname] =>
- [banktype] =>
- [bankcode] =>
- [bankacct] =>
- [gatewayid] =>
- [lastlogin] => 2017-07-15 20:59:02
- [ip] => 185.28.21.209
- [host] => 185.28.21.209
- [status] => Active
- [language] =>
- [pwresetkey] =>
- [emailoptout] => 0
- [overrideautoclose] => 0
- [allow_sso] => 1
- [email_verified] => 0
- [created_at] => 0000-00-00 00:00:00
- [updated_at] => 2017-07-15 20:59:02
- [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] => SE
- [countryname] => Brazil
- [phonecc] => 55
- [phonenumberformatted] => +55.7930226718
- [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: 15/07/2017 20:59<br>IP Address: 185.28.21.209<br>Host: 185.28.21.209
- [customfields1] => 182.459.591-38
- [customfields] => Array
- (
- [0] => Array
- (
- [id] => 1
- [value] => 182.459.591-38
- )
- )
- )
- [currency] => BRL
- [currencyId] => 1
- )
- Resultado da consulta por informações da fatura (API interna - WHMCS).
- Array
- (
- [result] => success
- [invoiceid] => 19
- [invoicenum] =>
- [userid] => 6
- [date] => 2017-07-15
- [duedate] => 2017-07-15
- [datepaid] => 0000-00-00 00:00:00
- [lastcaptureattempt] => 0000-00-00 00:00:00
- [subtotal] => 360.00
- [credit] => 0.00
- [tax] => 0.00
- [tax2] => 0.00
- [total] => 360.00
- [balance] => 360.00
- [taxrate] => 0.00
- [taxrate2] => 0.00
- [status] => Unpaid
- [paymentmethod] => gofasgerencianetboleto
- [notes] =>
- [ccgateway] =>
- [items] => Array
- (
- [item] => Array
- (
- [0] => Array
- (
- [id] => 20
- [type] => Hosting
- [relid] => 14
- [description] => Hospedagem Média (15/07/2017 - 14/07/2018)
- [amount] => 360.00
- [taxed] => 0
- )
- )
- )
- [transactions] =>
- )
- Transações registradas por esta fatura - API WHMCS.
- Nenhuma transação registrada.
- Configurações de juros e multa
- Multa de 1.3% equivale a fine = 130
- Juros de 0.33%% equivale a interest = 330
- Produtos/serviços da fatura - API WHMCS.
- Itens com valor negativo:
- Array
- (
- )
- Itens da Fatura:
- Array
- (
- [0] => Array
- (
- [name] => Hospedagem Média (15/07/2017 - 14/07/2018)
- [amount] => 1
- [value] => 36000
- )
- )
- Soma dos itens com valor negativo:
- $discount_item:
- $whmcs_discount:
- Desconto válido até:
- 2017-07-15 | 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.
- Array
- (
- [result] => success
- [client] => Array
- (
- [userid] => 6
- [id] => 6
- [uuid] => 3c59329c-9d5d-4623-8c4a-f8c451770e8d
- [firstname] => Cassio
- [lastname] => Huber
- [fullname] => Cassio Huber
- [companyname] => Cássio Huber Blog
- [email] => cassio@cassiohuber.com.br
- [address1] => Rua Maria Victoria do Nascimento, 60
- [address2] => São Conrrado
- [city] => Aracaju
- [fullstate] => SE
- [state] => SE
- [postcode] => 49043280
- [countrycode] => BR
- [country] => BR
- [phonenumber] => 79 30226718
- [password] => $2y$10$PGkixawlJ9KwZRjsqZ.0k.QChv6T9/BUBRwwm2g/YUW4BamKDG3fu
- [statecode] => SE
- [countryname] => Brazil
- [phonecc] => 55
- [phonenumberformatted] => +55.7930226718
- [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: 15/07/2017 20:59
- IP Address: 185.28.21.209
- Host: 185.28.21.209
- [customfields1] => 182.459.591-38
- [customfields] => Array
- (
- [0] => Array
- (
- [id] => 1
- [value] => 182.459.591-38
- )
- )
- [currency_code] => BRL
- )
- [stats] => Array
- (
- [numdueinvoices] => 1
- [dueinvoicesbalance] => WHMCS\View\Formatter\Price Object
- (
- [price:protected] => 360
- [currency:protected] => Array
- (
- [id] => 1
- [code] => BRL
- [prefix] => R$
- [suffix] => Reais
- [format] => 3
- [rate] => 1.00000
- )
- [defaultFormat:protected] => {PREFIX}{PRICE}{SUFFIX}
- [defaultCurrencyDescriptor:protected] => Array
- (
- [format] => 1
- [prefix] =>
- [suffix] =>
- )
- )
- [income] => WHMCS\View\Formatter\Price Object
- (
- [price:protected] => 0
- [currency:protected] => Array
- (
- [id] => 1
- [code] => BRL
- [prefix] => R$
- [suffix] => Reais
- [format] => 3
- [rate] => 1.00000
- )
- [defaultFormat:protected] => {PREFIX}{PRICE}{SUFFIX}
- [defaultCurrencyDescriptor:protected] => Array
- (
- [format] => 1
- [prefix] =>
- [suffix] =>
- )
- )
- [incredit] =>
- [creditbalance] => WHMCS\View\Formatter\Price Object
- (
- [price:protected] => 0
- [currency:protected] => Array
- (
- [id] => 1
- [code] => BRL
- [prefix] => R$
- [suffix] => Reais
- [format] => 3
- [rate] => 1.00000
- )
- [defaultFormat:protected] => {PREFIX}{PRICE}{SUFFIX}
- [defaultCurrencyDescriptor:protected] => Array
- (
- [format] => 1
- [prefix] =>
- [suffix] =>
- )
- )
- [numoverdueinvoices] => 0
- [overdueinvoicesbalance] => WHMCS\View\Formatter\Price Object
- (
- [price:protected] => 0
- [currency:protected] => Array
- (
- [id] => 1
- [code] => BRL
- [prefix] => R$
- [suffix] => Reais
- [format] => 3
- [rate] => 1.00000
- )
- [defaultFormat:protected] => {PREFIX}{PRICE}{SUFFIX}
- [defaultCurrencyDescriptor:protected] => Array
- (
- [format] => 1
- [prefix] =>
- [suffix] =>
- )
- )
- [numDraftInvoices] => 0
- [draftInvoicesBalance] => WHMCS\View\Formatter\Price Object
- (
- [price:protected] => 0
- [currency:protected] => Array
- (
- [id] => 1
- [code] => BRL
- [prefix] => R$
- [suffix] => Reais
- [format] => 3
- [rate] => 1.00000
- )
- [defaultFormat:protected] => {PREFIX}{PRICE}{SUFFIX}
- [defaultCurrencyDescriptor:protected] => Array
- (
- [format] => 1
- [prefix] =>
- [suffix] =>
- )
- )
- [numpaidinvoices] => 0
- [paidinvoicesamount] => WHMCS\View\Formatter\Price Object
- (
- [price:protected] => 0
- [currency:protected] => Array
- (
- [id] => 1
- [code] => BRL
- [prefix] => R$
- [suffix] => Reais
- [format] => 3
- [rate] => 1.00000
- )
- [defaultFormat:protected] => {PREFIX}{PRICE}{SUFFIX}
- [defaultCurrencyDescriptor:protected] => Array
- (
- [format] => 1
- [prefix] =>
- [suffix] =>
- )
- )
- [numunpaidinvoices] => 1
- [unpaidinvoicesamount] => WHMCS\View\Formatter\Price Object
- (
- [price:protected] => 360
- [currency:protected] => Array
- (
- [id] => 1
- [code] => BRL
- [prefix] => R$
- [suffix] => Reais
- [format] => 3
- [rate] => 1.00000
- )
- [defaultFormat:protected] => {PREFIX}{PRICE}{SUFFIX}
- [defaultCurrencyDescriptor:protected] => Array
- (
- [format] => 1
- [prefix] =>
- [suffix] =>
- )
- )
- [numcancelledinvoices] => 1
- [cancelledinvoicesamount] => WHMCS\View\Formatter\Price Object
- (
- [price:protected] => 300
- [currency:protected] => Array
- (
- [id] => 1
- [code] => BRL
- [prefix] => R$
- [suffix] => Reais
- [format] => 3
- [rate] => 1.00000
- )
- [defaultFormat:protected] => {PREFIX}{PRICE}{SUFFIX}
- [defaultCurrencyDescriptor:protected] => Array
- (
- [format] => 1
- [prefix] =>
- [suffix] =>
- )
- )
- [numrefundedinvoices] => 0
- [refundedinvoicesamount] => WHMCS\View\Formatter\Price Object
- (
- [price:protected] => 0
- [currency:protected] => Array
- (
- [id] => 1
- [code] => BRL
- [prefix] => R$
- [suffix] => Reais
- [format] => 3
- [rate] => 1.00000
- )
- [defaultFormat:protected] => {PREFIX}{PRICE}{SUFFIX}
- [defaultCurrencyDescriptor:protected] => Array
- (
- [format] => 1
- [prefix] =>
- [suffix] =>
- )
- )
- [numcollectionsinvoices] => 0
- [collectionsinvoicesamount] => WHMCS\View\Formatter\Price Object
- (
- [price:protected] => 0
- [currency:protected] => Array
- (
- [id] => 1
- [code] => BRL
- [prefix] => R$
- [suffix] => Reais
- [format] => 3
- [rate] => 1.00000
- )
- [defaultFormat:protected] => {PREFIX}{PRICE}{SUFFIX}
- [defaultCurrencyDescriptor:protected] => Array
- (
- [format] => 1
- [prefix] =>
- [suffix] =>
- )
- )
- [numpaymentpendinginvoices] => 0
- [paymentpendinginvoicesamount] => WHMCS\View\Formatter\Price Object
- (
- [price:protected] => 0
- [currency:protected] => Array
- (
- [id] => 1
- [code] => BRL
- [prefix] => R$
- [suffix] => Reais
- [format] => 3
- [rate] => 1.00000
- )
- [defaultFormat:protected] => {PREFIX}{PRICE}{SUFFIX}
- [defaultCurrencyDescriptor:protected] => Array
- (
- [format] => 1
- [prefix] =>
- [suffix] =>
- )
- )
- [productsnumactivehosting] => 0
- [productsnumhosting] => 2
- [productsnumactivereseller] => 0
- [productsnumreseller] => 0
- [productsnumactiveservers] => 0
- [productsnumservers] => 0
- [productsnumactiveother] => 0
- [productsnumother] => 0
- [productsnumactive] => 0
- [productsnumtotal] => 2
- [numactivedomains] => 0
- [numdomains] => 0
- [numacceptedquotes] => 0
- [numquotes] => 0
- [numtickets] => 0
- [numactivetickets] => 0
- [numaffiliatesignups] => 0
- [isAffiliate] =>
- )
- )
- Dados do cliente enviados à GN API
- cpf: 18245959138
- cnpj:
- $customer: Array
- (
- [name] => Cassio Huber
- [cpf] => 18245959138
- [phone_number] => 7930226718
- )
- $juridical_data:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement