Orden nunca actualiza su estado
-
Al efectuar un pago con mercadopago con el checkout básico y con las tarjetas de débito/c?edito de prueba https://www.mercadopago.com.mx/developers/es/guides/payments/web-payment-checkout/test-integration/, 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": "[email protected]", "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": "[email protected]", "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": "[email protected]", "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 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Orden nunca actualiza su estado’ is closed to new replies.