Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Transações registradas por esta fatura - API WHMCS.
- Nenhuma transação registrada.
- $invoice_sub_total: 1500
- Consulta detalhes da fatura - WHMCS API.
- Array
- (
- [result] => success
- [invoiceid] => 30
- [invoicenum] =>
- [userid] => 7
- [date] => 2018-11-12
- [duedate] => 2018-11-26
- [datepaid] => 0000-00-00 00:00:00
- [lastcaptureattempt] => 0000-00-00 00:00:00
- [subtotal] => 15.00
- [credit] => 0.00
- [tax] => 0.00
- [tax2] => 0.00
- [total] => 15.00
- [balance] => 15.00
- [taxrate] => 0.00
- [taxrate2] => 0.00
- [status] => Unpaid
- [paymentmethod] => gofasgerencianetcartao
- [notes] =>
- [ccgateway] =>
- [items] => Array
- (
- [item] => Array
- (
- [0] => Array
- (
- [id] => 30
- [type] =>
- [relid] => 0
- [description] => Testando Pagamento GerenciaNet
- [amount] => 15.00
- [taxed] => 0
- )
- )
- )
- [transactions] =>
- )
- ID do serviço relacionado à fatura: 0
- Informações do cliente enviadas à GN API - WHMCS API
- Array
- (
- [name] => Vinicius de Santos
- [cpf] => 09621795745
- [phone_number] => 21969402841
- [birth] => 1982-05-20
- [email] => [email protected]
- )
- Itens calculáveis da Fatura
- Array
- (
- [0] => Array
- (
- [id] => 30
- [type] =>
- [relid] => 0
- [description] => Testando Pagamento GerenciaNet
- [amount] => 15.00
- [taxed] => 0
- )
- )
- Array
- (
- [0] => Array
- (
- [name] => Testando Pagamento GerenciaNet
- [amount] => 1
- [value] => 1500
- )
- )
- $discount:
- 1
- Transação de pagamento apenas uma vez gerada com sucesso - GN API.
- Array
- (
- [code] => 200
- [data] => Array
- (
- [charge_id] => 518749
- [status] => new
- [total] => 1500
- [custom_id] => 30
- [created_at] => 2018-11-12 11:44:36
- )
- )
- charge_id: 518749
- Transação gravada com sucesso - API WHMCS.
- ID da Transação: ggnc_sandbox_onetime_new-518749
- Array
- (
- [result] => success
- )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement