Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- A opção "debug" do módulo Gofas Gerencianet Boleto está ativa, por isso está vendo essas informações na tela.
- erro = vermelho
- sucesso = verde
- Saiba mais sobre como diagnosticar erros e coletar informações para suporte neste link
- Se precisar de ajuda ou surgir alguma dúvida, envie-nos sua questão no grupo de discussão do módulo.
- Resultado da consulta por informações da fatura (API interna - WHMCS).
- Array
- (
- [result] => success
- [invoiceid] => 315
- [invoicenum] =>
- [userid] => 21
- [date] => 2017-04-12
- [duedate] => 2017-04-13
- [datepaid] => 0000-00-00 00:00:00
- [lastcaptureattempt] => 0000-00-00 00:00:00
- [subtotal] => 6.95
- [credit] => 0.00
- [tax] => 0.00
- [tax2] => 0.00
- [total] => 6.95
- [balance] => 6.95
- [taxrate] => 0.00
- [taxrate2] => 0.00
- [status] => Unpaid
- [paymentmethod] => gofasgerencianetboleto
- [notes] =>
- [ccgateway] =>
- [items] => Array
- (
- [item] => Array
- (
- [0] => Array
- (
- [id] => 129
- [type] =>
- [relid] => 0
- [description] => Desconto
- [amount] => -1.99
- [taxed] => 0
- )
- [1] => Array
- (
- [id] => 130
- [type] =>
- [relid] => 0
- [description] => Hospedagem_XYZERTHU87
- [amount] => 8.94
- [taxed] => 0
- )
- )
- )
- [transactions] =>
- )
- Transações registradas por esta fatura - API WHMCS.
- Nenhuma transação registrada.
- Dados do cliente - API WHMCS.
- Array
- (
- [result] => success
- [userid] => 21
- [id] => 21
- [uuid] => 7cc4427c-9fcd-444f-863e-21c3eb038544
- [firstname] => Cristian Roberto
- [lastname] => da Luz
- [fullname] => Cristian Roberto da Luz
- [companyname] => Webmind Soluções Inteligentes
- [email] => cristian.luz@gmail.com
- [address1] => Rua Luiz Fagundes, 245 Apto 601
- [address2] => Praia Comprida
- [city] => Sao Jose
- [fullstate] => SC
- [state] => SC
- [postcode] => 88103500
- [countrycode] => BR
- [country] => BR
- [phonenumber] => 4884040898
- [password] => $2y$10$zXiW.HL8QzsiRkYj43uZp.q1BXq2AZekuWJaGGJBBKGy/nwRdno3.
- [statecode] => SC
- [countryname] => Brazil
- [phonecc] => 55
- [phonenumberformatted] => +55.4884040898
- [billingcid] => 0
- [notes] =>
- [twofaenabled] =>
- [currency] => 1
- [defaultgateway] =>
- [cctype] =>
- [cclastfour] =>
- [gatewayid] =>
- [securityqid] => 0
- [securityqans] =>
- [groupid] => 0
- [status] => Inactive
- [credit] => 0.00
- [taxexempt] =>
- [latefeeoveride] =>
- [overideduenotices] =>
- [separateinvoices] =>
- [disableautocc] =>
- [emailoptout] =>
- [overrideautoclose] =>
- [allowSingleSignOn] => 1
- [language] => portuguese-br
- [lastlogin] => Date: 04/04/2017 15:09
- IP Address: 177.138.24.25
- Host: 177-138-24-25.dsl.telesp.net.br
- [customfields1] => 039.307.789-63
- [customfields] => Array
- (
- [0] => Array
- (
- [id] => 1
- [value] => 039.307.789-63
- )
- [1] => Array
- (
- [id] => 2
- [value] => 2149A39320DD4C159A7ECF7F318A8868
- )
- [2] => Array
- (
- [id] => 3
- [value] => 31/07/1983
- )
- [3] => Array
- (
- [id] => 4
- [value] =>
- )
- )
- [customfields2] => 2149A39320DD4C159A7ECF7F318A8868
- [customfields3] => 31/07/1983
- [customfields4] =>
- [currency_code] => BRL
- )
- Produtos/serviços da fatura - API WHMCS.
- Itens com valor negativo:
- Array
- (
- [0] => 199
- )
- Soma dos itens com valor negativo:
- 199
- Cálculos.
- Hoje: 2017-04-12
- Vencimento: 2017-04-13
- Diferença entre datas: 1 dia(s)
- Multa:
- Juros:
- Valor original * 100: 894
- Total: 894
- Array
- (
- [0] => Array
- (
- [name] => Hospedagem_XYZERTHU87
- [amount] => 1
- [value] => 894
- )
- )
- Debug customer
- cpf: 03930778963
- cnpj:
- $customer: Array
- (
- [name] => Cristian Roberto da Luz
- [cpf] => 03930778963
- [phone_number] => 4884040898
- )
- $juridical_data:
- Nova transação gerada com sucesso - API Gerencianet.
- Array
- (
- [code] => 200
- [data] => Array
- (
- [charge_id] => 1576011
- [status] => new
- [total] => 894
- [custom_id] => 315
- [created_at] => 2017-04-12 12:38:25
- )
- )
- charge id: 1576011
- Boleto gerado com sucesso - API Gerencianet.
- Array
- (
- [code] => 200
- [data] => Array
- (
- [barcode] => 03399.32766 55400.006080 80697.801019 2 71280000000894
- [link] => https://visualizacao.gerencianet.com.br/emissao/127858_48_XISER8/A4XB-127858-60880697-NEMLEO6
- [expire_at] => 2017-04-13
- [charge_id] => 1576011
- [status] => waiting
- [total] => 894
- [payment] => banking_billet
- )
- )
- $params2 & $BODY2:
- Array
- (
- [id] => 1576011
- )
- Array
- (
- [payment] => Array
- (
- [banking_billet] => Array
- (
- [expire_at] => 2017-04-13
- [customer] => Array
- (
- [name] => Cristian Roberto da Luz
- [cpf] => 03930778963
- [phone_number] => 4884040898
- )
- [message] => Muito obrigado pela confiança!
- [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.
- )
- )
- )
- )
- Transação gravada com sucesso - API WHMCS.
- Array
- (
- [result] => success
- )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement