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

    (@claudiosanches)

    For the log the MercadoPago did not sent any notification.
    From my last tests looks like that they are talking a lot of time to send payment notification on Sandbox.
    Have you tested in production mode?
    Because for what I’m saying, looks like don’t have any problem, only with this delay on the sandbox.

    Thread Starter jpisanu

    (@jpisanu)

    Hi Claudio,

    Yes, I tested on production mode and the same thing is happening. I had a client that was attempting to pay for the second time because the status was still as pending payment. Luckily he contacted us prior to do that.

    Plugin Author Claudio Sanches

    (@claudiosanches)

    @jpisanu have you access for the serve access.log?
    Need to check in the access.log what is the server response to the MercadoPago request.

    Thread Starter jpisanu

    (@jpisanu)

    Hi Claudio, yes I do, I checked both apache and nginx and I don’t see any attempt to connect from MP, should I look for a specific IP or URL? Or I can also send it to you if you want.

    Let me know

    Plugin Author Claudio Sanches

    (@claudiosanches)

    Try delete the file (make a backup first) and then make a new transaction with MercadoPago, waits for 10 minutes and get the file. This will reduce the data and make easy to analyze it.
    You can send me here using pastebin.com.

    Thread Starter jpisanu

    (@jpisanu)

    Ok yes,
    I will do that in a moment where there are no visitors.
    I will put on pastebin and send you, I’ll let you know.

    Thanks Claudio.

    Plugin Author Claudio Sanches

    (@claudiosanches)

    Ok, let me know when you have the file.

    Thread Starter jpisanu

    (@jpisanu)

    Hi Claudio, sorry for the delay on my answer but I needed to do the live test on a day with fewer visitors.

    I was able to place an order on the production environment, and made a real purchase (not sandbox)

    I placed the order at around 2:08 PM and being now 2:28PM I still have nothing from MercadoPago on my access log.

    Here are the logs:

    Apache Access: https://pastebin.com/0YdP6XFr
    Plugin Log: https://pastebin.com/iUZZ7b94

    Let me know what do you think and again, thanks for your help

    Thread Starter jpisanu

    (@jpisanu)

    In addition to my previous comment,

    I created a clean install, in a different server (Media Temple), no cloudflare, no catching plugin, nothing. Just the woocommerce latest version and plugin latest version and default theme.

    I placed an order under sandbox mode, after 1 hour of waiting, the order is still showing as pending payment.

    I tried with a different mercadopago account just to make sure it’s not a problem of the other MP account.

    Best.

    Thread Starter jpisanu

    (@jpisanu)

    Hi Claudio, I found a line on the access log coming from MercadoPago:

    216.33.196.4 – – [24/Sep/2016:16:31:04 -0400] “POST /?wc-api=WC_MercadoPago_Gateway&topic=payment&id=123456789 HTTP/1.0” 200 2

    I modified the payment id intentionally.

    Hi, I have the same problem. I already set the IPN url in mercadpago.
    HELPPPP

    09-26-2016 @ 13:36:30 – Getting client credentials…
    09-26-2016 @ 13:36:31 – Received valid response from MercadoPago
    09-26-2016 @ 13:36:33 – Payment link generated with success from MercadoPago
    09-26-2016 @ 13:37:14 – Checking IPN request…
    09-26-2016 @ 13:37:14 – Getting client credentials…
    09-26-2016 @ 13:37:16 – Received valid response from MercadoPago
    09-26-2016 @ 13:37:17 – IPN Response: Array

    [body] => {“message”:”not_found”}
    [response] => Array
    (
    [code] => 404
    [message] => Not Found
    )
    09-26-2016 @ 13:37:17 - Received invalid IPN response from MercadoPago.

    Thread Starter jpisanu

    (@jpisanu)

    Hi @fitar
    I think that’s normal if you are on Sandbox mode but at this point all is very confusing so I’m not sure.

    If you have a 200 status on the page you set and then you get that, it could be normal if you are on sandbox, otherwise I’d check your notifications url.

    Plugin Author Claudio Sanches

    (@claudiosanches)

    @jpisanu try set the follow URL on MercadoPago:

    https://www.autocosas.com/wc-api/WC_MercadoPago_Gateway/
    

    Hi Claudio.
    I’ve already done that.
    I’m going to test it on production, and see if the notification is received ok, maybe is something on the sandbox.

    Thread Starter jpisanu

    (@jpisanu)

    Ok Claudio, thank you.

    I will try that url and let you know.

Viewing 15 replies - 1 through 15 (of 36 total)
  • The topic ‘Pending Payment Status not changing’ is closed to new replies.