Skip to content

Instantly share code, notes, and snippets.

@mauriciogofas
Created January 30, 2021 01:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mauriciogofas/4c97542ff5cd3bb516ac1febe5aed7ee to your computer and use it in GitHub Desktop.
Save mauriciogofas/4c97542ff5cd3bb516ac1febe5aed7ee to your computer and use it in GitHub Desktop.
Debug do fórum Juno Boleto https://gofas.net/foruns/resposta/11542/edit/
```
Array
(
[POST] => Array
(
[paymentToken] => xxxxxxxxxxxxxxxxxxxxxxxxxxxx
[chargeReference] => 798
[chargeCode] => 00000000
)
[invoice] => Array
(
[result] => success
[invoiceid] => 798
[invoicenum] =>
[userid] => 35
[date] => 2019-01-05
[duedate] => 2019-01-10
[datepaid] => 0000-00-00 00:00:00
[lastcaptureattempt] => 0000-00-00 00:00:00
[subtotal] => 49.90
[credit] => 0.00
[tax] => 0.00
[tax2] => 0.00
[total] => 49.90
[balance] => 49.90
[taxrate] => 0.00
[taxrate2] => 0.00
[status] => Unpaid
[paymentmethod] => gofasboletofacil
[notes] =>
[ccgateway] =>
[items] => Array
(
[item] => Array
(
[0] => Array
(
[id] => 1002
[type] => Hosting
[relid] => 64
[description] => zzzzzzzzzzzzzzzzzzzzzzzzz
[amount] => 49.90
[taxed] => 0
)
)
)
[transactions] => Array
(
[transaction] => Array
(
[0] => Array
(
[id] => 1711
[userid] => 35
[currency] => 0
[gateway] => gofasboletofacil
[date] => 2019-01-05 00:00:03
[description] => Boleto gerado.
[amountin] => 0.00
[fees] => 0.00
[amountout] => 0.00
[rate] => 1.00000
[transid] => gbf_live-00000000
[invoiceid] => 798
[refundid] => 0
)
)
)
)
[postfields] => Array
(
[paymentToken] => xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
[responseType] => json
)
)
--------
Array
(
[error] =>
[callback] => Array
(
[data] => Array
(
[payment] => Array
(
[id] => 0000000
[amount] => 49.9
[charge] => Array
(
[amount] => 49.9
[code] => 0000000
[dueDate] => 10/01/2019
[reference] => 798
)
[creditCardId] =>
[date] => 10/01/2019
[fee] => 2.5
[status] => CONFIRMED
[type] => BOLETO
)
)
[success] => 1
)
[UpdateInvoice] =>
)
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment