Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Módulo Gofas Gerencianet Cartão para WHMCS.
- Todas as configurações do Módulo:
- Array
- (
- [companyname] => Agência Clara
- [systemurl] => https://www.agenciaclara.com.br/suporte/
- [langpaynow] => Pagar agora
- [admin] => admin
- [clientid] => XXX
- [clientidsandbox] => XXX
- [clientsecret] => XXX
- [clientsecretsandbox] => XXX
- [convertto] =>
- [debugmode] => on
- [footer] =>
- [identifier] => XXX
- [installments] =>
- [minimunamount] =>
- [minimunamountinstallments] => 100
- [name] => Cartão de Crédito
- [paybuttonimage] =>
- [recurringdiscount] =>
- [sandboxmode] => on
- [separator_1] =>
- [type] => Invoices
- [visible] => on
- [paymentmethod] => gofasgerencianetcartao
- [whmcsVersion] => 7.10.2-release.1
- [invoiceid] => 454
- [invoicenum] => 454
- [amount] => 5.00
- [description] => Agência Clara - Fatura #454
- [returnurl] => https://www.agenciaclara.com.br/suporte/viewinvoice.php?id=454
- [dueDate] => 2020-09-13 00:00:00
- [cart] => WHMCS\Cart\Cart Object
- (
- [invoiceId] => 454
- [items] => Illuminate\Support\Collection Object
- (
- [items:protected] => Array
- (
- [0] => WHMCS\Cart\Item\Item Object
- (
- [id] => generic
- [name] => Generic Item
- [billingCycle] =>
- [billingPeriod] => 1
- [qty] => 1
- [amount] => WHMCS\View\Formatter\Price Object
- (
- [price:protected] => 5.00
- [currency:protected] => Array
- (
- [id] => 1
- [code] => BRL
- [prefix] => R$
- [suffix] => BRL
- [format] => 2
- [rate] => 1.00000
- )
- [defaultFormat:protected] => {PREFIX}{PRICE}{SUFFIX}
- [defaultCurrencyDescriptor:protected] => Array
- (
- [format] => 1
- [prefix] =>
- [suffix] =>
- )
- )
- [recurring] =>
- [taxed] =>
- [initialPeriod] => 0
- [initialCycle] =>
- )
- )
- )
- [total] => WHMCS\View\Formatter\Price Object
- (
- [price:protected] => 5
- [currency:protected] => Array
- (
- [id] => 1
- [code] => BRL
- [prefix] => R$
- [suffix] => BRL
- [format] => 2
- [rate] => 1.00000
- )
- [defaultFormat:protected] => {PREFIX}{PRICE}{SUFFIX}
- [defaultCurrencyDescriptor:protected] => Array
- (
- [format] => 1
- [prefix] =>
- [suffix] =>
- )
- )
- [taxCalculator] =>
- [client] => WHMCS\User\Client Object
- (
- [table:protected] => tblclients
- [columnMap:protected] => Array
- (
- [passwordHash] => password
- [twoFactorAuthModule] => authmodule
- [twoFactorAuthData] => authdata
- [currencyId] => currency
- [defaultPaymentGateway] => defaultgateway
- [overrideLateFee] => latefeeoveride
- [overrideOverdueNotices] => overideduenotices
- [disableAutomaticCreditCardProcessing] => disableautocc
- [billingContactId] => billingcid
- [securityQuestionId] => securityqid
- [securityQuestionAnswer] => securityqans
- [creditCardType] => cardtype
- [creditCardLastFourDigits] => cardlastfour
- [creditCardExpiryDate] => expdate
- [storedBankNameCrypt] => bankname
- [storedBankTypeCrypt] => banktype
- [storedBankCodeCrypt] => bankcode
- [storedBankAccountCrypt] => bankacct
- [paymentGatewayToken] => gatewayid
- [lastLoginDate] => lastlogin
- [lastLoginIp] => ip
- [lastLoginHostname] => host
- [passwordResetKey] => pwresetkey
- [passwordResetKeyRequestDate] => pwresetexpiry
- [passwordResetKeyExpiryDate] => pwresetexpiry
- )
- [timestamps] => 1
- [dates:protected] => Array
- (
- [0] => lastLoginDate
- [1] => passwordResetKeyRequestDate
- [2] => passwordResetKeyExpiryDate
- )
- [booleans:protected] => Array
- (
- [0] => taxExempt
- [1] => overrideLateFee
- [2] => overrideOverdueNotices
- [3] => separateInvoices
- [4] => disableAutomaticCreditCardProcessing
- [5] => emailOptOut
- [6] => marketingEmailsOptIn
- [7] => overrideAutoClose
- [8] => emailVerified
- )
- [casts:protected] => Array
- (
- [email_preferences] => array
- )
- [unique] => Array
- (
- [0] => email
- )
- [appends:protected] => Array
- (
- [0] => fullName
- [1] => countryName
- [2] => groupName
- )
- [fillable:protected] => Array
- (
- [0] => lastlogin
- [1] => ip
- [2] => host
- [3] => pwresetkey
- [4] => pwresetexpiry
- )
- [hidden:protected] => Array
- (
- [0] => password
- [1] => authdata
- [2] => securityqans
- [3] => cardnum
- [4] => startdate
- [5] => expdate
- [6] => issuenumber
- [7] => bankname
- [8] => banktype
- [9] => bankcode
- [10] => bankacct
- [11] => pwresetkey
- [12] => pwresetexpiry
- )
- [guardedForUpdate] => Array
- (
- )
- [strings:protected] => Array
- (
- )
- [ints:protected] => Array
- (
- )
- [semanticVersions:protected] => Array
- (
- )
- [commaSeparated:protected] => Array
- (
- )
- [characterSeparated:protected] => Array
- (
- )
- [rules:protected] => Array
- (
- )
- [errors:protected] =>
- [customValidationMessages:protected] => Array
- (
- )
- [connection:protected] =>
- [primaryKey:protected] => id
- [perPage:protected] => 15
- [incrementing] => 1
- [attributes:protected] => Array
- (
- [id] => 7
- [uuid] => f92daffd-3b95-4524-99b5-e6b77e576ca3
- [firstname] => Rafael
- [lastname] => Neves
- [companyname] =>
- [email] => rafael@agenciaclara.com.br
- [address1] => Rua Achiles Benfati, 196
- [address2] =>
- [city] => São José do Rio Preto
- [state] => SP
- [postcode] => 15055-200
- [country] => BR
- [phonenumber] => +55.17 99111-0412
- [tax_id] =>
- [password] => $2y$10$aJ4UK3Bl8WunPr2Fr48ax.A3jvvOwyVayT5bg.Wc0q2DTrQM4dj36
- [authmodule] =>
- [authdata] =>
- [currency] => 1
- [defaultgateway] =>
- [credit] => 0.00
- [taxexempt] => 0
- [latefeeoveride] => 0
- [overideduenotices] => 0
- [separateinvoices] => 0
- [disableautocc] => 0
- [datecreated] => 2018-02-10
- [notes] =>
- [billingcid] => 0
- [securityqid] => 0
- [securityqans] => BxbGjRKBKwwoBCqDPKcEUN1T/k0=
- [groupid] => 0
- [cardtype] =>
- [cardlastfour] =>
- [cardnum] =>
- [startdate] =>
- [expdate] =>
- [issuenumber] =>
- [bankname] =>
- [banktype] =>
- [bankcode] =>
- [bankacct] =>
- [gatewayid] =>
- [lastlogin] => 2020-09-08 16:38:41
- [ip] => 162.158.193.223
- [host] => 162.158.193.223
- [status] => Active
- [language] =>
- [pwresetkey] =>
- [emailoptout] => 0
- [marketing_emails_opt_in] => 0
- [overrideautoclose] => 0
- [allow_sso] => 1
- [email_verified] => 0
- [email_preferences] => {"general":"1","invoice":"1","support":"1","product":"1","domain":"1","affiliate":"1"}
- [created_at] => 0000-00-00 00:00:00
- [updated_at] => 2020-09-08 16:38:41
- [pwresetexpiry] => 0000-00-00 00:00:00
- )
- [original:protected] => Array
- (
- [id] => 7
- [uuid] => f92daffd-3b95-4524-99b5-e6b77e576ca3
- [firstname] => Rafael
- [lastname] => Neves
- [companyname] =>
- [email] => rafael@agenciaclara.com.br
- [address1] => Rua Achiles Benfati, 196
- [address2] =>
- [city] => São José do Rio Preto
- [state] => SP
- [postcode] => 15055-200
- [country] => BR
- [phonenumber] => +55.17 99111-0412
- [tax_id] =>
- [password] => $2y$10$aJ4UK3Bl8WunPr2Fr48ax.A3jvvOwyVayT5bg.Wc0q2DTrQM4dj36
- [authmodule] =>
- [authdata] =>
- [currency] => 1
- [defaultgateway] =>
- [credit] => 0.00
- [taxexempt] => 0
- [latefeeoveride] => 0
- [overideduenotices] => 0
- [separateinvoices] => 0
- [disableautocc] => 0
- [datecreated] => 2018-02-10
- [notes] =>
- [billingcid] => 0
- [securityqid] => 0
- [securityqans] => BxbGjRKBKwwoBCqDPKcEUN1T/k0=
- [groupid] => 0
- [cardtype] =>
- [cardlastfour] =>
- [cardnum] =>
- [startdate] =>
- [expdate] =>
- [issuenumber] =>
- [bankname] =>
- [banktype] =>
- [bankcode] =>
- [bankacct] =>
- [gatewayid] =>
- [lastlogin] => 2020-09-08 16:38:41
- [ip] => 162.158.193.223
- [host] => 162.158.193.223
- [status] => Active
- [language] =>
- [pwresetkey] =>
- [emailoptout] => 0
- [marketing_emails_opt_in] => 0
- [overrideautoclose] => 0
- [allow_sso] => 1
- [email_verified] => 0
- [email_preferences] => {"general":"1","invoice":"1","support":"1","product":"1","domain":"1","affiliate":"1"}
- [created_at] => 0000-00-00 00:00:00
- [updated_at] => 2020-09-08 16:38:41
- [pwresetexpiry] => 0000-00-00 00:00:00
- )
- [relations:protected] => Array
- (
- )
- [visible:protected] => Array
- (
- )
- [guarded:protected] => Array
- (
- [0] => *
- )
- [dateFormat:protected] =>
- [touches:protected] => Array
- (
- )
- [observables:protected] => Array
- (
- )
- [with:protected] => Array
- (
- )
- [morphClass:protected] =>
- [exists] => 1
- [wasRecentlyCreated] =>
- )
- )
- [clientdetails] => Array
- (
- [userid] => 7
- [id] => 7
- [uuid] => f92daffd-3b95-4524-99b5-e6b77e576ca3
- [firstname] => Rafael
- [lastname] => Neves
- [fullname] => Rafael Neves
- [companyname] =>
- [email] => rafael@agenciaclara.com.br
- [address1] => Rua Achiles Benfati, 196
- [address2] =>
- [city] => São José do Rio Preto
- [fullstate] => SP
- [state] => SP
- [postcode] => 15055-200
- [countrycode] => BR
- [country] => BR
- [phonenumber] => 17991110412
- [tax_id] =>
- [password] => $2y$10$aJ4UK3Bl8WunPr2Fr48ax.A3jvvOwyVayT5bg.Wc0q2DTrQM4dj36
- [email_preferences] => Array
- (
- [general] => 1
- [invoice] => 1
- [support] => 1
- [product] => 1
- [domain] => 1
- [affiliate] => 1
- )
- [model] => WHMCS\User\Client Object
- (
- [table:protected] => tblclients
- [columnMap:protected] => Array
- (
- [passwordHash] => password
- [twoFactorAuthModule] => authmodule
- [twoFactorAuthData] => authdata
- [currencyId] => currency
- [defaultPaymentGateway] => defaultgateway
- [overrideLateFee] => latefeeoveride
- [overrideOverdueNotices] => overideduenotices
- [disableAutomaticCreditCardProcessing] => disableautocc
- [billingContactId] => billingcid
- [securityQuestionId] => securityqid
- [securityQuestionAnswer] => securityqans
- [creditCardType] => cardtype
- [creditCardLastFourDigits] => cardlastfour
- [creditCardExpiryDate] => expdate
- [storedBankNameCrypt] => bankname
- [storedBankTypeCrypt] => banktype
- [storedBankCodeCrypt] => bankcode
- [storedBankAccountCrypt] => bankacct
- [paymentGatewayToken] => gatewayid
- [lastLoginDate] => lastlogin
- [lastLoginIp] => ip
- [lastLoginHostname] => host
- [passwordResetKey] => pwresetkey
- [passwordResetKeyRequestDate] => pwresetexpiry
- [passwordResetKeyExpiryDate] => pwresetexpiry
- )
- [timestamps] => 1
- [dates:protected] => Array
- (
- [0] => lastLoginDate
- [1] => passwordResetKeyRequestDate
- [2] => passwordResetKeyExpiryDate
- )
- [booleans:protected] => Array
- (
- [0] => taxExempt
- [1] => overrideLateFee
- [2] => overrideOverdueNotices
- [3] => separateInvoices
- [4] => disableAutomaticCreditCardProcessing
- [5] => emailOptOut
- [6] => marketingEmailsOptIn
- [7] => overrideAutoClose
- [8] => emailVerified
- )
- [casts:protected] => Array
- (
- [email_preferences] => array
- )
- [unique] => Array
- (
- [0] => email
- )
- [appends:protected] => Array
- (
- [0] => fullName
- [1] => countryName
- [2] => groupName
- )
- [fillable:protected] => Array
- (
- [0] => lastlogin
- [1] => ip
- [2] => host
- [3] => pwresetkey
- [4] => pwresetexpiry
- )
- [hidden:protected] => Array
- (
- [0] => password
- [1] => authdata
- [2] => securityqans
- [3] => cardnum
- [4] => startdate
- [5] => expdate
- [6] => issuenumber
- [7] => bankname
- [8] => banktype
- [9] => bankcode
- [10] => bankacct
- [11] => pwresetkey
- [12] => pwresetexpiry
- )
- [guardedForUpdate] => Array
- (
- )
- [strings:protected] => Array
- (
- )
- [ints:protected] => Array
- (
- )
- [semanticVersions:protected] => Array
- (
- )
- [commaSeparated:protected] => Array
- (
- )
- [characterSeparated:protected] => Array
- (
- )
- [rules:protected] => Array
- (
- )
- [errors:protected] =>
- [customValidationMessages:protected] => Array
- (
- )
- [connection:protected] =>
- [primaryKey:protected] => id
- [perPage:protected] => 15
- [incrementing] => 1
- [attributes:protected] => Array
- (
- [id] => 7
- [uuid] => f92daffd-3b95-4524-99b5-e6b77e576ca3
- [firstname] => Rafael
- [lastname] => Neves
- [companyname] =>
- [email] => rafael@agenciaclara.com.br
- [address1] => Rua Achiles Benfati, 196
- [address2] =>
- [city] => São José do Rio Preto
- [state] => SP
- [postcode] => 15055-200
- [country] => BR
- [phonenumber] => +55.17 99111-0412
- [tax_id] =>
- [password] => $2y$10$aJ4UK3Bl8WunPr2Fr48ax.A3jvvOwyVayT5bg.Wc0q2DTrQM4dj36
- [authmodule] =>
- [authdata] =>
- [currency] => 1
- [defaultgateway] =>
- [credit] => 0.00
- [taxexempt] => 0
- [latefeeoveride] => 0
- [overideduenotices] => 0
- [separateinvoices] => 0
- [disableautocc] => 0
- [datecreated] => 2018-02-10
- [notes] =>
- [billingcid] => 0
- [securityqid] => 0
- [securityqans] => BxbGjRKBKwwoBCqDPKcEUN1T/k0=
- [groupid] => 0
- [cardtype] =>
- [cardlastfour] =>
- [cardnum] =>
- [startdate] =>
- [expdate] =>
- [issuenumber] =>
- [bankname] =>
- [banktype] =>
- [bankcode] =>
- [bankacct] =>
- [gatewayid] =>
- [lastlogin] => 2020-09-08 16:38:41
- [ip] => 162.158.193.223
- [host] => 162.158.193.223
- [status] => Active
- [language] =>
- [pwresetkey] =>
- [emailoptout] => 0
- [marketing_emails_opt_in] => 0
- [overrideautoclose] => 0
- [allow_sso] => 1
- [email_verified] => 0
- [email_preferences] => {"general":"1","invoice":"1","support":"1","product":"1","domain":"1","affiliate":"1"}
- [created_at] => 0000-00-00 00:00:00
- [updated_at] => 2020-09-08 16:38:41
- [pwresetexpiry] => 0000-00-00 00:00:00
- )
- [original:protected] => Array
- (
- [id] => 7
- [uuid] => f92daffd-3b95-4524-99b5-e6b77e576ca3
- [firstname] => Rafael
- [lastname] => Neves
- [companyname] =>
- [email] => rafael@agenciaclara.com.br
- [address1] => Rua Achiles Benfati, 196
- [address2] =>
- [city] => São José do Rio Preto
- [state] => SP
- [postcode] => 15055-200
- [country] => BR
- [phonenumber] => +55.17 99111-0412
- [tax_id] =>
- [password] => $2y$10$aJ4UK3Bl8WunPr2Fr48ax.A3jvvOwyVayT5bg.Wc0q2DTrQM4dj36
- [authmodule] =>
- [authdata] =>
- [currency] => 1
- [defaultgateway] =>
- [credit] => 0.00
- [taxexempt] => 0
- [latefeeoveride] => 0
- [overideduenotices] => 0
- [separateinvoices] => 0
- [disableautocc] => 0
- [datecreated] => 2018-02-10
- [notes] =>
- [billingcid] => 0
- [securityqid] => 0
- [securityqans] => BxbGjRKBKwwoBCqDPKcEUN1T/k0=
- [groupid] => 0
- [cardtype] =>
- [cardlastfour] =>
- [cardnum] =>
- [startdate] =>
- [expdate] =>
- [issuenumber] =>
- [bankname] =>
- [banktype] =>
- [bankcode] =>
- [bankacct] =>
- [gatewayid] =>
- [lastlogin] => 2020-09-08 16:38:41
- [ip] => 162.158.193.223
- [host] => 162.158.193.223
- [status] => Active
- [language] =>
- [pwresetkey] =>
- [emailoptout] => 0
- [marketing_emails_opt_in] => 0
- [overrideautoclose] => 0
- [allow_sso] => 1
- [email_verified] => 0
- [email_preferences] => {"general":"1","invoice":"1","support":"1","product":"1","domain":"1","affiliate":"1"}
- [created_at] => 0000-00-00 00:00:00
- [updated_at] => 2020-09-08 16:38:41
- [pwresetexpiry] => 0000-00-00 00:00:00
- )
- [relations:protected] => Array
- (
- )
- [visible:protected] => Array
- (
- )
- [guarded:protected] => Array
- (
- [0] => *
- )
- [dateFormat:protected] =>
- [touches:protected] => Array
- (
- )
- [observables:protected] => Array
- (
- )
- [with:protected] => Array
- (
- )
- [morphClass:protected] =>
- [exists] => 1
- [wasRecentlyCreated] =>
- )
- [statecode] => SP
- [countryname] => Brazil
- [phonecc] => 55
- [phonenumberformatted] => +55.17991110412
- [telephoneNumber] => +55.17991110412
- [billingcid] => 0
- [notes] =>
- [twofaenabled] =>
- [currency] => 1
- [defaultgateway] =>
- [cctype] =>
- [cclastfour] =>
- [gatewayid] =>
- [securityqid] => 0
- [securityqans] =>
- [groupid] => 0
- [status] => Active
- [credit] => 0.00
- [taxexempt] =>
- [latefeeoveride] =>
- [overideduenotices] =>
- [separateinvoices] =>
- [disableautocc] =>
- [emailoptout] =>
- [marketing_emails_opt_in] =>
- [overrideautoclose] =>
- [allowSingleSignOn] => 1
- [email_verified] =>
- [language] =>
- [isOptedInToMarketingEmails] =>
- [lastlogin] => Date: 08/09/2020 16:38<br>IP Address: 162.158.193.223<br>Host: 162.158.193.223
- [customfields1] => 16/09/1986
- [customfields] => Array
- (
- [0] => Array
- (
- [id] => 2
- [value] => 16/09/1986
- )
- [1] => Array
- (
- [id] => 4
- [value] =>
- )
- [2] => Array
- (
- [id] => 1
- [value] => 35055754885
- )
- [3] => Array
- (
- [id] => 3
- [value] =>
- )
- )
- [customfields2] =>
- [customfields3] => 35055754885
- [customfields4] =>
- )
- [gatewayid] =>
- [currency] => BRL
- [currencyId] => 1
- )
- Campos Personalizados
- CPF: 35055754885
- CNPJ: 35055754885
- Nascimento: 16091986
- Transações registradas por esta fatura - API WHMCS.
- Transação existente: 1131891
- Array
- (
- [transaction] => Array
- (
- [0] => Array
- (
- [id] => 776
- [userid] => 7
- [currency] => 0
- [gateway] => gofasgerencianetboleto
- [date] => 2020-09-08 15:40:06
- [description] => Boleto gerado aguardando pagamento.
- [amountin] => 0.00
- [fees] => 0.00
- [amountout] => 0.00
- [rate] => 1.00000
- [transid] => ggnb_sandbox_waiting-1131835
- [invoiceid] => 454
- [refundid] => 0
- )
- [1] => Array
- (
- [id] => 778
- [userid] => 7
- [currency] => 0
- [gateway] => gofasgerencianetboleto
- [date] => 2020-09-08 16:30:29
- [description] => Boleto gerado aguardando pagamento.
- [amountin] => 0.00
- [fees] => 0.00
- [amountout] => 0.00
- [rate] => 1.00000
- [transid] => ggnb_live_waiting-247119111
- [invoiceid] => 454
- [refundid] => 0
- )
- [2] => Array
- (
- [id] => 779
- [userid] => 7
- [currency] => 0
- [gateway] => gofasgerencianetcartao
- [date] => 2020-09-08 16:43:09
- [description] => Transação com status new gerada, cliente acessou a fatura.
- [amountin] => 0.00
- [fees] => 0.00
- [amountout] => 0.00
- [rate] => 1.00000
- [transid] => ggnc_sandbox_onetime_new-1131891
- [invoiceid] => 454
- [refundid] => 0
- )
- )
- )
- $invoice_sub_total: 500
- Consulta detalhes da fatura - WHMCS API.
- Array
- (
- [result] => success
- [invoiceid] => 454
- [invoicenum] =>
- [userid] => 7
- [date] => 2020-09-08
- [duedate] => 2020-09-13
- [datepaid] => 0000-00-00 00:00:00
- [lastcaptureattempt] => 0000-00-00 00:00:00
- [subtotal] => 5.00
- [credit] => 0.00
- [tax] => 0.00
- [tax2] => 0.00
- [total] => 5.00
- [balance] => 5.00
- [taxrate] => 0.00
- [taxrate2] => 0.00
- [status] => Unpaid
- [paymentmethod] => gofasgerencianetcartao
- [notes] =>
- [ccgateway] =>
- [items] => Array
- (
- [item] => Array
- (
- [0] => Array
- (
- [id] => 509
- [type] =>
- [relid] => 0
- [description] => Hospedagem do Site
- [amount] => 5.00
- [taxed] => 0
- )
- )
- )
- [transactions] => Array
- (
- [transaction] => Array
- (
- [0] => Array
- (
- [id] => 776
- [userid] => 7
- [currency] => 0
- [gateway] => gofasgerencianetboleto
- [date] => 2020-09-08 15:40:06
- [description] => Boleto gerado aguardando pagamento.
- [amountin] => 0.00
- [fees] => 0.00
- [amountout] => 0.00
- [rate] => 1.00000
- [transid] => ggnb_sandbox_waiting-1131835
- [invoiceid] => 454
- [refundid] => 0
- )
- [1] => Array
- (
- [id] => 778
- [userid] => 7
- [currency] => 0
- [gateway] => gofasgerencianetboleto
- [date] => 2020-09-08 16:30:29
- [description] => Boleto gerado aguardando pagamento.
- [amountin] => 0.00
- [fees] => 0.00
- [amountout] => 0.00
- [rate] => 1.00000
- [transid] => ggnb_live_waiting-247119111
- [invoiceid] => 454
- [refundid] => 0
- )
- [2] => Array
- (
- [id] => 779
- [userid] => 7
- [currency] => 0
- [gateway] => gofasgerencianetcartao
- [date] => 2020-09-08 16:43:09
- [description] => Transação com status new gerada, cliente acessou a fatura.
- [amountin] => 0.00
- [fees] => 0.00
- [amountout] => 0.00
- [rate] => 1.00000
- [transid] => ggnc_sandbox_onetime_new-1131891
- [invoiceid] => 454
- [refundid] => 0
- )
- )
- )
- )
- ID do serviço relacionado à fatura: 0
- Informações do cliente enviadas à GN API - WHMCS API
- Array
- (
- [name] => Rafael Neves
- [cpf] => 35055754885
- [phone_number] => 17991110412
- [birth] => 1986-09-16
- [email] => rafael@agenciaclara.com.br
- )
- Informações do cartão do cliente
- Nº Cartão: •••• •••• ••••
- Bandeira:
- Itens calculáveis da Fatura
- Array
- (
- [0] => Array
- (
- [id] => 509
- [type] =>
- [relid] => 0
- [description] => Hospedagem do Site
- [amount] => 5.00
- [taxed] => 0
- )
- )
- Array
- (
- [0] => Array
- (
- [name] => Hospedagem do Site
- [amount] => 1
- [value] => 500
- )
- )
- $discount:
- 1
- * Trying 104.22.2.86:443...
- * Connected to sandbox.gerencianet.com.br (104.22.2.86) port 443 (#0)
- * ALPN, offering http/1.1
- * successfully set certificate verify locations:
- * CAfile: /etc/pki/tls/certs/ca-bundle.crt
- CApath: none
- * SSL connection using TLSv1.3 / TLS_AES_256_GCM_SHA384
- * ALPN, server accepted to use http/1.1
- * Server certificate:
- * subject: C=US; ST=CA; L=San Francisco; O=Cloudflare, Inc.; CN=gerencianet.com.br
- * start date: Jul 1 00:00:00 2020 GMT
- * expire date: Jul 1 12:00:00 2021 GMT
- * subjectAltName: host "sandbox.gerencianet.com.br" matched cert's "*.gerencianet.com.br"
- * issuer: C=US; O=Cloudflare, Inc.; CN=Cloudflare Inc ECC CA-3
- * SSL certificate verify ok.
- > POST /v1/authorize HTTP/1.1
- Host: sandbox.gerencianet.com.br
- api-sdk: php-2.4.0
- partner-token: baaf5b95d55433890bd835cf006772b9462bde8f
- User-Agent: GuzzleHttp/6.5.1 curl/7.72.0 PHP/7.3.21
- Content-Type: application/json
- Authorization: Basic Q2xpZW50X0lkXzAyNjdiOTdlNmZlYjRjYTEyODY2ODM3NWJkMjNlYTdjZDRlYjZmOTY6Q2xpZW50X1NlY3JldF8xZjVlNjQwYTU4YjRmYjkzNjZlYWYwMDVhYzA0ZWM1M2IxM2ZjM2Qx
- Content-Length: 35
- * upload completely sent off: 35 out of 35 bytes
- * old SSL session ID is stale, removing
- * Mark bundle as not supporting multiuse
- < HTTP/1.1 200 OK
- < Date: Tue, 08 Sep 2020 19:45:50 GMT
- < Content-Type: application/json
- < Content-Length: 233
- < Connection: keep-alive
- < Set-Cookie: __cfduid=da354270da05aa7efff0fcd39cb8968151599594350; expires=Thu, 08-Oct-20 19:45:50 GMT; path=/; domain=.gerencianet.com.br; HttpOnly; SameSite=Lax; Secure
- < cache-control: no-store
- < pragma: no-cache
- < CF-Cache-Status: DYNAMIC
- < cf-request-id: 0510d9e0950000febab615c200000001
- < Expect-CT: max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
- < Server: cloudflare
- < CF-RAY: 5cfb2c142ee8feba-IAH
- <
- * Connection #0 to host sandbox.gerencianet.com.br left intact
- * Trying 104.22.2.86:443...
- * Connected to sandbox.gerencianet.com.br (104.22.2.86) port 443 (#0)
- * ALPN, offering http/1.1
- * successfully set certificate verify locations:
- * CAfile: /etc/pki/tls/certs/ca-bundle.crt
- CApath: none
- * SSL connection using TLSv1.3 / TLS_AES_256_GCM_SHA384
- * ALPN, server accepted to use http/1.1
- * Server certificate:
- * subject: C=US; ST=CA; L=San Francisco; O=Cloudflare, Inc.; CN=gerencianet.com.br
- * start date: Jul 1 00:00:00 2020 GMT
- * expire date: Jul 1 12:00:00 2021 GMT
- * subjectAltName: host "sandbox.gerencianet.com.br" matched cert's "*.gerencianet.com.br"
- * issuer: C=US; O=Cloudflare, Inc.; CN=Cloudflare Inc ECC CA-3
- * SSL certificate verify ok.
- > GET /v1/charge/1131891 HTTP/1.1
- Host: sandbox.gerencianet.com.br
- User-Agent: GuzzleHttp/6.5.1 curl/7.72.0 PHP/7.3.21
- Content-Type: application/json
- Authorization: Bearer ee8a74b12d1168338489e5f0118a1bdacc1a98eef08a36ce4ad0532173a9b26a
- api-sdk: php-2.4.0
- partner-token: baaf5b95d55433890bd835cf006772b9462bde8f
- Content-Length: 2
- * upload completely sent off: 2 out of 2 bytes
- * old SSL session ID is stale, removing
- * Mark bundle as not supporting multiuse
- < HTTP/1.1 200 OK
- < Date: Tue, 08 Sep 2020 19:45:51 GMT
- < Content-Type: application/json; charset=utf-8
- < Content-Length: 386
- < Connection: keep-alive
- < Set-Cookie: __cfduid=d8c61aace1f9d3f48aed25a0710b776ec1599594350; expires=Thu, 08-Oct-20 19:45:50 GMT; path=/; domain=.gerencianet.com.br; HttpOnly; SameSite=Lax; Secure
- < X-RateLimit-Limit: 15000
- < X-RateLimit-Reset: 1599672352
- < X-RateLimit-Remaining: 14992
- < ETag: W/"182-+rwX+owKpcNaMDAbiC6/Gvggsdw"
- < CF-Cache-Status: DYNAMIC
- < cf-request-id: 0510d9e17f0000b388cab42200000001
- < Expect-CT: max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
- < Server: cloudflare
- < CF-RAY: 5cfb2c159e3db388-IAH
- <
- * Connection #0 to host sandbox.gerencianet.com.br left intact
- Transações geradas por essa fatura - API Gerencianet.
- Essa fatura já gerou uma transação.
- Array
- (
- [code] => 200
- [data] => Array
- (
- [charge_id] => 1131891
- [total] => 500
- [status] => new
- [custom_id] => 454
- [created_at] => 2020-09-08 16:43:10
- [notification_url] => https://www.agenciaclara.com.br/suporte//modules/gateways/gofasgerencianetcartao/includes/callback.php
- [items] => Array
- (
- [0] => Array
- (
- [name] => Hospedagem do Site
- [value] => 500
- [amount] => 1
- )
- )
- [history] => Array
- (
- [0] => Array
- (
- [message] => Cobrança criada
- [created_at] => 2020-09-08 16:43:10
- )
- )
- )
- )
- Status da transação: new
- Status da assinatura:
- Transação existente, total - API Gerencianet.
- $existing_charge_total: 500
- $items_total: 500
- $charge_last_history_message: Cobrança criada
- $existing_charge_discount:
- Transação one time com status new associada à fatura - API Gerencianet.
Add Comment
Please, Sign In to add comment