Advertisement
Guest User

Untitled

a guest
Apr 12th, 2017
663
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.60 KB | None | 0 0
  1. A opção "debug" do módulo Gofas Gerencianet Boleto está ativa, por isso está vendo essas informações na tela.
  2.  
  3. erro = vermelho
  4.  
  5. sucesso = verde
  6.  
  7. Saiba mais sobre como diagnosticar erros e coletar informações para suporte neste link
  8.  
  9. Se precisar de ajuda ou surgir alguma dúvida, envie-nos sua questão no grupo de discussão do módulo.
  10.  
  11. Resultado da consulta por informações da fatura (API interna - WHMCS).
  12.  
  13.  
  14. Array
  15. (
  16. [result] => success
  17. [invoiceid] => 315
  18. [invoicenum] =>
  19. [userid] => 21
  20. [date] => 2017-04-12
  21. [duedate] => 2017-04-13
  22. [datepaid] => 0000-00-00 00:00:00
  23. [lastcaptureattempt] => 0000-00-00 00:00:00
  24. [subtotal] => 6.95
  25. [credit] => 0.00
  26. [tax] => 0.00
  27. [tax2] => 0.00
  28. [total] => 6.95
  29. [balance] => 6.95
  30. [taxrate] => 0.00
  31. [taxrate2] => 0.00
  32. [status] => Unpaid
  33. [paymentmethod] => gofasgerencianetboleto
  34. [notes] =>
  35. [ccgateway] =>
  36. [items] => Array
  37. (
  38. [item] => Array
  39. (
  40. [0] => Array
  41. (
  42. [id] => 129
  43. [type] =>
  44. [relid] => 0
  45. [description] => Desconto
  46. [amount] => -1.99
  47. [taxed] => 0
  48. )
  49.  
  50. [1] => Array
  51. (
  52. [id] => 130
  53. [type] =>
  54. [relid] => 0
  55. [description] => Hospedagem_XYZERTHU87
  56. [amount] => 8.94
  57. [taxed] => 0
  58. )
  59.  
  60. )
  61.  
  62. )
  63.  
  64. [transactions] =>
  65. )
  66.  
  67. Transações registradas por esta fatura - API WHMCS.
  68.  
  69.  
  70. Nenhuma transação registrada.
  71. Dados do cliente - API WHMCS.
  72.  
  73.  
  74. Array
  75. (
  76. [result] => success
  77. [userid] => 21
  78. [id] => 21
  79. [uuid] => 7cc4427c-9fcd-444f-863e-21c3eb038544
  80. [firstname] => Cristian Roberto
  81. [lastname] => da Luz
  82. [fullname] => Cristian Roberto da Luz
  83. [companyname] => Webmind Soluções Inteligentes
  84. [email] => cristian.luz@gmail.com
  85. [address1] => Rua Luiz Fagundes, 245 Apto 601
  86. [address2] => Praia Comprida
  87. [city] => Sao Jose
  88. [fullstate] => SC
  89. [state] => SC
  90. [postcode] => 88103500
  91. [countrycode] => BR
  92. [country] => BR
  93. [phonenumber] => 4884040898
  94. [password] => $2y$10$zXiW.HL8QzsiRkYj43uZp.q1BXq2AZekuWJaGGJBBKGy/nwRdno3.
  95. [statecode] => SC
  96. [countryname] => Brazil
  97. [phonecc] => 55
  98. [phonenumberformatted] => +55.4884040898
  99. [billingcid] => 0
  100. [notes] =>
  101. [twofaenabled] =>
  102. [currency] => 1
  103. [defaultgateway] =>
  104. [cctype] =>
  105. [cclastfour] =>
  106. [gatewayid] =>
  107. [securityqid] => 0
  108. [securityqans] =>
  109. [groupid] => 0
  110. [status] => Inactive
  111. [credit] => 0.00
  112. [taxexempt] =>
  113. [latefeeoveride] =>
  114. [overideduenotices] =>
  115. [separateinvoices] =>
  116. [disableautocc] =>
  117. [emailoptout] =>
  118. [overrideautoclose] =>
  119. [allowSingleSignOn] => 1
  120. [language] => portuguese-br
  121. [lastlogin] => Date: 04/04/2017 15:09
  122. IP Address: 177.138.24.25
  123. Host: 177-138-24-25.dsl.telesp.net.br
  124. [customfields1] => 039.307.789-63
  125. [customfields] => Array
  126. (
  127. [0] => Array
  128. (
  129. [id] => 1
  130. [value] => 039.307.789-63
  131. )
  132.  
  133. [1] => Array
  134. (
  135. [id] => 2
  136. [value] => 2149A39320DD4C159A7ECF7F318A8868
  137. )
  138.  
  139. [2] => Array
  140. (
  141. [id] => 3
  142. [value] => 31/07/1983
  143. )
  144.  
  145. [3] => Array
  146. (
  147. [id] => 4
  148. [value] =>
  149. )
  150.  
  151. )
  152.  
  153. [customfields2] => 2149A39320DD4C159A7ECF7F318A8868
  154. [customfields3] => 31/07/1983
  155. [customfields4] =>
  156. [currency_code] => BRL
  157. )
  158.  
  159. Produtos/serviços da fatura - API WHMCS.
  160.  
  161. Itens com valor negativo:
  162.  
  163. Array
  164. (
  165. [0] => 199
  166. )
  167. Soma dos itens com valor negativo:
  168.  
  169. 199
  170. Cálculos.
  171.  
  172.  
  173. Hoje: 2017-04-12
  174. Vencimento: 2017-04-13
  175. Diferença entre datas: 1 dia(s)
  176. Multa:
  177. Juros:
  178. Valor original * 100: 894
  179. Total: 894
  180. Array
  181. (
  182. [0] => Array
  183. (
  184. [name] => Hospedagem_XYZERTHU87
  185. [amount] => 1
  186. [value] => 894
  187. )
  188.  
  189. )
  190.  
  191. Debug customer
  192.  
  193. cpf: 03930778963
  194. cnpj:
  195. $customer: Array
  196. (
  197. [name] => Cristian Roberto da Luz
  198. [cpf] => 03930778963
  199. [phone_number] => 4884040898
  200. )
  201.  
  202. $juridical_data:
  203. Nova transação gerada com sucesso - API Gerencianet.
  204.  
  205. Array
  206. (
  207. [code] => 200
  208. [data] => Array
  209. (
  210. [charge_id] => 1576011
  211. [status] => new
  212. [total] => 894
  213. [custom_id] => 315
  214. [created_at] => 2017-04-12 12:38:25
  215. )
  216.  
  217. )
  218. charge id: 1576011
  219. Boleto gerado com sucesso - API Gerencianet.
  220.  
  221. Array
  222. (
  223. [code] => 200
  224. [data] => Array
  225. (
  226. [barcode] => 03399.32766 55400.006080 80697.801019 2 71280000000894
  227. [link] => https://visualizacao.gerencianet.com.br/emissao/127858_48_XISER8/A4XB-127858-60880697-NEMLEO6
  228. [expire_at] => 2017-04-13
  229. [charge_id] => 1576011
  230. [status] => waiting
  231. [total] => 894
  232. [payment] => banking_billet
  233. )
  234.  
  235. )
  236.  
  237. $params2 & $BODY2:
  238. Array
  239. (
  240. [id] => 1576011
  241. )
  242.  
  243. Array
  244. (
  245. [payment] => Array
  246. (
  247. [banking_billet] => Array
  248. (
  249. [expire_at] => 2017-04-13
  250. [customer] => Array
  251. (
  252. [name] => Cristian Roberto da Luz
  253. [cpf] => 03930778963
  254. [phone_number] => 4884040898
  255. )
  256.  
  257. [message] => Muito obrigado pela confiança!
  258. [instructions] => Array
  259. (
  260. [0] => Após vencimento aceitar pagamento somente no banco emissor.
  261. [1] => Não cobrar juros após o vencimento.
  262. [2] => Não cobrar multa após o vencimento.
  263. [3] => Aceitar apenas pagamento em dinheiro.
  264. )
  265.  
  266. )
  267.  
  268. )
  269.  
  270. )
  271.  
  272. Transação gravada com sucesso - API WHMCS.
  273.  
  274. Array
  275. (
  276. [result] => success
  277. )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement