Skip to content

Instantly share code, notes, and snippets.

@mauriciogofas
Last active September 10, 2019 16:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mauriciogofas/b70a98d384f1c01d360adcb820124547 to your computer and use it in GitHub Desktop.
Save mauriciogofas/b70a98d384f1c01d360adcb820124547 to your computer and use it in GitHub Desktop.
Array
(
[Informações da instalação] => Array
(
[whmcs_url] => https://central.rastros.me/
[admin_path] => /admin/
[admin_url] => https://central.rastros.me/admin/
)
[invoice_due_date] => 2019-09-10
[customfields] => Array
(
[customfield] => stdClass Object
(
[fieldname] => Modelo do Aparelho
[id] => 7
)
[customfields] => Array
(
)
[cpf_customfield_value] => 33167706000100
[cnpj_customfield_value] => 33167706000100
)
[discount_valid_until situation] => 4
[discount_valid_until] => 2019-09-10
[billet_duedate__] => 2019-09-10
[Total Sem Desconto ou Taxa] =>
[discount_tax_message] =>
[gbf_verifyInstall] => Array
(
[sucess] => 1
)
[ERROR] => Valor mínimo por boleto é R$10.00 mas o valor da fatura é R$.
[Versão do módulo] => 1.0.3
[Todos os parâmetros do módulo] => Array
(
[companyname] => Company Name
[systemurl] => https://central.rastros.me/
[langpaynow] => Pagar agora
[billetonemail] => on
[convertto] =>
[customdiscountfield] => 1
[customdiscounttypefield] => 1
[daysfordiscount] => 0
[daysfordue] => 1
[debug] => on
[discountorfee] => 1
[emailonerror] => 0
[fine] => 2%
[footer] =>
[interest] => 1%
[linkbilletonemail] => on
[log] => on
[maxoverduedays] => 2
[minimunamount] => 10.00
[name] => Gofas – Boleto Fácil
[paybutton] =>
[redirecttobillet] =>
[sandbox] =>
[sandbox_token] => B36D4DCE54587B3DE2B5044BF9804CB61C5ED3A3E538BF9533A0B531C2C9AD67
[separator_1] =>
[separator_2] =>
[separator_4] =>
[separator_5] =>
[showbarcode] => on
[showdiscountortax] =>
[showduedate] => on
[showmaxoverduedate] => on
[tipeofdiscountorfee] => 1
[token] => 412D3A002B60235156E308158002180F57B5BC92A6B0FD098A57C0FEC4625536
[type] => Invoices
[valueofdiscountorfee] => 0
[visible] => on
[paymentmethod] => gofasboletofacil
[whmcsVersion] => 7.8.2-release.1
[invoiceid] => 33
[invoicenum] => 33
[amount] => 10.00
[description] => Company Name – Fatura #33
[returnurl] => https://central.rastros.me/viewinvoice.php?id=33
[dueDate] => 2019-09-10 00:00:00
[clientdetails] => Array
(
[userid] => 46
[id] => 46
[uuid] => c9b6d050-bc92-4d0e-9e45-055a80835450
[firstname] => Antônio José
[lastname] => Marquez
[companyname] => Rua Cândido Fontoura 575
[email] => xxxxxx@gmail.com
[address1] => Rua Cândido Fontoura
[address2] =>
[city] => São Paulo
[fullstate] => SP
[state] => SP
[postcode] => 05583-070
[countrycode] => BR
[country] => BR
[phonenumber] => xxxxxxxxxx
[tax_id] =>
[password] => $2y$10$sC/LGj6Va.gDD6.Wqz7wgOB5qnPR6WjufnIJ1QzGktGkd.hjwg3gW
[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] => 46
[uuid] => c9b6d050-bc92-4d0e-9e45-055a80835450
[firstname] => Antônio José
[lastname] => Marquez
[companyname] => Rua Cândido Fontoura 575
[email] => xxxxx@gmail.com
[address1] => Rua Cândido Fontoura
[address2] =>
[city] => São Paulo
[state] => SP
[postcode] => 05583-070
[country] => BR
[phonenumber] => +55.11 99991-9420
[tax_id] =>
[password] => $2y$10$sC/LGj6Va.gDD6.Wqz7wgOB5qnPR6WjufnIJ1QzGktGkd.hjwg3gW
[authmodule] =>
[authdata] =>
[currency] => 1
[defaultgateway] =>
[credit] => 0.00
[taxexempt] => 0
[latefeeoveride] => 0
[overideduenotices] => 0
[separateinvoices] => 0
[disableautocc] => 0
[datecreated] => 2019-09-04
[notes] =>
[billingcid] => 0
[securityqid] => 0
[securityqans] => 2AhY48WLKCac4PYh3e3xu3FjaOI=
[groupid] => 0
[cardtype] =>
[cardlastfour] =>
[cardnum] =>
[startdate] =>
[expdate] =>
[issuenumber] =>
[bankname] =>
[banktype] =>
[bankcode] =>
[bankacct] =>
[gatewayid] =>
[lastlogin] => 2019-09-04 14:43:39
[ip] => 2804:14c:2c:8765:20fa:ee8b:e591:e92
[host] => 2804:14c:2c:8765:20fa:ee8b:e591:e92
[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-09-04 14:43:39
[pwresetexpiry] => 0000-00-00 00:00:00
)
[original:protected] => Array
(
[id] => 46
[uuid] => c9b6d050-bc92-4d0e-9e45-055a80835450
[firstname] => Antônio José
[lastname] => Marquez
[companyname] => Rua Cândido Fontoura 575
[email] => xxxxxx@gmail.com
[address1] => Rua Cândido Fontoura
[address2] =>
[city] => São Paulo
[state] => SP
[postcode] => 05583-070
[country] => BR
[phonenumber] => +55.11 xxxxx-xxxx
[tax_id] =>
[password] => $2y$10$sC/LGj6Va.gDD6.Wqz7wgOB5qnPR6WjufnIJ1QzGktGkd.hjwg3gW
[authmodule] =>
[authdata] =>
[currency] => 1
[defaultgateway] =>
[credit] => 0.00
[taxexempt] => 0
[latefeeoveride] => 0
[overideduenotices] => 0
[separateinvoices] => 0
[disableautocc] => 0
[datecreated] => 2019-09-04
[notes] =>
[billingcid] => 0
[securityqid] => 0
[securityqans] => 2AhY48WLKCac4PYh3e3xu3FjaOI=
[groupid] => 0
[cardtype] =>
[cardlastfour] =>
[cardnum] =>
[startdate] =>
[expdate] =>
[issuenumber] =>
[bankname] =>
[banktype] =>
[bankcode] =>
[bankacct] =>
[gatewayid] =>
[lastlogin] => 2019-09-04 14:43:39
[ip] => 2804:14c:2c:8765:20fa:ee8b:e591:e92
[host] => 2804:14c:2c:8765:20fa:ee8b:e591:e92
[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-09-04 14:43:39
[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] => Antônio José Marquez
[statecode] => SP
[countryname] => Brazil
[phonecc] => 55
[phonenumberformatted] => +55.11999919420
[telephoneNumber] => +55.11999919420
[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: 04/09/2019 14:43<br>IP Address: 2804:14c:2c:8765:20fa:ee8b:e591:e92<br>Host: 2804:14c:2c:8765:20fa:ee8b:e591:e92
[customfields1] => 33167706000100
[customfields] => Array
(
[0] => Array
(
[id] => 1
[value] => 33167706000100
)
[1] => Array
(
[id] => 3
[value] =>
)
[2] => Array
(
[id] => 4
[value] =>
)
[3] => Array
(
[id] => 5
[value] =>
)
[4] => Array
(
[id] => 6
[value] =>
)
[5] => Array
(
[id] => 7
[value] => TK303
)
)
[customfields2] =>
[customfields3] =>
[customfields4] =>
[customfields5] =>
[customfields6] => TK303
)
[gatewayid] =>
[currency] => BRL
[currencyId] => 1
)
[GetInvoiceResults] => Array
(
[result] => success
[invoiceid] => 33
[invoicenum] =>
[userid] => 46
[date] => 2019-09-10
[duedate] => 2019-09-10
[datepaid] => 0000-00-00 00:00:00
[lastcaptureattempt] => 0000-00-00 00:00:00
[subtotal] => 10.00
[credit] => 0.00
[tax] => 0.00
[tax2] => 0.00
[total] => 10.00
[balance] => 10.00
[taxrate] => 0.00
[taxrate2] => 0.00
[status] => Unpaid
[paymentmethod] => gofasboletofacil
[notes] =>
[ccgateway] =>
[items] => Array
(
[item] => Array
(
[0] => Array
(
[id] => 4
[type] => AddFunds
[relid] => 0
[description] => Adicionar fundos
[amount] => 10.00
[taxed] => 0
)
)
)
[transactions] =>
)
[Transações da fatura] => Nenhuma transação registrada.
[Multa] => 2%% equivale a fine = 2%
[Juros] => 1%% equivale a interest = 1%
[Campos de Desconto Personalizado] => Array
(
[Tipo] => 33167706000100
[Valor] => 33167706000100
)
[Itens com valor negativo] => Array
(
)
[Itens da Fatura] =>
[Soma dos itens com valor negativo] => Array
(
[discount_item] =>
)
[Desconto do WHMCS] =>
[Cálculos] => Array
(
[Hoje] =>
[Vencimento] =>
[Diferença entre datas] => dia(s)
[Multa] =>
[Juros] =>
[Valor original ] =>
[Total] =>
)
[Dados do cliente enviados ao gateway] => Array
(
[cpf] =>
[cnpj] => 33167706000100
)
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment