• Al efectuar un pago con mercadopago con el checkout básico y con las tarjetas de débito/cŕedito de prueba, el estado de la orden nunca cambia de Pendiente de pago a pesar de que mercadopago notifica que la transacción fue aprobada.

    Estoy usando la versión más reciente del plugin de mercadopago 4.1.1 en modo sandbox. Mi sitio está en un server con certificado HTTPS. Esto es lo que mostraron los logs después de realizar una prueba al comprar un producto.

    01-14-2020 @ 18:45:24 - [process_payment]: customer being redirected to Mercado Pago.
    01-14-2020 @ 18:45:24 - [Created preference: ]: Preference: {
        "binary_mode": false,
        "external_reference": "WC-tead-2618",
        "notification_url": "https:\/\/tead.acsyt.com\/wc-api\/WC_WooMercadoPago_BasicGateway\/",
        "statement_descriptor": "MercadoPago",
        "items": [
            {
                "id": 1327,
                "title": "VTK 938 x 1",
                "description": "Acabado-Cromo-extreme-glow-•-Caño-giratorio-•-Aireador-anti-cal-•-Maneral-extraíble-con-1-función-chorro-•-Mangueras-flexibles-de-alimentación-incluidas-•-Cartucho-cerámico-de-gran-duración-•-Presión-de",
                "picture_url": "https:\/\/tead.acsyt.com\/wp-content\/uploads\/2019\/10\/VTK-938-TEKA.png",
                "category_id": "electronics",
                "quantity": 1,
                "unit_price": 4470,
                "currency_id": "MXN"
            }
        ],
        "payer": {
            "name": "test",
            "surname": "test2",
            "email": "jjuradoc97@gmail.com",
            "phone": {
                "number": "0123456789"
            },
            "address": {
                "zip_code": "11111",
                "street_name": "test 7894 \/ test BS MX"
            }
        },
        "back_urls": {
            "success": "https:\/\/tead.acsyt.com\/checkout\/order-received\/2618\/?key=wc_order_VI8WBoyxcq5LP",
            "failure": "https:\/\/tead.acsyt.com\/carrito\/?cancel_order=true&order=wc_order_VI8WBoyxcq5LP&order_id=2618&redirect&_wpnonce=1ebdf638a4",
            "pending": "https:\/\/tead.acsyt.com\/checkout\/order-received\/2618\/?key=wc_order_VI8WBoyxcq5LP"
        },
        "shipments": {
            "receiver_address": {
                "zip_code": "11111",
                "street_name": "test 7894 test test BS MX",
                "apartment": "test"
            }
        },
        "payment_methods": {
            "installments": 24,
            "default_installments": 1,
            "excluded_payment_methods": []
        },
        "auto_return": "approved",
        "metadata": {
            "platform": "bo2hnr2ic4p001kbgpt0",
            "platform_version": "3.7.0",
            "module_version": "4.1.1",
            "site_id": "MLM",
            "sponsor_id": 208692380,
            "collector": "343440638",
            "test_mode": true,
            "details": "",
            "checkout": "smart",
            "checkout_type": ""
        }
    }
    01-14-2020 @ 18:45:25 - [create_preference]: Created Preference: {
        "status": 201,
        "response": {
            "processing_modes": [],
            "metadata": {
                "collector": "343440638",
                "platform": "bo2hnr2ic4p001kbgpt0",
                "checkout_type": "",
                "details": "",
                "sponsor_id": 208692380,
                "module_version": "4.1.1",
                "platform_version": "3.7.0",
                "site_id": "MLM",
                "checkout": "smart",
                "test_mode": true
            },
            "binary_mode": false,
            "payment_methods": {
                "excluded_payment_methods": [
                    {
                        "id": ""
                    }
                ],
                "excluded_payment_types": [
                    {
                        "id": ""
                    }
                ],
                "installments": 24,
                "default_payment_method_id": null,
                "default_installments": 1
            },
            "collector_id": 343440638,
            "operation_type": "regular_payment",
            "items": [
                {
                    "id": "1327",
                    "picture_url": "https:\/\/tead.acsyt.com\/wp-content\/uploads\/2019\/10\/VTK-938-TEKA.png",
                    "title": "VTK 938 x 1",
                    "description": "Acabado-Cromo-extreme-glow-•-Caño-giratorio-•-Aireador-anti-cal-•-Maneral-extraíble-con-1-función-chorro-•-Mangueras-flexibles-de-alimentación-incluidas-•-Cartucho-cerámico-de-gran-duración-•-Presión-de",
                    "category_id": "electronics",
                    "currency_id": "MXN",
                    "quantity": 1,
                    "unit_price": 4470
                }
            ],
            "payer": {
                "name": "test",
                "surname": "test2",
                "email": "jjuradoc97@gmail.com",
                "date_created": "",
                "phone": {
                    "area_code": "",
                    "number": "0123456789"
                },
                "identification": {
                    "type": "",
                    "number": ""
                },
                "address": {
                    "street_name": "test 7894  test BS MX",
                    "street_number": null,
                    "zip_code": "11111"
                }
            },
            "back_urls": {
                "success": "https:\/\/tead.acsyt.com\/checkout\/order-received\/2618\/?key=wc_order_VI8WBoyxcq5LP",
                "pending": "https:\/\/tead.acsyt.com\/checkout\/order-received\/2618\/?key=wc_order_VI8WBoyxcq5LP",
                "failure": "https:\/\/tead.acsyt.com\/carrito\/?cancel_order=true&order=wc_order_VI8WBoyxcq5LP&order_id=2618&redirect&_wpnonce=1ebdf638a4"
            },
            "auto_return": "approved",
            "client_id": "2112235635678919",
            "marketplace": "NONE",
            "marketplace_fee": 0,
            "shipments": {
                "receiver_address": {
                    "zip_code": "11111",
                    "street_number": null,
                    "street_name": "test 7894 test test BS MX",
                    "floor": "",
                    "apartment": "test"
                }
            },
            "notification_url": "https:\/\/tead.acsyt.com\/wc-api\/WC_WooMercadoPago_BasicGateway\/",
            "external_reference": "WC-tead-2618",
            "additional_info": "",
            "expires": false,
            "expiration_date_from": null,
            "expiration_date_to": null,
            "date_created": "2020-01-14T13:45:25.167-04:00",
            "id": "343440638-d2d62194-6f13-4790-b548-5429f3c8dbb8",
            "init_point": "https:\/\/www.mercadopago.com.mx\/checkout\/v1\/redirect?pref_id=343440638-d2d62194-6f13-4790-b548-5429f3c8dbb8",
            "sandbox_init_point": "https:\/\/sandbox.mercadopago.com.mx\/checkout\/v1\/redirect?pref_id=343440638-d2d62194-6f13-4790-b548-5429f3c8dbb8"
        }
    }
    01-14-2020 @ 18:45:25 - [create_preference]: payment link generated with success from mercado pago, with structure as follow: {
        "status": 201,
        "response": {
            "processing_modes": [],
            "metadata": {
                "collector": "343440638",
                "platform": "bo2hnr2ic4p001kbgpt0",
                "checkout_type": "",
                "details": "",
                "sponsor_id": 208692380,
                "module_version": "4.1.1",
                "platform_version": "3.7.0",
                "site_id": "MLM",
                "checkout": "smart",
                "test_mode": true
            },
            "binary_mode": false,
            "payment_methods": {
                "excluded_payment_methods": [
                    {
                        "id": ""
                    }
                ],
                "excluded_payment_types": [
                    {
                        "id": ""
                    }
                ],
                "installments": 24,
                "default_payment_method_id": null,
                "default_installments": 1
            },
            "collector_id": 343440638,
            "operation_type": "regular_payment",
            "items": [
                {
                    "id": "1327",
                    "picture_url": "https:\/\/tead.acsyt.com\/wp-content\/uploads\/2019\/10\/VTK-938-TEKA.png",
                    "title": "VTK 938 x 1",
                    "description": "Acabado-Cromo-extreme-glow-•-Caño-giratorio-•-Aireador-anti-cal-•-Maneral-extraíble-con-1-función-chorro-•-Mangueras-flexibles-de-alimentación-incluidas-•-Cartucho-cerámico-de-gran-duración-•-Presión-de",
                    "category_id": "electronics",
                    "currency_id": "MXN",
                    "quantity": 1,
                    "unit_price": 4470
                }
            ],
            "payer": {
                "name": "test",
                "surname": "test2",
                "email": "jjuradoc97@gmail.com",
                "date_created": "",
                "phone": {
                    "area_code": "",
                    "number": "0123456789"
                },
                "identification": {
                    "type": "",
                    "number": ""
                },
                "address": {
                    "street_name": "test 7894  test BS MX",
                    "street_number": null,
                    "zip_code": "11111"
                }
            },
            "back_urls": {
                "success": "https:\/\/tead.acsyt.com\/checkout\/order-received\/2618\/?key=wc_order_VI8WBoyxcq5LP",
                "pending": "https:\/\/tead.acsyt.com\/checkout\/order-received\/2618\/?key=wc_order_VI8WBoyxcq5LP",
                "failure": "https:\/\/tead.acsyt.com\/carrito\/?cancel_order=true&order=wc_order_VI8WBoyxcq5LP&order_id=2618&redirect&_wpnonce=1ebdf638a4"
            },
            "auto_return": "approved",
            "client_id": "2112235635678919",
            "marketplace": "NONE",
            "marketplace_fee": 0,
            "shipments": {
                "receiver_address": {
                    "zip_code": "11111",
                    "street_number": null,
                    "street_name": "test 7894 test test BS MX",
                    "floor": "",
                    "apartment": "test"
                }
            },
            "notification_url": "https:\/\/tead.acsyt.com\/wc-api\/WC_WooMercadoPago_BasicGateway\/",
            "external_reference": "WC-tead-2618",
            "additional_info": "",
            "expires": false,
            "expiration_date_from": null,
            "expiration_date_to": null,
            "date_created": "2020-01-14T13:45:25.167-04:00",
            "id": "343440638-d2d62194-6f13-4790-b548-5429f3c8dbb8",
            "init_point": "https:\/\/www.mercadopago.com.mx\/checkout\/v1\/redirect?pref_id=343440638-d2d62194-6f13-4790-b548-5429f3c8dbb8",
            "sandbox_init_point": "https:\/\/sandbox.mercadopago.com.mx\/checkout\/v1\/redirect?pref_id=343440638-d2d62194-6f13-4790-b548-5429f3c8dbb8"
        }
    }
    01-14-2020 @ 18:46:01 - [check_ipn_response]: received _get content: {
        "id": "1202909805",
        "topic": "merchant_order"
    }
    01-14-2020 @ 18:46:02 - [check_ipn_response]: order received but has no payment.
    01-14-2020 @ 18:46:03 - [check_ipn_response]: received _get content: {
        "data_id": "23439532",
        "type": "payment"
    }
    01-14-2020 @ 18:46:03 - [check_ipn_response]: request failure, received ipn call with no data.
    01-14-2020 @ 18:46:04 - [check_ipn_response]: received _get content: {
        "data_id": "23439532",
        "type": "payment"
    }
    01-14-2020 @ 18:46:04 - [check_ipn_response]: request failure, received ipn call with no data.01-14-2020 @ 18:45:24 - [process_payment]: customer being redirected to Mercado Pago.
    01-14-2020 @ 18:45:24 - [Created preference: ]: Preference: {
        "binary_mode": false,
        "external_reference": "WC-tead-2618",
        "notification_url": "https:\/\/tead.acsyt.com\/wc-api\/WC_WooMercadoPago_BasicGateway\/",
        "statement_descriptor": "MercadoPago",
        "items": [
            {
                "id": 1327,
                "title": "VTK 938 x 1",
                "description": "Acabado-Cromo-extreme-glow-•-Caño-giratorio-•-Aireador-anti-cal-•-Maneral-extraíble-con-1-función-chorro-•-Mangueras-flexibles-de-alimentación-incluidas-•-Cartucho-cerámico-de-gran-duración-•-Presión-de",
                "picture_url": "https:\/\/tead.acsyt.com\/wp-content\/uploads\/2019\/10\/VTK-938-TEKA.png",
                "category_id": "electronics",
                "quantity": 1,
                "unit_price": 4470,
                "currency_id": "MXN"
            }
        ],
        "payer": {
            "name": "test",
            "surname": "test2",
            "email": "jjuradoc97@gmail.com",
            "phone": {
                "number": "0123456789"
            },
            "address": {
                "zip_code": "11111",
                "street_name": "test 7894 \/ test BS MX"
            }
        },
        "back_urls": {
            "success": "https:\/\/tead.acsyt.com\/checkout\/order-received\/2618\/?key=wc_order_VI8WBoyxcq5LP",
            "failure": "https:\/\/tead.acsyt.com\/carrito\/?cancel_order=true&order=wc_order_VI8WBoyxcq5LP&order_id=2618&redirect&_wpnonce=1ebdf638a4",
            "pending": "https:\/\/tead.acsyt.com\/checkout\/order-received\/2618\/?key=wc_order_VI8WBoyxcq5LP"
        },
        "shipments": {
            "receiver_address": {
                "zip_code": "11111",
                "street_name": "test 7894 test test BS MX",
                "apartment": "test"
            }
        },
        "payment_methods": {
            "installments": 24,
            "default_installments": 1,
            "excluded_payment_methods": []
        },
        "auto_return": "approved",
        "metadata": {
            "platform": "bo2hnr2ic4p001kbgpt0",
            "platform_version": "3.7.0",
            "module_version": "4.1.1",
            "site_id": "MLM",
            "sponsor_id": 208692380,
            "collector": "343440638",
            "test_mode": true,
            "details": "",
            "checkout": "smart",
            "checkout_type": ""
        }
    }
    01-14-2020 @ 18:45:25 - [create_preference]: Created Preference: {
        "status": 201,
        "response": {
            "processing_modes": [],
            "metadata": {
                "collector": "343440638",
                "platform": "bo2hnr2ic4p001kbgpt0",
                "checkout_type": "",
                "details": "",
                "sponsor_id": 208692380,
                "module_version": "4.1.1",
                "platform_version": "3.7.0",
                "site_id": "MLM",
                "checkout": "smart",
                "test_mode": true
            },
            "binary_mode": false,
            "payment_methods": {
                "excluded_payment_methods": [
                    {
                        "id": ""
                    }
                ],
                "excluded_payment_types": [
                    {
                        "id": ""
                    }
                ],
                "installments": 24,
                "default_payment_method_id": null,
                "default_installments": 1
            },
            "collector_id": 343440638,
            "operation_type": "regular_payment",
            "items": [
                {
                    "id": "1327",
                    "picture_url": "https:\/\/tead.acsyt.com\/wp-content\/uploads\/2019\/10\/VTK-938-TEKA.png",
                    "title": "VTK 938 x 1",
                    "description": "Acabado-Cromo-extreme-glow-•-Caño-giratorio-•-Aireador-anti-cal-•-Maneral-extraíble-con-1-función-chorro-•-Mangueras-flexibles-de-alimentación-incluidas-•-Cartucho-cerámico-de-gran-duración-•-Presión-de",
                    "category_id": "electronics",
                    "currency_id": "MXN",
                    "quantity": 1,
                    "unit_price": 4470
                }
            ],
            "payer": {
                "name": "test",
                "surname": "test2",
                "email": "jjuradoc97@gmail.com",
                "date_created": "",
                "phone": {
                    "area_code": "",
                    "number": "0123456789"
                },
                "identification": {
                    "type": "",
                    "number": ""
                },
                "address": {
                    "street_name": "test 7894  test BS MX",
                    "street_number": null,
                    "zip_code": "11111"
                }
            },
            "back_urls": {
                "success": "https:\/\/tead.acsyt.com\/checkout\/order-received\/2618\/?key=wc_order_VI8WBoyxcq5LP",
                "pending": "https:\/\/tead.acsyt.com\/checkout\/order-received\/2618\/?key=wc_order_VI8WBoyxcq5LP",
                "failure": "https:\/\/tead.acsyt.com\/carrito\/?cancel_order=true&order=wc_order_VI8WBoyxcq5LP&order_id=2618&redirect&_wpnonce=1ebdf638a4"
            },
            "auto_return": "approved",
            "client_id": "2112235635678919",
            "marketplace": "NONE",
            "marketplace_fee": 0,
            "shipments": {
                "receiver_address": {
                    "zip_code": "11111",
                    "street_number": null,
                    "street_name": "test 7894 test test BS MX",
                    "floor": "",
                    "apartment": "test"
                }
            },
            "notification_url": "https:\/\/tead.acsyt.com\/wc-api\/WC_WooMercadoPago_BasicGateway\/",
            "external_reference": "WC-tead-2618",
            "additional_info": "",
            "expires": false,
            "expiration_date_from": null,
            "expiration_date_to": null,
            "date_created": "2020-01-14T13:45:25.167-04:00",
            "id": "343440638-d2d62194-6f13-4790-b548-5429f3c8dbb8",
            "init_point": "https:\/\/www.mercadopago.com.mx\/checkout\/v1\/redirect?pref_id=343440638-d2d62194-6f13-4790-b548-5429f3c8dbb8",
            "sandbox_init_point": "https:\/\/sandbox.mercadopago.com.mx\/checkout\/v1\/redirect?pref_id=343440638-d2d62194-6f13-4790-b548-5429f3c8dbb8"
        }
    }
    01-14-2020 @ 18:45:25 - [create_preference]: payment link generated with success from mercado pago, with structure as follow: {
        "status": 201,
        "response": {
            "processing_modes": [],
            "metadata": {
                "collector": "343440638",
                "platform": "bo2hnr2ic4p001kbgpt0",
                "checkout_type": "",
                "details": "",
                "sponsor_id": 208692380,
                "module_version": "4.1.1",
                "platform_version": "3.7.0",
                "site_id": "MLM",
                "checkout": "smart",
                "test_mode": true
            },
            "binary_mode": false,
            "payment_methods": {
                "excluded_payment_methods": [
                    {
                        "id": ""
                    }
                ],
                "excluded_payment_types": [
                    {
                        "id": ""
                    }
                ],
                "installments": 24,
                "default_payment_method_id": null,
                "default_installments": 1
            },
            "collector_id": 343440638,
            "operation_type": "regular_payment",
            "items": [
                {
                    "id": "1327",
                    "picture_url": "https:\/\/tead.acsyt.com\/wp-content\/uploads\/2019\/10\/VTK-938-TEKA.png",
                    "title": "VTK 938 x 1",
                    "description": "Acabado-Cromo-extreme-glow-•-Caño-giratorio-•-Aireador-anti-cal-•-Maneral-extraíble-con-1-función-chorro-•-Mangueras-flexibles-de-alimentación-incluidas-•-Cartucho-cerámico-de-gran-duración-•-Presión-de",
                    "category_id": "electronics",
                    "currency_id": "MXN",
                    "quantity": 1,
                    "unit_price": 4470
                }
            ],
            "payer": {
                "name": "test",
                "surname": "test2",
                "email": "jjuradoc97@gmail.com",
                "date_created": "",
                "phone": {
                    "area_code": "",
                    "number": "0123456789"
                },
                "identification": {
                    "type": "",
                    "number": ""
                },
                "address": {
                    "street_name": "test 7894  test BS MX",
                    "street_number": null,
                    "zip_code": "11111"
                }
            },
            "back_urls": {
                "success": "https:\/\/tead.acsyt.com\/checkout\/order-received\/2618\/?key=wc_order_VI8WBoyxcq5LP",
                "pending": "https:\/\/tead.acsyt.com\/checkout\/order-received\/2618\/?key=wc_order_VI8WBoyxcq5LP",
                "failure": "https:\/\/tead.acsyt.com\/carrito\/?cancel_order=true&order=wc_order_VI8WBoyxcq5LP&order_id=2618&redirect&_wpnonce=1ebdf638a4"
            },
            "auto_return": "approved",
            "client_id": "2112235635678919",
            "marketplace": "NONE",
            "marketplace_fee": 0,
            "shipments": {
                "receiver_address": {
                    "zip_code": "11111",
                    "street_number": null,
                    "street_name": "test 7894 test test BS MX",
                    "floor": "",
                    "apartment": "test"
                }
            },
            "notification_url": "https:\/\/tead.acsyt.com\/wc-api\/WC_WooMercadoPago_BasicGateway\/",
            "external_reference": "WC-tead-2618",
            "additional_info": "",
            "expires": false,
            "expiration_date_from": null,
            "expiration_date_to": null,
            "date_created": "2020-01-14T13:45:25.167-04:00",
            "id": "343440638-d2d62194-6f13-4790-b548-5429f3c8dbb8",
            "init_point": "https:\/\/www.mercadopago.com.mx\/checkout\/v1\/redirect?pref_id=343440638-d2d62194-6f13-4790-b548-5429f3c8dbb8",
            "sandbox_init_point": "https:\/\/sandbox.mercadopago.com.mx\/checkout\/v1\/redirect?pref_id=343440638-d2d62194-6f13-4790-b548-5429f3c8dbb8"
        }
    }
    01-14-2020 @ 18:46:01 - [check_ipn_response]: received _get content: {
        "id": "1202909805",
        "topic": "merchant_order"
    }
    01-14-2020 @ 18:46:02 - [check_ipn_response]: order received but has no payment.
    01-14-2020 @ 18:46:03 - [check_ipn_response]: received _get content: {
        "data_id": "23439532",
        "type": "payment"
    }
    01-14-2020 @ 18:46:03 - [check_ipn_response]: request failure, received ipn call with no data.
    01-14-2020 @ 18:46:04 - [check_ipn_response]: received _get content: {
        "data_id": "23439532",
        "type": "payment"
    }
    01-14-2020 @ 18:46:04 - [check_ipn_response]: request failure, received ipn call with no data.

    He probado en una instalación fresca de wordpress en mi local pero sigo sin obtener resultados.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Tengo el mismo problema.

    ¿Usas Cloudflare?

    Creo que el problema esta en SSL, alguna redirección o algo de Cloudflare.

    • This reply was modified 4 years, 2 months ago by jpmelnik.

    @jpmelnik no es Cloudflare. Me pasa lo mismo hace meses y no encuentro la solución. Probé en diferentes hostings, también con el soporte de Mercadopago y entienden que puede ser el problema.

    En mi caso es con el estado “Procesando”, y lo he resuelto utilizando este código que automáticamente lo marca “Completado”

    add_action( 'woocommerce_payment_complete_order_status', 'wc_auto_complete_paid_order', 10, 3 );
    function wc_auto_complete_paid_order( $status, $order_id, $order ) {
        return 'completed';
    }

    estou com o mesmo problema acredito que seja a versão do mercado pago. Boleto quando compensa não atualiza o pedido.

    Plugin Author Mercado Pago

    (@mercadopago)

    Hola, @ijuradoacsyt
    Este error puede ser causado por dos razones, para ser más precisos en la resolución necesitamos más detalles.
    Le recomendamos que utilice nuestro canal de soporte para poder prestar especial atención a su caso.
    Acceda al sitio web de Desarrolladores de Mercado Pago con su usuario para acceder al canal de soporte.
    Ruta: Desarrolladores Mercado Pago> Iniciar sesión> Soporte (en la pestaña superior)> Desarrolladores.
    Lamentablemente, no pudimos publicar enlaces directos aquí en el foro, debido a las reglas del foro, por lo que esperamos poder ayudarlo mejor a través de nuestros canales internos.

    Equipo de Mercado Pago

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Orden nunca actualiza su estado’ is closed to new replies.