Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Erro boleto versão 2.2.1 #63

Open
pedroviana opened this issue Oct 16, 2021 · 0 comments
Open

Erro boleto versão 2.2.1 #63

pedroviana opened this issue Oct 16, 2021 · 0 comments

Comments

@pedroviana
Copy link

pedroviana commented Oct 16, 2021

Olá,

Poderiam auxiliar em um erro ao tentar gerar boleto? versão 2.2.1

WooCommerce System Status:
woocommerce-system-status.txt

Log:

(
[email] => =*****
[due_date] => 2021-10-17
[ensure_workday_due_date] =>
[return_url] => https://mysite.com/obrigado/?wcf-key=*****&wcf-order=*****&utm_nooverride=1
[expired_url] => https://mysite.com/carrinho/?cancel_order=true&order=*****&order_id=*****&redirect&_wpnonce=*****
[notification_url] => https://mysite.com/wc-api/WC_Iugu_Bank_Slip_Addons_Gateway/
[ignore_due_email] =>
[payable_with] => bank_slip
[custom_variables] => Array
(
[0] => Array
(
[name] => order_id
[value] => *****
)

    )

[payer] => Array
    (
        [name] => *****
        [phone_prefix] => *****
        [phone] => *****
        [email] => *****
        [address] => Array
            (
                [street] => *****
                [number] => *****
                [city] => *****
                [state] => *****
                [country] => *****
                [zip_code] => *****
                [district] => *****
            )

        [cpf_cnpj] => *****
    )

[items] => Array
    (
        [0] => Array
            (
                [description] => Pedido *****
                [price_cents] => 2128.2
                [quantity] => 1
            )

    )

)

10-15-2021 @ 22:28:48 - Error while generating the invoice for order 132526: Array
(
[headers] => Requests_Utility_CaseInsensitiveDictionary Object
(
[data:protected] => Array
(
[date] => Sat, 16 Oct 2021 01:28:48 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] => *****
[x-runtime] => 0.450827
[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] => *****; path=/; domain=.iugu.com; HttpOnly; Secure; SameSite=None
[server] => cloudflare
[cf-ray] => *****-ATL
[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":["must be an integer"]}}
[response] => Array
    (
        [code] => 422
        [message] => Unprocessable Entity
    )

[cookies] => Array
    (
        [0] => WP_Http_Cookie Object
            (
                [name] => __cfruid
                [value] => *****
                [expires] => 
                [path] => /
                [domain] => iugu.com
                [host_only] => 
            )

    )
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant