gofas

https://gofas.net/foruns/resposta/12210/

Dec 30th, 2019
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.77 KB | None | 0 0
  1. Requisição:
  2. Array
  3. (
  4. [invoice_id] => 202062
  5. [user_id] => 17
  6. )
  7.  
  8. Resposta:
  9. Array
  10. (
  11. [custom_discount_type] => 0 –
  12. [custom_discount_value] => 0 –
  13. [ggnb_verifyInstall] => Array
  14. (
  15. [sucess] => 1
  16. )
  17.  
  18. [charge_id_] => Array
  19. (
  20. [result] => 193578819
  21. [log_result] => Array
  22. (
  23. [ggnb_create_charge__] => <p class=”ok”>Nova transação gerada com sucesso – API Gerencianet.</p>
  24. [ggnb_create_charge_] => Array
  25. (
  26. [code] => 200
  27. [data] => Array
  28. (
  29. [charge_id] => 193578819
  30. [status] => new
  31. [total] => 2499
  32. [custom_id] => 202062
  33. [created_at] => 2019-12-30 18:21:29
  34. )
  35.  
  36. )
  37.  
  38. [ggnb_create_charge] => charge id: 193578819
  39. )
  40.  
  41. )
  42.  
  43. [pay_charge] => Array
  44. (
  45. [error] => <b><span class=”ggnberror”>Erro ao gerar o Boleto:<br/>Transação não processada por conter incoerência nos dados cadastrais.<br/>Contate o suporte informando o ID da fatura.
  46. [log_result] => Array
  47. (
  48. [chargePay____] => <p class=”erro”>Falha ao gerar o boleto – 1ª tentativa, – API Gerencianet.</p>
  49. [chargePay___] => Transação não processada por conter incoerência nos dados cadastrais.
  50. [chargePay__] => <br/>$params2 & $BODY2:<br/>
  51. [chargePay_] => Array
  52. (
  53. [id] => 193578819
  54. )
  55.  
  56. [chargePay_BODY2] => Array
  57. (
  58. [payment] => Array
  59. (
  60. [banking_billet] => Array
  61. (
  62. [expire_at] => 2019-12-30
  63. [customer] => Array
  64. (
  65. [name] => Caio Fontes
  66. [cpf] => 12345678900 (Alterei o cpf pois fica públic
  67. [phone_number] => 32988021282
  68. )
  69.  
  70. [message] =>
  71. [configurations] => Array
  72. (
  73. [fine] => 500
  74. [interest] => 100
  75. )
  76.  
  77. )
  78.  
  79. )
  80.  
  81. )
  82.  
  83. )
  84.  
  85. )
  86.  
  87. [sendEmailonError] => Array
  88. (
  89. [result] => Array
  90. (
  91. [result] => success
  92. )
  93.  
  94. )
  95.  
  96. [params_] => <p class=’ok’>Todas as configurações do módulo</p>
  97. [params] => Array
  98. (
  99. [companyname] => 2C Web Design
  100. [systemurl] => https://clientes.2cwebdesign.com.br/
  101. [langpaynow] => Pagar agora
  102. [billetonemail] => on
  103. [cancelbillet] => on
  104. [cancelbilletoncancelinvoice] => on
  105. [clientid] => censurado
  106. [clientidsandbox] => censurado
  107. [clientsecret] => censurado
  108. [clientsecretsandbox] => censurado
  109. [convertto] =>
  110. [custom_discount_type] => 0
  111. [custom_discount_value] => 0
  112. [debug] =>
  113. [descontooutaxa] => 1
  114. [diasantesvencadddesconto] => 0
  115. [diasparavencimento] => 2
  116. [emailonerror] => 2
  117. [exibedescontooutaxa] => on
  118. [extra_config_intro] =>
  119. [fee] =>
  120. [footer] =>
  121. [instruction1] => Após o vencimento cobrar multa de 5% do valor do mesmo.
  122. [instruction2] => Após o vencimento cobrar juros de 0.10% ao dia.
  123. [instruction3] =>
  124. [instruction4] =>
  125. [juros] => 0.10
  126. [linkbilletonemail] =>
  127. [log] => on
  128. [message] =>
  129. [minimunamount] => 20,00
  130. [multa] => 5
  131. [name] => Pagamento via Boleto
  132. [paybutton] =>
  133. [redirecttobillet] =>
  134. [sandbox] =>
  135. [separator_1] =>
  136. [separator_2] =>
  137. [separator_3] =>
  138. [separator_4] =>
  139. [separator_5] =>
  140. [separator_6] =>
  141. [showbarcode] => on
  142. [showduedate] => on
  143. [tipodescontooutaxa] => 1
  144. [type] => Invoices
  145. [valordescontooutaxa] =>
  146. [visible] => on
  147. [paymentmethod] => gofasgerencianetboleto
  148. [whmcsVersion] => 7.8.3-release.1
  149. [invoiceid] => 202062
  150. [invoicenum] => 202062
  151. [amount] => 24.99
  152. [description] => 2C Web Design – Fatura #202062
  153. [returnurl] => https://clientes.2cwebdesign.com.br/viewinvoice.php?id=202062
  154. [dueDate] => 2019-12-30 00:00:00
  155. [clientdetails] => Array
  156. (
  157. [userid] => 17
  158. [id] => 17
  159. [uuid] => 5f9db6ee-e40b-4f12-b72a-4722fd2734a0
  160. [firstname] => Caio
  161. [lastname] => Fontes
  162. [companyname] => 2C Web Design
  163. [email] => caiofontes25@gmail.com
  164. [address1] => Rua Pedro Freitas, 46
  165. [address2] => Ilha Gama Cerqueira
  166. [city] => Além Paraíba
  167. [fullstate] => MG
  168. [state] => MG
  169. [postcode] => 36660-000
  170. [countrycode] => BR
  171. [country] => BR
  172. [phonenumber] => 32988021282
  173. [tax_id] =>
  174. [password] => $2y$10$ArkHIdEsdIPv9XYcI00Z5.4dfZTJkRBGsDRru7GYAqIfjliYWKFIe
  175. [model] => WHMCS\User\Client Object
  176. (
  177. [table:protected] => tblclients
  178. [columnMap:protected] => Array
  179. (
  180. [passwordHash] => password
  181. [twoFactorAuthModule] => authmodule
  182. [twoFactorAuthData] => authdata
  183. [currencyId] => currency
  184. [defaultPaymentGateway] => defaultgateway
  185. [overrideLateFee] => latefeeoveride
  186. [overrideOverdueNotices] => overideduenotices
  187. [disableAutomaticCreditCardProcessing] => disableautocc
  188. [billingContactId] => billingcid
  189. [securityQuestionId] => securityqid
  190. [securityQuestionAnswer] => securityqans
  191. [creditCardType] => cardtype
  192. [creditCardLastFourDigits] => cardlastfour
  193. [creditCardExpiryDate] => expdate
  194. [storedBankNameCrypt] => bankname
  195. [storedBankTypeCrypt] => banktype
  196. [storedBankCodeCrypt] => bankcode
  197. [storedBankAccountCrypt] => bankacct
  198. [paymentGatewayToken] => gatewayid
  199. [lastLoginDate] => lastlogin
  200. [lastLoginIp] => ip
  201. [lastLoginHostname] => host
  202. [passwordResetKey] => pwresetkey
  203. [passwordResetKeyRequestDate] => pwresetexpiry
  204. [passwordResetKeyExpiryDate] => pwresetexpiry
  205. )
  206.  
  207. [timestamps] => 1
  208. [dates:protected] => Array
  209. (
  210. [0] => lastLoginDate
  211. [1] => passwordResetKeyRequestDate
  212. [2] => passwordResetKeyExpiryDate
  213. )
  214.  
  215. [booleans:protected] => Array
  216. (
  217. [0] => taxExempt
  218. [1] => overrideLateFee
  219. [2] => overrideOverdueNotices
  220. [3] => separateInvoices
  221. [4] => disableAutomaticCreditCardProcessing
  222. [5] => emailOptOut
  223. [6] => marketingEmailsOptIn
  224. [7] => overrideAutoClose
  225. [8] => emailVerified
  226. )
  227.  
  228. [unique] => Array
  229. (
  230. [0] => email
  231. )
  232.  
  233. [appends:protected] => Array
  234. (
  235. [0] => fullName
  236. [1] => countryName
  237. [2] => groupName
  238. )
  239.  
  240. [fillable:protected] => Array
  241. (
  242. [0] => lastlogin
  243. [1] => ip
  244. [2] => host
  245. [3] => pwresetkey
  246. [4] => pwresetexpiry
  247. )
  248.  
  249. [hidden:protected] => Array
  250. (
  251. [0] => password
  252. [1] => authdata
  253. [2] => securityqans
  254. [3] => cardnum
  255. [4] => startdate
  256. [5] => expdate
  257. [6] => issuenumber
  258. [7] => bankname
  259. [8] => banktype
  260. [9] => bankcode
  261. [10] => bankacct
  262. [11] => pwresetkey
  263. [12] => pwresetexpiry
  264. )
  265.  
  266. [guardedForUpdate] => Array
  267. (
  268. )
  269.  
  270. [strings:protected] => Array
  271. (
  272. )
  273.  
  274. [ints:protected] => Array
  275. (
  276. )
  277.  
  278. [semanticVersions:protected] => Array
  279. (
  280. )
  281.  
  282. [commaSeparated:protected] => Array
  283. (
  284. )
  285.  
  286. [characterSeparated:protected] => Array
  287. (
  288. )
  289.  
  290. [rules:protected] => Array
  291. (
  292. )
  293.  
  294. [errors:protected] =>
  295. [customValidationMessages:protected] => Array
  296. (
  297. )
  298.  
  299. [connection:protected] =>
  300. [primaryKey:protected] => id
  301. [perPage:protected] => 15
  302. [incrementing] => 1
  303. [attributes:protected] => Array
  304. (
  305. [id] => 17
  306. [uuid] => 5f9db6ee-e40b-4f12-b72a-4722fd2734a0
  307. [firstname] => Caio
  308. [lastname] => Fontes
  309. [companyname] => 2C Web Design
  310. [email] => caiofontes25@gmail.com
  311. [address1] => Rua Pedro Freitas, 46
  312. [address2] => Ilha Gama Cerqueira
  313. [city] => Além Paraíba
  314. [state] => MG
  315. [postcode] => 36660-000
  316. [country] => BR
  317. [phonenumber] => +55.32988021282
  318. [tax_id] =>
  319. [password] => $2y$10$ArkHIdEsdIPv9XYcI00Z5.4dfZTJkRBGsDRru7GYAqIfjliYWKFIe
  320. [authmodule] =>
  321. [authdata] =>
  322. [currency] => 1
  323. [defaultgateway] =>
  324. [credit] => 0.00
  325. [taxexempt] => 0
  326. [latefeeoveride] => 0
  327. [overideduenotices] => 0
  328. [separateinvoices] => 0
  329. [disableautocc] => 0
  330. [datecreated] => 2019-12-30
  331. [notes] =>
  332. [billingcid] => 0
  333. [securityqid] => 0
  334. [securityqans] => pHfBL7beuMJW0xEdIv+rAyAyAes=
  335. [groupid] => 0
  336. [cardtype] =>
  337. [cardlastfour] =>
  338. [cardnum] =>
  339. [startdate] =>
  340. [expdate] =>
  341. [issuenumber] =>
  342. [bankname] =>
  343. [banktype] =>
  344. [bankcode] =>
  345. [bankacct] =>
  346. [gatewayid] =>
  347. [lastlogin] => 2019-12-30 21:18:48
  348. [ip] => ip_fixo_por_isso_tirei
  349. [host] => ip_fixo_por_isso_tirei
  350. [status] => Active
  351. [language] =>
  352. [pwresetkey] =>
  353. [emailoptout] => 1
  354. [marketing_emails_opt_in] => 0
  355. [overrideautoclose] => 0
  356. [allow_sso] => 1
  357. [email_verified] => 0
  358. [created_at] => 0000-00-00 00:00:00
  359. [updated_at] => 2019-12-30 21:18:48
  360. [pwresetexpiry] => 0000-00-00 00:00:00
  361. )
  362.  
  363. [original:protected] => Array
  364. (
  365. [id] => 17
  366. [uuid] => 5f9db6ee-e40b-4f12-b72a-4722fd2734a0
  367. [firstname] => Caio
  368. [lastname] => Fontes
  369. [companyname] => 2C Web Design
  370. [email] => caiofontes25@gmail.com
  371. [address1] => Rua Pedro Freitas, 46
  372. [address2] => Ilha Gama Cerqueira
  373. [city] => Além Paraíba
  374. [state] => MG
  375. [postcode] => 36660-000
  376. [country] => BR
  377. [phonenumber] => +55.32988021282
  378. [tax_id] =>
  379. [password] => $2y$10$ArkHIdEsdIPv9XYcI00Z5.4dfZTJkRBGsDRru7GYAqIfjliYWKFIe
  380. [authmodule] =>
  381. [authdata] =>
  382. [currency] => 1
  383. [defaultgateway] =>
  384. [credit] => 0.00
  385. [taxexempt] => 0
  386. [latefeeoveride] => 0
  387. [overideduenotices] => 0
  388. [separateinvoices] => 0
  389. [disableautocc] => 0
  390. [datecreated] => 2019-12-30
  391. [notes] =>
  392. [billingcid] => 0
  393. [securityqid] => 0
  394. [securityqans] => pHfBL7beuMJW0xEdIv+rAyAyAes=
  395. [groupid] => 0
  396. [cardtype] =>
  397. [cardlastfour] =>
  398. [cardnum] =>
  399. [startdate] =>
  400. [expdate] =>
  401. [issuenumber] =>
  402. [bankname] =>
  403. [banktype] =>
  404. [bankcode] =>
  405. [bankacct] =>
  406. [gatewayid] =>
  407. [lastlogin] => 2019-12-30 21:18:48
  408. [ip] => ip_fixo_por_isso_tirei
  409. [host] => ip_fixo_por_isso_tirei
  410. [status] => Active
  411. [language] =>
  412. [pwresetkey] =>
  413. [emailoptout] => 1
  414. [marketing_emails_opt_in] => 0
  415. [overrideautoclose] => 0
  416. [allow_sso] => 1
  417. [email_verified] => 0
  418. [created_at] => 0000-00-00 00:00:00
  419. [updated_at] => 2019-12-30 21:18:48
  420. [pwresetexpiry] => 0000-00-00 00:00:00
  421. )
  422.  
  423. [relations:protected] => Array
  424. (
  425. )
  426.  
  427. [visible:protected] => Array
  428. (
  429. )
  430.  
  431. [guarded:protected] => Array
  432. (
  433. [0] => *
  434. )
  435.  
  436. [dateFormat:protected] =>
  437. [casts:protected] => Array
  438. (
  439. )
  440.  
  441. [touches:protected] => Array
  442. (
  443. )
  444.  
  445. [observables:protected] => Array
  446. (
  447. )
  448.  
  449. [with:protected] => Array
  450. (
  451. )
  452.  
  453. [morphClass:protected] =>
  454. [exists] => 1
  455. [wasRecentlyCreated] =>
  456. )
  457.  
  458. [fullname] => Caio Fontes
  459. [statecode] => MG
  460. [countryname] => Brazil
  461. [phonecc] => 55
  462. [phonenumberformatted] => +55.32988021282
  463. [telephoneNumber] => +55.32988021282
  464. [billingcid] => 0
  465. [notes] =>
  466. [twofaenabled] =>
  467. [currency] => 1
  468. [defaultgateway] =>
  469. [cctype] =>
  470. [cclastfour] =>
  471. [gatewayid] =>
  472. [securityqid] => 0
  473. [securityqans] =>
  474. [groupid] => 0
  475. [status] => Active
  476. [credit] => 0.00
  477. [taxexempt] =>
  478. [latefeeoveride] =>
  479. [overideduenotices] =>
  480. [separateinvoices] =>
  481. [disableautocc] =>
  482. [emailoptout] => 1
  483. [marketing_emails_opt_in] =>
  484. [overrideautoclose] =>
  485. [allowSingleSignOn] => 1
  486. [language] =>
  487. [isOptedInToMarketingEmails] =>
  488. [lastlogin] => Date: 30/12/2019 21:18<br>IP Address: ip_fixo_por_isso_tirei<br>Host: ip_fixo_por_isso_tirei
  489. [customfields1] => 12345678900 (Alterei o cpf pois fica público)
  490. [customfields] => Array
  491. (
  492. [0] => Array
  493. (
  494. [id] => 1
  495. [value] => 13161770765
  496. )
  497.  
  498. [1] => Array
  499. (
  500. [id] => 2
  501. [value] => 25/12/1993
  502. )
  503.  
  504. )
  505.  
  506. [customfields2] => 25/12/1993
  507. )
  508.  
  509. [gatewayid] =>
  510. [currency] => BRL
  511. [currencyId] => 1
  512. )
  513.  
  514. [GetInvoiceResults_] => <p class=’ok’>Resultado da consulta por informações da fatura (API interna – WHMCS).</p>
  515. [GetInvoiceResults] => Array
  516. (
  517. [result] => success
  518. [invoiceid] => 202062
  519. [invoicenum] =>
  520. [userid] => 17
  521. [date] => 2019-12-30
  522. [duedate] => 2019-12-30
  523. [datepaid] => 0000-00-00 00:00:00
  524. [lastcaptureattempt] => 0000-00-00 00:00:00
  525. [subtotal] => 24.99
  526. [credit] => 0.00
  527. [tax] => 0.00
  528. [tax2] => 0.00
  529. [total] => 24.99
  530. [balance] => 24.99
  531. [taxrate] => 0.00
  532. [taxrate2] => 0.00
  533. [status] => Unpaid
  534. [paymentmethod] => gofasgerencianetboleto
  535. [notes] =>
  536. [ccgateway] =>
  537. [items] => Array
  538. (
  539. [item] => Array
  540. (
  541. [0] => Array
  542. (
  543. [id] => 97
  544. [type] => Hosting
  545. [relid] => 19
  546. [description] => Hospedagem Premium – minhavida.com.br (30/12/2019 – 29/01/2020)
  547. [amount] => 24.99
  548. [taxed] => 0
  549. )
  550.  
  551. )
  552.  
  553. )
  554.  
  555. [transactions] =>
  556. )
  557.  
  558. [trans_id_] => <p class=’ok’>Transações registradas por esta fatura – API WHMCS.</p>
  559. [trans_id] => Nenhuma transação registrada.
  560. [configurations___] => <p class=’ok’>Configurações de juros e multa</p>
  561. [configurations__] => Array
  562. (
  563. [fine] => 500
  564. [interest] => 100
  565. )
  566.  
  567. [configurations_] => Multa de 5% equivale a fine = 500
  568. [configurations] => Juros de 0.10% equivale a interest = 100
  569. [disc_item__] => <p class=’ok’>Produtos/serviços da fatura – API WHMCS.</p>
  570. [disc_item_] => <p class=’ok’>Itens com valor negativo:</p>
  571. [disc_item] => Array
  572. (
  573. )
  574.  
  575. [item_] => <p class=’ok’>Itens da Fatura:</p>
  576. [item] => Array
  577. (
  578. [0] => Array
  579. (
  580. [name] => Hospedagem Premium – minhavida.com.br (30/12/2019 – 29/01/2020)
  581. [amount] => 1
  582. [value] => 2499
  583. )
  584.  
  585. )
  586.  
  587. [discount_item_] => <p class=’ok’>Soma dos itens com valor negativo:</p>
  588. [discount_item] => :
  589. [whmcs_discount] => :
  590. [discount_valid_until_] => <p class=’ok’>Desconto válido até:</p>
  591. [discount_valid_until] => 2019-12-30 | 0 dias antes do vencimento
  592. [calculate_______] => <p class=’ok’>Cálculos.</p>
  593. [calculate______] => Hoje: 30/12/2019
  594. [calculate_____] => Vencimento da fatura: 30/12/2019
  595. [calculate____] => Diferença entre datas: 0 dia(s)
  596. [calculate___] => Multa: 5% do total
  597. [calculate__] => Juros: 0.10% ao dia
  598. [calculate_] => Valor original 24.99
  599. [calculate] => Total: 24,99
  600. [customer__] => <p class=’ok’>Dados do cliente enviados à GN API</p>
  601. [customer_cpf] => cpf: 12345678900 (Alterei o cpf pois fica público)
  602. [customer_cnpj] => cnpj:
  603. [customer_] => customer:
  604. [customer] => Array
  605. (
  606. [name] => Caio Fontes
  607. [cpf] => 12345678900 (Alterei o cpf pois fica público)
  608. [phone_number] => 32988021282
  609. )
  610.  
  611. [juridical_data] =>
  612. )
Add Comment
Please, Sign In to add comment