Guest User

GerenciatNet - Erro valor boleto

a guest
Nov 8th, 2018
300
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 19.82 KB | None | 0 0
  1. Você está vendo essas informações na tela por quê a opção "debug" do módulo Gofas Gerencianet Boleto está ativa.
  2. Operações bem sucedidas possuem títulos verdes e erros são destacados em vermelho
  3.  
  4. Saiba mais sobre como diagnosticar erros e coletar informações para suporte neste link
  5.  
  6. Veja várias soluções para dificuldades comuns no fórum de suporte do módulo.
  7.  
  8. Todas as configurações do módulo
  9.  
  10. Array
  11. (
  12. [companyname] => Brasil na Web
  13. [systemurl] => https://cliente.brasilnaweb.com.br/
  14. [langpaynow] => Pagar agora
  15. [admin] => devapibnw
  16. [cancelbillet] =>
  17. [convertto] =>
  18. [customfieldcnpj] =>
  19. [customfieldcpf] => 0
  20. [customfielddescontotipo] =>
  21. [customfielddescontovalor] =>
  22. [debugmode] => on
  23. [descontooutaxa] => 1
  24. [diasantesvencadddesconto] => 0
  25. [diasparavencimento] => 2
  26. [emailonerror] => 15
  27. [exibedescontooutaxa] =>
  28. [fee] => 3.15
  29. [footer] =>
  30. [instruction1] => Após vencimento aceitar pagamento somente no banco emissor.
  31. [instruction2] =>
  32. [instruction3] =>
  33. [instruction4] =>
  34. [juros] =>
  35. [message] =>
  36. [minimunamount] => 5
  37. [multa] =>
  38. [name] => Boleto
  39. [paybutton] =>
  40. [redirecttobillet] =>
  41. [requirecnpjandcpf] =>
  42. [separator_1] =>
  43. [separator_2] =>
  44. [separator_3] =>
  45. [separator_4] =>
  46. [separator_5] =>
  47. [separator_6] =>
  48. [showbarcode] => on
  49. [showduedate] => on
  50. [testmode] =>
  51. [tipodescontooutaxa] => 1
  52. [type] => Invoices
  53. [valordescontooutaxa] =>
  54. [visible] => on
  55. [paymentmethod] => gofasgerencianetboleto
  56. [whmcsVersion] => 7.5.2-release.1
  57. [invoiceid] => 30032909
  58. [invoicenum] => 30032909
  59. [amount] => 44.90
  60. [description] => Brasil na Web - Fatura #30032909
  61. [returnurl] => https://cliente.brasilnaweb.com.br/viewinvoice.php?id=30032909
  62. [dueDate] => 2018-11-07 00:00:00
  63. [clientdetails] => Array
  64. (
  65. [userid] => 395
  66. [id] => 395
  67. [uuid] => d8df8265-b576-4e1d-831e-fe187e1afe77
  68. [firstname] => Davi
  69. [address2] =>
  70. [city] => Belo Horizonte
  71. [fullstate] => MG
  72. [state] => MG
  73. [postcode] => 30260270
  74. [countrycode] => BR
  75. [country] => BR
  76. [model] => WHMCS\User\Client Object
  77. (
  78. [table:protected] => tblclients
  79. [columnMap:protected] => Array
  80. (
  81. [passwordHash] => password
  82. [twoFactorAuthModule] => authmodule
  83. [twoFactorAuthData] => authdata
  84. [currencyId] => currency
  85. [defaultPaymentGateway] => defaultgateway
  86. [overrideLateFee] => latefeeoveride
  87. [overrideOverdueNotices] => overideduenotices
  88. [disableAutomaticCreditCardProcessing] => disableautocc
  89. [billingContactId] => billingcid
  90. [securityQuestionId] => securityqid
  91. [securityQuestionAnswer] => securityqans
  92. [creditCardType] => cardtype
  93. [creditCardLastFourDigits] => cardlastfour
  94. [creditCardExpiryDate] => expdate
  95. [storedBankNameCrypt] => bankname
  96. [storedBankTypeCrypt] => banktype
  97. [storedBankCodeCrypt] => bankcode
  98. [storedBankAccountCrypt] => bankacct
  99. [paymentGatewayToken] => gatewayid
  100. [lastLoginDate] => lastlogin
  101. [lastLoginIp] => ip
  102. [lastLoginHostname] => host
  103. [passwordResetKey] => pwresetkey
  104. [passwordResetKeyRequestDate] => pwresetexpiry
  105. )
  106.  
  107. [timestamps] => 1
  108. [dates:protected] => Array
  109. (
  110. [0] => lastLoginDate
  111. [1] => passwordResetKeyRequestDate
  112. )
  113.  
  114. [booleans:protected] => Array
  115. (
  116. [0] => taxExempt
  117. [1] => overrideLateFee
  118. [2] => overrideOverdueNotices
  119. [3] => separateInvoices
  120. [4] => disableAutomaticCreditCardProcessing
  121. [5] => emailOptOut
  122. [6] => marketingEmailsOptIn
  123. [7] => overrideAutoClose
  124. [8] => emailVerified
  125. )
  126.  
  127. [unique] => Array
  128. (
  129. [0] => email
  130. )
  131.  
  132. [appends:protected] => Array
  133. (
  134. [0] => fullName
  135. [1] => countryName
  136. )
  137.  
  138. [fillable:protected] => Array
  139. (
  140. [0] => lastlogin
  141. [1] => ip
  142. [2] => host
  143. [3] => pwresetkey
  144. [4] => pwresetexpiry
  145. )
  146.  
  147. [hidden:protected] => Array
  148. (
  149. [0] => password
  150. [1] => authdata
  151. [2] => securityqans
  152. [3] => cardnum
  153. [4] => startdate
  154. [5] => expdate
  155. [6] => issuenumber
  156. [7] => bankname
  157. [8] => banktype
  158. [9] => bankcode
  159. [10] => bankacct
  160. [11] => pwresetkey
  161. [12] => pwresetexpiry
  162. )
  163.  
  164. [guardedForUpdate] => Array
  165. (
  166. )
  167.  
  168. [strings:protected] => Array
  169. (
  170. )
  171.  
  172. [ints:protected] => Array
  173. (
  174. )
  175.  
  176. [semanticVersions:protected] => Array
  177. (
  178. )
  179.  
  180. [commaSeparated:protected] => Array
  181. (
  182. )
  183.  
  184. [characterSeparated:protected] => Array
  185. (
  186. )
  187.  
  188. [connection:protected] =>
  189. [primaryKey:protected] => id
  190. [perPage:protected] => 15
  191. [incrementing] => 1
  192. [attributes:protected] => Array
  193. (
  194. [id] => 395
  195. [uuid] => d8df8265-b576-4e1d-831e-fe187e1afe77
  196. [firstname] => Davi
  197. [address2] =>
  198. [city] => Belo Horizonte
  199. [state] => MG
  200. [postcode] => 30260270
  201. [country] => BR
  202. [authmodule] =>
  203. [authdata] =>
  204. [currency] => 1
  205. [defaultgateway] =>
  206. [credit] => 0.00
  207. [taxexempt] => 0
  208. [latefeeoveride] => 0
  209. [overideduenotices] => 0
  210. [separateinvoices] => 0
  211. [disableautocc] => 0
  212. [datecreated] => 2013-05-15
  213. [notes] =>
  214. [billingcid] => 0
  215. [securityqid] => 0
  216. [securityqans] => 3ddqPGLyA6Xrb/8LWIfvR7pdhPI=
  217. [groupid] => 11
  218. [cardtype] =>
  219. [cardlastfour] =>
  220. [cardnum] =>
  221. [startdate] =>
  222. [expdate] =>
  223. [issuenumber] =>
  224. [bankname] =>
  225. [banktype] =>
  226. [bankcode] =>
  227. [bankacct] =>
  228. [gatewayid] =>
  229. [lastlogin] => 2018-11-08 14:28:29
  230. [ip] => 191.35.190.178
  231. [host] => 191.35.190.178.dynamic.adsl.gvt.net.br
  232. [status] => Active
  233. [language] =>
  234. [pwresetkey] =>
  235. [emailoptout] => 0
  236. [marketing_emails_opt_in] => 1
  237. [overrideautoclose] => 0
  238. [allow_sso] => 1
  239. [email_verified] => 0
  240. [created_at] => 0000-00-00 00:00:00
  241. [updated_at] => 2018-08-15 22:44:44
  242. [pwresetexpiry] => 0000-00-00 00:00:00
  243. )
  244.  
  245. [original:protected] => Array
  246. (
  247. [id] => 395
  248. [uuid] => d8df8265-b576-4e1d-831e-fe187e1afe77
  249. [firstname] => Davi
  250. [address2] =>
  251. [city] => Belo Horizonte
  252. [state] => MG
  253. [postcode] => 30260270
  254. [country] => BR
  255. [authmodule] =>
  256. [authdata] =>
  257. [currency] => 1
  258. [defaultgateway] =>
  259. [credit] => 0.00
  260. [taxexempt] => 0
  261. [latefeeoveride] => 0
  262. [overideduenotices] => 0
  263. [separateinvoices] => 0
  264. [disableautocc] => 0
  265. [datecreated] => 2013-05-15
  266. [notes] =>
  267. [billingcid] => 0
  268. [securityqid] => 0
  269. [securityqans] => 3ddqPGLyA6Xrb/8LWIfvR7pdhPI=
  270. [groupid] => 11
  271. [cardtype] =>
  272. [cardlastfour] =>
  273. [cardnum] =>
  274. [startdate] =>
  275. [expdate] =>
  276. [issuenumber] =>
  277. [bankname] =>
  278. [banktype] =>
  279. [bankcode] =>
  280. [bankacct] =>
  281. [gatewayid] =>
  282. [lastlogin] => 2018-11-08 14:28:29
  283. [ip] => 191.35.190.178
  284. [host] => 191.35.190.178.dynamic.adsl.gvt.net.br
  285. [status] => Active
  286. [language] =>
  287. [pwresetkey] =>
  288. [emailoptout] => 0
  289. [marketing_emails_opt_in] => 1
  290. [overrideautoclose] => 0
  291. [allow_sso] => 1
  292. [email_verified] => 0
  293. [created_at] => 0000-00-00 00:00:00
  294. [updated_at] => 2018-08-15 22:44:44
  295. [pwresetexpiry] => 0000-00-00 00:00:00
  296. )
  297.  
  298. [relations:protected] => Array
  299. (
  300. )
  301.  
  302. [visible:protected] => Array
  303. (
  304. )
  305.  
  306. [guarded:protected] => Array
  307. (
  308. [0] => *
  309. )
  310.  
  311. [dateFormat:protected] =>
  312. [casts:protected] => Array
  313. (
  314. )
  315.  
  316. [touches:protected] => Array
  317. (
  318. )
  319.  
  320. [observables:protected] => Array
  321. (
  322. )
  323.  
  324. [with:protected] => Array
  325. (
  326. )
  327.  
  328. [morphClass:protected] =>
  329. [exists] => 1
  330. [wasRecentlyCreated] =>
  331. )
  332.  
  333. [statecode] => MG
  334. [countryname] => Brazil
  335. [phonecc] => 55
  336. [billingcid] => 0
  337. [notes] =>
  338. [twofaenabled] =>
  339. [currency] => 1
  340. [defaultgateway] =>
  341. [cctype] =>
  342. [cclastfour] =>
  343. [gatewayid] =>
  344. [securityqid] => 0
  345. [securityqans] =>
  346. [groupid] => 11
  347. [status] => Active
  348. [credit] => 0.00
  349. [taxexempt] =>
  350. [latefeeoveride] =>
  351. [overideduenotices] =>
  352. [separateinvoices] =>
  353. [disableautocc] =>
  354. [emailoptout] =>
  355. [marketing_emails_opt_in] => 1
  356. [overrideautoclose] =>
  357. [allowSingleSignOn] => 1
  358. [language] =>
  359. [lastlogin] => Date: 08/11/2018 14:28<br>IP Address: 191.35.190.178<br>Host: 191.35.190.178.dynamic.adsl.gvt.net.br
  360. )
  361.  
  362. [currency] => BRL
  363. [currencyId] => 1
  364. )
  365.  
  366. Resultado da consulta por informações da fatura (API interna - WHMCS).
  367.  
  368. Array
  369. (
  370. [result] => success
  371. [invoiceid] => 30032909
  372. [invoicenum] =>
  373. [userid] => 395
  374. [date] => 2018-10-28
  375. [duedate] => 2018-11-07
  376. [datepaid] => 0000-00-00 00:00:00
  377. [lastcaptureattempt] => 0000-00-00 00:00:00
  378. [subtotal] => 44.90
  379. [credit] => 0.00
  380. [tax] => 0.00
  381. [tax2] => 0.00
  382. [total] => 44.90
  383. [balance] => 44.90
  384. [taxrate] => 0.00
  385. [taxrate2] => 0.00
  386. [status] => Unpaid
  387. [paymentmethod] => gofasgerencianetboleto
  388. [notes] =>
  389. [ccgateway] =>
  390. [items] => Array
  391. (
  392. [item] => Array
  393. (
  394. [0] => Array
  395. (
  396. [id] => 62706
  397. [type] => Hosting
  398. [relid] => 651
  399. [description] => Plano - 500 MB - admplus.com.br (07/11/2018 - 06/12/2018)
  400. [amount] => 19.90
  401. [taxed] => 0
  402. )
  403.  
  404. [1] => Array
  405. (
  406. [id] => 62707
  407. [type] => Hosting
  408. [relid] => 652
  409. [description] => Licença Painel BNW - admplus.com.br (07/11/2018 - 06/12/2018)
  410. [amount] => 25.00
  411. [taxed] => 0
  412. )
  413.  
  414. )
  415.  
  416. )
  417.  
  418. [transactions] => Array
  419. (
  420. [transaction] => Array
  421. (
  422. [0] => Array
  423. (
  424. [id] => 25375
  425. [userid] => 395
  426. [currency] => 0
  427. [gateway] => gofasgerencianetboleto
  428. [date] => 2018-11-07 19:01:27
  429. [description] => Boleto gerado aguardando pagamento.
  430. [amountin] => 0.00
  431. [fees] => 0.00
  432. [amountout] => 0.00
  433. [rate] => 1.00000
  434. [transid] => ggnb_live_waiting-94300664
  435. [invoiceid] => 30032909
  436. [refundid] => 0
  437. )
  438.  
  439. [1] => Array
  440. (
  441. [id] => 25419
  442. [userid] => 395
  443. [currency] => 0
  444. [gateway] => gofasgerencianetboleto
  445. [date] => 2018-11-08 07:37:28
  446. [description] => Boleto inadimplente
  447. [amountin] => 0.00
  448. [fees] => 0.00
  449. [amountout] => 0.00
  450. [rate] => 1.00000
  451. [transid] => ggnb_live_unpaid-94300664
  452. [invoiceid] => 30032909
  453. [refundid] => 0
  454. )
  455.  
  456. )
  457.  
  458. )
  459.  
  460. )
  461.  
  462. Transações registradas por esta fatura - API WHMCS.
  463.  
  464.  
  465. Transação existente: 94300664
  466. Produtos/serviços da fatura - API WHMCS.
  467.  
  468. Itens com valor negativo:
  469.  
  470. Array
  471. (
  472. )
  473. Itens da Fatura:
  474.  
  475. Array
  476. (
  477. [0] => Array
  478. (
  479. [name] => Plano - 500 MB - admplus.com.br (07/11/2018 - 06/12/2018)
  480. [amount] => 1
  481. [value] => 1989
  482. )
  483.  
  484. [1] => Array
  485. (
  486. [name] => Licença Painel BNW - admplus.com.br (07/11/2018 - 06/12/2018)
  487. [amount] => 1
  488. [value] => 2500
  489. )
  490.  
  491. )
  492.  
  493. Soma dos itens com valor negativo:
  494.  
  495. $discount_item:
  496. $whmcs_discount:
  497. Desconto válido até:
  498.  
  499. 2018-11-07 | 0 dias antes do vencimento
  500. Cálculos.
  501.  
  502. Hoje:
  503. Vencimento:
  504. Diferença entre datas: dia(s)
  505. Multa:
  506. Juros:
  507. Valor original * 100: 0
  508. Total:
  509. Dados do cliente - API WHMCS.
  510.  
  511. stdClass Object
  512. (
  513. [id] => 395
  514. [uuid] => d8df8265-b576-4e1d-831e-fe187e1afe77
  515. [firstname] => Davi
  516. [address2] =>
  517. [city] => Belo Horizonte
  518. [state] => MG
  519. [postcode] => 30260270
  520. [country] => BR
  521. [authmodule] =>
  522. [authdata] =>
  523. [currency] => 1
  524. [defaultgateway] =>
  525. [credit] => 0.00
  526. [taxexempt] => 0
  527. [latefeeoveride] => 0
  528. [overideduenotices] => 0
  529. [separateinvoices] => 0
  530. [disableautocc] => 0
  531. [datecreated] => 2013-05-15
  532. [notes] =>
  533. [billingcid] => 0
  534. [securityqid] => 0
  535. [securityqans] => 3ddqPGLyA6Xrb/8LWIfvR7pdhPI=
  536. [groupid] => 11
  537. [cardtype] =>
  538. [cardlastfour] =>
  539. [cardnum] =>
  540. [startdate] =>
  541. [expdate] =>
  542. [issuenumber] =>
  543. [bankname] =>
  544. [banktype] =>
  545. [bankcode] =>
  546. [bankacct] =>
  547. [gatewayid] =>
  548. [lastlogin] => 2018-11-08 14:28:29
  549. [ip] => 191.35.190.178
  550. [host] => 191.35.190.178.dynamic.adsl.gvt.net.br
  551. [status] => Active
  552. [language] =>
  553. [pwresetkey] =>
  554. [emailoptout] => 0
  555. [marketing_emails_opt_in] => 1
  556. [overrideautoclose] => 0
  557. [allow_sso] => 1
  558. [email_verified] => 0
  559. [created_at] => 0000-00-00 00:00:00
  560. [updated_at] => 2018-08-15 22:44:44
  561. [pwresetexpiry] => 0000-00-00 00:00:00
  562. )
  563.  
  564. Dados do cliente enviados à GN API
  565.  
  566. cpf:
  567. cnpj: 10974751000162
  568. $customer: Array
  569. (
  570. [phone_number] => 3135670218
  571. [juridical_person] => Array
  572. (
  573. [corporate_name] => Admplus Administradora de Condominios Ltda
  574. [cnpj] => 10974751000162
  575. )
  576.  
  577. )
  578.  
  579. $juridical_data:
  580. Array
  581. (
  582. [corporate_name] => Admplus Administradora de Condominios Ltda
  583. [cnpj] => 10974751000162
  584. )
Advertisement
Add Comment
Please, Sign In to add comment