Forum Replies Created

Viewing 15 replies - 1 through 15 (of 34 total)
  • Thread Starter Gabriel

    (@gabrekc)

    @dareko I found my case, I had the wordfence plugin installed, but when I removed it, I didn’t remove it properly and that was the conflict.

    Thread Starter Gabriel

    (@gabrekc)

    @bornforphp I used wp_debug and some errors appeared, the strangest is the error on line 37

    in the file I replaced my official domain with mydomain.com

    PHP Fatal error: Uncaught Error: Call to a member function set_loggers() on null in /mydomain.com/wp-content/plugins/wp-optimize/vendor/team-updraft/common-libs/src/updraft-tasks/class-updraft-task-manager.php:336

    link with full log: https://pastebin.com/Jg0afREF

    @dareko I still haven’t solved

    Thread Starter Gabriel

    (@gabrekc)

    Thanks for replying, but I forgot to mention that I’ve done this a few times.

    Thread Starter Gabriel

    (@gabrekc)

    @pedrovianapav ent?o, semana retrasada eu entrei em contato questionando sobre o plugin, e pelo q falaram agora est?o desenvolvendo um plugin oficial do woocommerce…

    Eu já instalei, testei semana passada e deu certo, esse problema foi resolvido no meu caso.
    Segue o link
    https://dev.iugu.com/docs/configura%C3%A7%C3%A3o-plugin-woocommerce-iugu-30

    O link direto do github está aqui caso prefira.
    https://github.com/iugu/iugu_payment-gateway-woocommerce

    Recomendo agora sempre usar esse link para fazer download.

    Só para constar a vers?o que estou usando é essa 3.0.0.1

    Thread Starter Gabriel

    (@gabrekc)

    pois é, pelo jeito foi abandonado mesmo o plugin.

    Thread Starter Gabriel

    (@gabrekc)

    uma coisa que reparei é q no log também aparece certinho, só preenchi com “xxx” os meus dados…

    
    10-19-2021 @ 11:20:37 - Doing charge for order 87758...
    10-19-2021 @ 11:20:37 - Creating an invoice on iugu for order 87758 with the following data: Array
    (
        [email] => [email protected]
        [due_date] => 2021-10-20
        [ensure_workday_due_date] => 
        [return_url] => https://xxxx.xxxx.com.br/store/carrinho/finalizacao/order-received/87758/?key=wc_order_7ShTqAEKZ9e26&utm_nooverride=1
        [expired_url] => https://xxx.xxxx.com.br/store/carrinho/?cancel_order=true&order=wc_order_7ShTqAEKZ9e26&order_id=87758&redirect&_wpnonce=a12b683a68
        [notification_url] => https://xxxx.xxxx.com.br/wc-api/WC_Iugu_Bank_Slip_Gateway/
        [ignore_due_email] => 
        [payable_with] => bank_slip
        [custom_variables] => Array
            (
                [0] => Array
                    (
                        [name] => order_id
                        [value] => 87758
                    )
    
            )
    
        [payer] => Array
            (
                [name] => gabriel teste
                [phone_prefix] => xx
                [phone] => xxxx
                [email] => [email protected]
                [address] => Array
                    (
                        [street] => xxxx
                        [number] => xxx
                        [city] => xxxx
                        [state] => xxx
                        [country] => xxxx
                        [zip_code] => xxxxx
                        [district] => xxxx
                    )
    
                [cpf_cnpj] => xxxxx
            )
    
        [items] => Array
            (
                [0] => Array
                    (
                        [description] => Pedido 87758
                        [price_cents] => 6000
                        [quantity] => 1
                    )
    
            )
    
    )
    
    10-19-2021 @ 11:20:38 - Invoice created successfully!
    10-19-2021 @ 11:20:38 - Charge created successfully!

    Fiz um teste com valor com centavos “R$999,99” e tbm deu problema, ele nem chegou a gerar a fatura…

    10-20-2021 @ 10:21:48 - Doing charge for order 87775...
    10-20-2021 @ 10:21:48 - Creating an invoice on iugu for order 87775 with the following data: Array
    (
        [email] => [email protected]
        [due_date] => 2021-10-21
        [ensure_workday_due_date] => 
        [return_url] => https://testeloja.xxxxxx.com.br/store/carrinho/finalizacao/order-received/87775/?key=wc_order_10e9WKv1gDvXq&utm_nooverride=1
        [expired_url] => https://testeloja.xxxxxx.com.br/store/carrinho/?cancel_order=true&order=wc_order_10e9WKv1gDvXq&order_id=87775&redirect&_wpnonce=71f569a5e7
        [notification_url] => https://testeloja.xxxxxx.com.br/wc-api/WC_Iugu_Bank_Slip_Gateway/
        [ignore_due_email] => 
        [payable_with] => bank_slip
        [custom_variables] => Array
            (
                [0] => Array
                    (
                        [name] => order_id
                        [value] => 87775
                    )
    
            )
    
        [payer] => Array
            (
                [name] => gabriel teste
                [phone_prefix] => xxx
                [phone] => xxx
                [email] => [email protected]
                [address] => Array
                    (
                        [street] => xxx
                        [number] => xx
                        [city] => xx
                        [state] => xx
                        [country] => xx
                        [zip_code] => xx
                        [district] => xx
                    )
    
                [cpf_cnpj] => xxxx
            )
    
        [items] => Array
            (
                [0] => Array
                    (
                        [description] => Pedido 87775
                        [price_cents] => 999.99
                        [quantity] => 1
                    )
    
            )
    
    )
    
    10-20-2021 @ 10:21:50 - Error while generating the invoice for order 87775: Array
    (
        [headers] => Requests_Utility_CaseInsensitiveDictionary Object
            (
                [data:protected] => Array
                    (
                        [date] => Wed, 20 Oct 2021 13:21:50 GMT
                        [content-type] => application/json; charset=utf-8
                        [strict-transport-security] => max-age=15724800; includeSubDomains
                        [x-handledby] => api/v1/invoice#create
                        [x-cf-block] => DEFAULT
                        [x-ua-compatible] => IE=Edge,chrome=1
                        [cache-control] => no-cache
                        [x-request-id] => 54d2d2377008363d9911c5950f0e0efb
                        [x-runtime] => 0.416467
                        [vary] => Origin
                        [cf-cache-status] => DYNAMIC
                        [expect-ct] => max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
                        [set-cookie] => __cfruid=34c844b4aab5827871c02c5e3760353b204e3226-1634736110; path=/; domain=.iugu.com; HttpOnly; Secure; SameSite=None
                        [server] => cloudflare
                        [cf-ray] => 6a128d282e58f64b-GRU
                        [alt-svc] => h3=":443"; ma=86400, h3-29=":443"; ma=86400, h3-28=":443"; ma=86400, h3-27=":443"; ma=86400
                    )
    
            )
    
        [body] => {"errors":{"items.price_cents":["n\u00e3o \u00e9 um n\u00famero inteiro"]}}
        [response] => Array
            (
                [code] => 422
                [message] => Unprocessable Entity
            )
    
        [cookies] => Array
            (
                [0] => WP_Http_Cookie Object
                    (
                        [name] => __cfruid
                        [value] => 34c844b4aab5827871c02c5e3760353b204e3226-1634736110
                        [expires] => 
                        [path] => /
                        [domain] => iugu.com
                        [host_only] => 
                    )
    
            )
    
        [filename] => 
        [http_response] => WP_HTTP_Requests_Response Object
            (
                [response:protected] => Requests_Response Object
                    (
                        [body] => {"errors":{"items.price_cents":["n\u00e3o \u00e9 um n\u00famero inteiro"]}}
                        [raw] => HTTP/1.1 422 Unprocessable Entity
    Date: Wed, 20 Oct 2021 13:21:50 GMT
    Content-Type: application/json; charset=utf-8
    Transfer-Encoding: chunked
    Connection: close
    Strict-Transport-Security: max-age=15724800; includeSubDomains
    X-HandledBy: api/v1/invoice#create
    X-Cf-Block: DEFAULT
    X-UA-Compatible: IE=Edge,chrome=1
    Cache-Control: no-cache
    X-Request-Id: 54d2d2377008363d9911c5950f0e0efb
    X-Runtime: 0.416467
    Vary: Origin
    CF-Cache-Status: DYNAMIC
    Expect-CT: max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
    Set-Cookie: __cfruid=34c844b4aab5827871c02c5e3760353b204e3226-1634736110; path=/; domain=.iugu.com; HttpOnly; Secure; SameSite=None
    Server: cloudflare
    CF-RAY: 6a128d282e58f64b-GRU
    alt-svc: h3=":443"; ma=86400, h3-29=":443"; ma=86400, h3-28=":443"; ma=86400, h3-27=":443"; ma=86400
    
    {"errors":{"items.price_cents":["n\u00e3o \u00e9 um n\u00famero inteiro"]}}
                        [headers] => Requests_Response_Headers Object
                            (
                                [data:protected] => Array
                                    (
                                        [date] => Array
                                            (
                                                [0] => Wed, 20 Oct 2021 13:21:50 GMT
                                            )
    
                                        [content-type] => Array
                                            (
                                                [0] => application/json; charset=utf-8
                                            )
    
                                        [strict-transport-security] => Array
                                            (
                                                [0] => max-age=15724800; includeSubDomains
                                            )
    
                                        [x-handledby] => Array
                                            (
                                                [0] => api/v1/invoice#create
                                            )
    
                                        [x-cf-block] => Array
                                            (
                                                [0] => DEFAULT
                                            )
    
                                        [x-ua-compatible] => Array
                                            (
                                                [0] => IE=Edge,chrome=1
                                            )
    
                                        [cache-control] => Array
                                            (
                                                [0] => no-cache
                                            )
    
                                        [x-request-id] => Array
                                            (
                                                [0] => 54d2d2377008363d9911c5950f0e0efb
                                            )
    
                                        [x-runtime] => Array
                                            (
                                                [0] => 0.416467
                                            )
    
                                        [vary] => Array
                                            (
                                                [0] => Origin
                                            )
    
                                        [cf-cache-status] => Array
                                            (
                                                [0] => DYNAMIC
                                            )
    
                                        [expect-ct] => Array
                                            (
                                                [0] => max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
                                            )
    
                                        [set-cookie] => Array
                                            (
                                                [0] => __cfruid=34c844b4aab5827871c02c5e3760353b204e3226-1634736110; path=/; domain=.iugu.com; HttpOnly; Secure; SameSite=None
                                            )
    
                                        [server] => Array
                                            (
                                                [0] => cloudflare
                                            )
    
                                        [cf-ray] => Array
                                            (
                                                [0] => 6a128d282e58f64b-GRU
                                            )
    
                                        [alt-svc] => Array
                                            (
                                                [0] => h3=":443"; ma=86400, h3-29=":443"; ma=86400, h3-28=":443"; ma=86400, h3-27=":443"; ma=86400
                                            )
    
                                    )
    
                            )
    
                        [status_code] => 422
                        [protocol_version] => 1.1
                        [success] => 
                        [redirects] => 0
                        [url] => https://api.iugu.com/v1/invoices
                        [history] => Array
                            (
                            )
    
                        [cookies] => Requests_Cookie_Jar Object
                            (
                                [cookies:protected] => Array
                                    (
                                        [__cfruid] => Requests_Cookie Object
                                            (
                                                [name] => __cfruid
                                                [value] => 34c844b4aab5827871c02c5e3760353b204e3226-1634736110
                                                [attributes] => Requests_Utility_CaseInsensitiveDictionary Object
                                                    (
                                                        [data:protected] => Array
                                                            (
                                                                [path] => /
                                                                [domain] => iugu.com
                                                                [httponly] => 1
                                                                [secure] => 1
                                                                [samesite] => None
                                                            )
    
                                                    )
    
                                                [flags] => Array
                                                    (
                                                        [creation] => 1634736110
                                                        [last-access] => 1634736110
                                                        [persistent] => 
                                                        [host-only] => 
                                                    )
    
                                                [reference_time] => 1634736110
                                            )
    
                                    )
    
                            )
    
                    )
    
                [filename:protected] => 
                [data] => 
                [headers] => 
                [status] => 
            )
    
    )
    
    10-20-2021 @ 10:21:50 - Error while getting the charge data for order 87775: Missing the invoice ID.
    • This reply was modified 3 years, 1 month ago by Gabriel.
    • This reply was modified 3 years, 1 month ago by Gabriel.

    Pois é! Faz tempo que eu uso a hostgator e funcionava belezinha, “minha loja é bem pequena, ainda tem poucas vendas” n?o sei se a hostgator atualizou agora o cURL para 7.79.0, e eles disseram que nem previs?o eles tem para fazer uma nova atualiza??o :/

    Tanto que a última venda foi dia 21/07 e funcionou certinho, hoje que foi ocorrer uma nova venda e deu erro.

    é acabei de entrar em contato com o suporte e realmente a hostgator n?o atualiza o cURL para planos compartilhados :/, vou ter q mudar de plano ou mudar de hospedagem, só queria deixar meu relato que também tentei falar com o suporte da hostgator.

    Só para avisar, estou com o mesmo problema, e tbm sou do hostgator :/

    Thread Starter Gabriel

    (@gabrekc)

    Thanks @shrutiwpcom ??

    your tip worked perfectly

    Thread Starter Gabriel

    (@gabrekc)

    so I had seen this, but I am not able to complete the registration with this account, in the step of creating an account in google merchant center, I get an error:

    Your URL, , is currently claimed by another Merchant Center account.
    Warning: If you reclaim this URL, it will cause any existing product listings or ads to stop running, and any existing shipping or tax configurations will be lost. The other verified account will be notified that they have lost their claim.

    even doing what he asks I can’t connect.
    I’ll try again here, but here’s a tip to include this option if possible in the future to be able to disconnect at this stage.

    thanks

    pois é! tambem espero uma atualiza??o, acho que o negocio é ir para a juno…
    o plugin n?o é mais atualizado, alguns bugs no subscription…

    Thread Starter Gabriel

    (@gabrekc)

    Oi, faz uns 5 minutos que eu “descobri” o que aconteceu.

    Eu desfiz todas as integra??es e refiz. acho q deu algum problema pq meu site n?o tinha https, eu fiz a altera??o, mas o plugin dizia que estava tudo ok…

    resumindo eu desconectei e conectei novamente e deu certo ??

    Valeu, @amgnando entendi ??

    Já fiz o teste com o sandbox e deu certo ??

    @amgnando agora que eu fui entender, desculpa.

    Li com mais calma a aba de instala??o.

    Para mim que o tokens privado e publico significava:
    – privado = produ??o
    – publico = sandbox

    Dai aqui aconteceu o mesmo erro do @giulianobra, estava usando os dados de produ??o e marcando sandbox…

    desabilitei e deu certo, vou criar uma uma conta no https://sandbox.juno.com.br e mais tarde testo, mas dará certo.

    Obrigado

Viewing 15 replies - 1 through 15 (of 34 total)