Advertisement
Guest User

Untitled

a guest
Nov 12th, 2018
153
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.38 KB | None | 0 0
  1. Transações registradas por esta fatura - API WHMCS.
  2.  
  3. Nenhuma transação registrada.
  4. $invoice_sub_total: 1500
  5. Consulta detalhes da fatura - WHMCS API.
  6.  
  7. Array
  8. (
  9. [result] => success
  10. [invoiceid] => 30
  11. [invoicenum] =>
  12. [userid] => 7
  13. [date] => 2018-11-12
  14. [duedate] => 2018-11-26
  15. [datepaid] => 0000-00-00 00:00:00
  16. [lastcaptureattempt] => 0000-00-00 00:00:00
  17. [subtotal] => 15.00
  18. [credit] => 0.00
  19. [tax] => 0.00
  20. [tax2] => 0.00
  21. [total] => 15.00
  22. [balance] => 15.00
  23. [taxrate] => 0.00
  24. [taxrate2] => 0.00
  25. [status] => Unpaid
  26. [paymentmethod] => gofasgerencianetcartao
  27. [notes] =>
  28. [ccgateway] =>
  29. [items] => Array
  30. (
  31. [item] => Array
  32. (
  33. [0] => Array
  34. (
  35. [id] => 30
  36. [type] =>
  37. [relid] => 0
  38. [description] => Testando Pagamento GerenciaNet
  39. [amount] => 15.00
  40. [taxed] => 0
  41. )
  42.  
  43. )
  44.  
  45. )
  46.  
  47. [transactions] =>
  48. )
  49.  
  50. ID do serviço relacionado à fatura: 0
  51. Informações do cliente enviadas à GN API - WHMCS API
  52.  
  53. Array
  54. (
  55. [name] => Vinicius de Santos
  56. [cpf] => 09621795745
  57. [phone_number] => 21969402841
  58. [birth] => 1982-05-20
  59. [email] => [email protected]
  60. )
  61. Itens calculáveis da Fatura
  62.  
  63. Array
  64. (
  65. [0] => Array
  66. (
  67. [id] => 30
  68. [type] =>
  69. [relid] => 0
  70. [description] => Testando Pagamento GerenciaNet
  71. [amount] => 15.00
  72. [taxed] => 0
  73. )
  74.  
  75. )
  76.  
  77. Array
  78. (
  79. [0] => Array
  80. (
  81. [name] => Testando Pagamento GerenciaNet
  82. [amount] => 1
  83. [value] => 1500
  84. )
  85.  
  86. )
  87. $discount:
  88. 1
  89. Transação de pagamento apenas uma vez gerada com sucesso - GN API.
  90.  
  91. Array
  92. (
  93. [code] => 200
  94. [data] => Array
  95. (
  96. [charge_id] => 518749
  97. [status] => new
  98. [total] => 1500
  99. [custom_id] => 30
  100. [created_at] => 2018-11-12 11:44:36
  101. )
  102.  
  103. )
  104.  
  105. charge_id: 518749
  106. Transação gravada com sucesso - API WHMCS.
  107.  
  108. ID da Transação: ggnc_sandbox_onetime_new-518749
  109. Array
  110. (
  111. [result] => success
  112. )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement