Viewing 15 replies - 1 through 15 (of 18 total)
  • Plugin Author Claudio Sanches

    (@claudiosanches)

    Have you checked with your hosting support?
    Have you installed ModSecurity on the server?
    Or configured CloudFlare?
    Some security plugins can block the MercadoPago user-agent too, need to check it.

    Thread Starter germanero

    (@germanero)

    I’ve didn’t change anything since last update, which one is working normally. Hosing told me they are not block me anything, also they are using mercadopago system on their own server.
    Do you say ‘some security plugins’ as captcha, askimet, or similar?

    Plugin Author Claudio Sanches

    (@claudiosanches)

    Security plugin like iThemes Security.
    Still, best check the access.log with our hosting.

    Plugin Author Claudio Sanches

    (@claudiosanches)

    And enable the WP_Debug log with:

    define( 'WP_DEBUG', true );
    define( 'WP_DEBUG_LOG', true );
    define( 'WP_DEBUG_DISPLAY', false );
    @ini_set( 'display_errors', 0 );
    

    So we can check after is some plugin or this is throwing errors and stopping the status change.

    Thread Starter germanero

    (@germanero)

    I have not iThemes Security.
    By the way, Do you speak spanish?

    Thread Starter germanero

    (@germanero)

    How can I see the error log? there is any woocommerce/logs/ txt in there.
    I’ve seen the wordpress log and I haven’t got any errors there.

    Thread Starter germanero

    (@germanero)

    I’ve found wooocommerce logs, but there is not errors.
    You can see:

    [notification_url] => https://argengamestore.com/wc-api/WC_MercadoPago_Gateway/
    )
    08-20-2016 @ 17:00:41 - Getting client credentials...
    08-20-2016 @ 17:00:41 - Received valid response from MercadoPago
    08-20-2016 @ 17:00:42 - Payment link generated with success from MercadoPago
    08-20-2016 @ 17:20:45 - Payment arguments for order 3144: Array
    (
        [back_urls] => Array
            (
                [success] => https://argengamestore.com/checkout/order-received/3144?key=wc_order_57b8bb9c22e0e
                [pending] => https://argengamestore.com/checkout/order-received/3144?key=wc_order_57b8bb9c22e0e
            )
    
        [payer] => Array
            (
                [name] => Name
                [surname] => Surname
                [email] => email
            )
    
        [external_reference] => MP-3144
        [items] => Array
            (
                [0] => Array
                    (
                        [quantity] => 1
                        [unit_price] => xxx
                        [currency_id] => ARS
                        [title] => Pedido 3144 - product x 1
                    )
    
            )

    You can see when someone buy, the first status it’s success, the second one, pending. But my customer paid (Mercadopago send me the mail notification, he paid for the product) and woocommerce still showing ‘pending’. Maybe that is the error?

    Plugin Author Claudio Sanches

    (@claudiosanches)

    @germanero in this log don’t shows the payment notification.
    What I said about turn on the WP_Debug is a different file, you can check the file in wp-content/debug.log after you activated it and tried to make a new order.
    And if you are not receiving the payment notification, you may try your hosting support to check if have something blocking too.

    Thread Starter germanero

    (@germanero)

    Hosting still saying they don’t block me anything. I’ve enabled debug mode 1 hour ago, one customer bought an article, and the log don’t shows any error about mercadopago payment. But today the gateway url from mercadopago show this error:
    https://postimg.org/image/q4elimdv7/
    WC 2.6.4
    WP 4.6.1

    • This reply was modified 8 years, 6 months ago by germanero.
    Plugin Author Claudio Sanches

    (@claudiosanches)

    Try this url:

    
    https://argengamestore.com/wc-api/WC_MercadoPago_Gateway
    
    Thread Starter germanero

    (@germanero)

    I’m getting the same error.
    La URL ingresada no responde un HTTP status correcto. Debe responder 200 o 201.
    I gonna try change my hosting service. I guessing they are blocking me something because the plugin worked for a while and suddenly it stopped working. Really I don’t know what else to do. I try all possibilities but nothing seems to work.
    I hope this change make some difference.

    • This reply was modified 8 years, 6 months ago by germanero.
    Plugin Author Claudio Sanches

    (@claudiosanches)

    @germanero yes, looks really a problem in your server.

    If you open the URL https://argengamestore.com/wc-api/WC_MercadoPago_Gateway you can see in the console of your browser that the URL returns status 200.

    Screenshot from 2016 09 09 19 40 01

    Thread Starter germanero

    (@germanero)

    So, what this?
    I’ve changed of hosting service, maybe I need to wait some time.

    • This reply was modified 8 years, 6 months ago by germanero.
    Plugin Author Claudio Sanches

    (@claudiosanches)

    This is showing returning the correct status.

    Thread Starter germanero

    (@germanero)

    Well, I’ve installed the entire Site on the new hosting services. I tried again with the URL: https://argengamestore.com/wc-api/WC_MercadoPago_Gateway and the message was different "?Listo! Enviaremos las notificaciones a esa URL." `
    But the problem with ‘pending status’ still there. Really I don’t know what else to do.
    It’s very frustrating because all is up to date and well configured.
    Is there anything else I have to tell to the hosting service? some detail?

Viewing 15 replies - 1 through 15 (of 18 total)
  • The topic ‘Status: pending again’ is closed to new replies.