FROM CACHE - pt-br_header

Problemas com pagamento Mercado Pago

NineGuerino
Visitante
1 0 0

Olá,

Estou tentando colocar o pagamento do meu site com o Mercado Pago, mas na hora de finalizar aparece essa mensagem:

app id invalid

O client_id e cliente_secret estão preenchidos de forma correta, já ativei o modo teste e o modo normal (sempre tocando as credencias no gateway) e não me aparece a opção de inserir dados do cartão

 

Segue abaixo o código do har gerado do retorno do console e o vídeo da tentativa de acesso.

 

 

 

{
  "log": {
    "version": "1.2",
    "creator": {
      "name": "WebInspector",
      "version": "537.36"
    },
    "pages": [
      {
        "startedDateTime": "2023-05-03T23:54:38.604Z",
        "id": "page_6",
        "title": "https://www.mercadopago.com/cart/preferences",
        "pageTimings": {
          "onContentLoad": 1333.3119999151677,
          "onLoad": 1632.5789999682456
        }
      }
    ],
    "entries": [
      {
        "_initiator": {
          "type": "other"
        },
        "_priority": "VeryHigh",
        "_resourceType": "document",
        "cache": {},
        "connection": "906171",
        "pageref": "page_6",
        "request": {
          "method": "POST",
          "url": "https://www.mercadopago.com/cart/preferences",
          "httpVersion": "http/2.0",
          "headers": [
            {
              "name": ":authority",
              "value": "www.mercadopago.com"
            },
            {
              "name": ":method",
              "value": "POST"
            },
            {
              "name": ":path",
              "value": "/cart/preferences"
            },
            {
              "name": ":scheme",
              "value": "https"
            },
            {
              "name": "accept",
              "value": "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7"
            },
            {
              "name": "accept-encoding",
              "value": "gzip, deflate, br"
            },
            {
              "name": "accept-language",
              "value": "pt-BR,pt;q=0.9,en-US;q=0.8,en;q=0.7"
            },
            {
              "name": "cache-control",
              "value": "max-age=0"
            },
            {
              "name": "content-length",
              "value": "1570"
            },
            {
              "name": "content-type",
              "value": "application/x-www-form-urlencoded"
            },
            {
              "name": "cookie",
              "value": "_mp_ci=759264346.1683122817; _d2id=6bb5c16c-1a95-4af4-83a8-7ce23624f3d8-n"
            },
            {
              "name": "origin",
              "value": "https://divabellabeauty.com"
            },
            {
              "name": "referer",
              "value": "https://divabellabeauty.com/"
            },
            {
              "name": "sec-ch-ua",
              "value": "\"Chromium\";v=\"112\", \"Google Chrome\";v=\"112\", \"Not:A-Brand\";v=\"99\""
            },
            {
              "name": "sec-ch-ua-mobile",
              "value": "?0"
            },
            {
              "name": "sec-ch-ua-platform",
              "value": "\"macOS\""
            },
            {
              "name": "sec-fetch-dest",
              "value": "document"
            },
            {
              "name": "sec-fetch-mode",
              "value": "navigate"
            },
            {
              "name": "sec-fetch-site",
              "value": "cross-site"
            },
            {
              "name": "upgrade-insecure-requests",
              "value": "1"
            },
            {
              "name": "user-agent",
              "value": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.0.0 Safari/537.36"
            }
          ],
          "queryString": [],
          "cookies": [
            {
              "name": "_mp_ci",
              "value": "759264346.1683122817",
              "path": "/",
              "domain": ".mercadopago.com",
              "expires": "2023-05-27T03:04:55.752Z",
              "httpOnly": false,
              "secure": true,
              "sameSite": "None"
            },
            {
              "name": "_d2id",
              "value": "6bb5c16c-1a95-4af4-83a8-7ce23624f3d8-n",
              "path": "/",
              "domain": ".mercadopago.com",
              "expires": "2024-05-02T23:52:50.388Z",
              "httpOnly": false,
              "secure": false
            }
          ],
          "headersSize": -1,
          "bodySize": 1570,
          "postData": {
            "mimeType": "application/x-www-form-urlencoded",
            "text": "x_reference=41909280080218&x_account_id=TEST-0e2b8575-c0f7-42c2-8cc3-80bce7762a43&x_amount=275.00&x_currency=BRL&x_url_callback=https%3A%2F%2Faline-barros-2023.myshopify.com%2Fservices%2Fping%2Fnotify_integration%2Fmercado_pago%2F62621647194&x_url_complete=https%3A%2F%2Fdivabellabeauty.com%2F62621647194%2Fcheckouts%2F00129c69270ba8919ba8987462484fdf%2Foffsite_gateway_callback&x_shop_country=BR&x_shop_name=Aline+Barros+2023&x_test=true&x_customer_first_name=Aline&x_customer_last_name=Barros&x_customer_email=rajaba21%40icloud.com&x_customer_phone=19+99800-4228&x_customer_billing_country=BR&x_customer_billing_city=Campinas&x_customer_billing_company=33863390857&x_customer_billing_address1=Rua+J%C3%BAlio+da+Silva+Batista+%2C+238&x_customer_billing_address2=Jd+Londres&x_customer_billing_state=SP&x_customer_billing_zip=13060-221&x_customer_billing_phone=19+99800-4228&x_customer_shipping_country=BR&x_customer_shipping_first_name=Aline&x_customer_shipping_last_name=Barros&x_customer_shipping_city=Campinas&x_customer_shipping_company=33863390857&x_customer_shipping_address1=Rua+J%C3%BAlio+da+Silva+Batista+%2C+238&x_customer_shipping_address2=Jd+Londres&x_customer_shipping_state=SP&x_customer_shipping_zip=13060-221&x_customer_shipping_phone=19+99800-4228&x_invoice=%2341909280080218&x_description=Aline+Barros+2023+-+%2341909280080218&x_url_cancel=https%3A%2F%2Fdivabellabeauty.com%2F62621647194%2Fcheckouts%2F00129c69270ba8919ba8987462484fdf%3Fkey%3D42af84fc995ab78f28d7c74239ccff19&x_signature=3ee3a699deb53ac4c568e3c7c63ca1c10f8310added1338edf46c5809bde0184",
            "params": [
              {
                "name": "x_reference",
                "value": "41909280080218"
              },
              {
                "name": "x_account_id",
                "value": "TEST-0e2b8575-c0f7-42c2-8cc3-80bce7762a43"
              },
              {
                "name": "x_amount",
                "value": "275.00"
              },
              {
                "name": "x_currency",
                "value": "BRL"
              },
              {
                "name": "x_url_callback",
                "value": "https%3A%2F%2Faline-barros-2023.myshopify.com%2Fservices%2Fping%2Fnotify_integration%2Fmercado_pago%2F62621647194"
              },
              {
                "name": "x_url_complete",
                "value": "https%3A%2F%2Fdivabellabeauty.com%2F62621647194%2Fcheckouts%2F00129c69270ba8919ba8987462484fdf%2Foffsite_gateway_callback"
              },
              {
                "name": "x_shop_country",
                "value": "BR"
              },
              {
                "name": "x_shop_name",
                "value": "Aline+Barros+2023"
              },
              {
                "name": "x_test",
                "value": "true"
              },
              {
                "name": "x_customer_first_name",
                "value": "Aline"
              },
              {
                "name": "x_customer_last_name",
                "value": "Barros"
              },
              {
                "name": "x_customer_email",
                "value": "rajaba21%40icloud.com"
              },
              {
                "name": "x_customer_phone",
                "value": "19+99800-4228"
              },
              {
                "name": "x_customer_billing_country",
                "value": "BR"
              },
              {
                "name": "x_customer_billing_city",
                "value": "Campinas"
              },
              {
                "name": "x_customer_billing_company",
                "value": "33863390857"
              },
              {
                "name": "x_customer_billing_address1",
                "value": "Rua+J%C3%BAlio+da+Silva+Batista+%2C+238"
              },
              {
                "name": "x_customer_billing_address2",
                "value": "Jd+Londres"
              },
              {
                "name": "x_customer_billing_state",
                "value": "SP"
              },
              {
                "name": "x_customer_billing_zip",
                "value": "13060-221"
              },
              {
                "name": "x_customer_billing_phone",
                "value": "19+99800-4228"
              },
              {
                "name": "x_customer_shipping_country",
                "value": "BR"
              },
              {
                "name": "x_customer_shipping_first_name",
                "value": "Aline"
              },
              {
                "name": "x_customer_shipping_last_name",
                "value": "Barros"
              },
              {
                "name": "x_customer_shipping_city",
                "value": "Campinas"
              },
              {
                "name": "x_customer_shipping_company",
                "value": "33863390857"
              },
              {
                "name": "x_customer_shipping_address1",
                "value": "Rua+J%C3%BAlio+da+Silva+Batista+%2C+238"
              },
              {
                "name": "x_customer_shipping_address2",
                "value": "Jd+Londres"
              },
              {
                "name": "x_customer_shipping_state",
                "value": "SP"
              },
              {
                "name": "x_customer_shipping_zip",
                "value": "13060-221"
              },
              {
                "name": "x_customer_shipping_phone",
                "value": "19+99800-4228"
              },
              {
                "name": "x_invoice",
                "value": "%2341909280080218"
              },
              {
                "name": "x_description",
                "value": "Aline+Barros+2023+-+%2341909280080218"
              },
              {
                "name": "x_url_cancel",
                "value": "https%3A%2F%2Fdivabellabeauty.com%2F62621647194%2Fcheckouts%2F00129c69270ba8919ba8987462484fdf%3Fkey%3D42af84fc995ab78f28d7c74239ccff19"
              },
              {
                "name": "x_signature",
                "value": "3ee3a699deb53ac4c568e3c7c63ca1c10f8310added1338edf46c5809bde0184"
              }
            ]
          }
        },
        "response": {
          "status": 400,
          "statusText": "",
          "httpVersion": "http/2.0",
          "headers": [
            {
              "name": "content-length",
              "value": "14"
            },
            {
              "name": "content-security-policy-report-only",
              "value": "script-src 'self' 'unsafe-eval' 'unsafe-inline' https://www.gstatic.com https://www.google.com https://adservice.google.com https://www.googleadservices.com https://*.mlstatic.com https://js-agent.newrelic.com https://*.hotjar.com https://*.nr-data.net https://www.google-analytics.com https://analytics.tiktok.com https://connect.facebook.net https://*.googlesyndication.com https://tags.creativecdn.com https://www.googletagmanager.com https://googleads.g.doubleclick.net https://www.datadoghq-browser-agent.com https://maps.googleapis.com https://ssl.google-analytics.com https://static.meli.com https://*.mercadolibre.com https://*.mercadopago.com; report-to endpoint-csp; report-uri https://events.mercadolibre.com/csp/reports"
            },
            {
              "name": "content-type",
              "value": "text/plain; charset=utf-8"
            },
            {
              "name": "date",
              "value": "Wed, 03 May 2023 23:54:39 GMT"
            },
            {
              "name": "referrer-policy",
              "value": "no-referrer-when-downgrade"
            },
            {
              "name": "reporting-endpoints",
              "value": "endpoint-csp=\"https://events.mercadolibre.com/csp/v2/reports\""
            },
            {
              "name": "strict-transport-security",
              "value": "max-age=31536000; includeSubDomains; preload"
            },
            {
              "name": "via",
              "value": "1.1 72edd10a8060c70d07d0df3ad81cc712.cloudfront.net (CloudFront)"
            },
            {
              "name": "x-amz-cf-id",
              "value": "LxuJ0pRKZYWtmVQbAfIEP3-z1QMj7NiYhv1JsDq-sy0dh0R29Uv5vA=="
            },
            {
              "name": "x-amz-cf-pop",
              "value": "GRU1-C1"
            },
            {
              "name": "x-cache",
              "value": "Error from cloudfront"
            },
            {
              "name": "x-content-type-options",
              "value": "nosniff"
            },
            {
              "name": "x-d2id",
              "value": "6bb5c16c-1a95-4af4-83a8-7ce23624f3d8"
            },
            {
              "name": "x-request-device-id",
              "value": "6bb5c16c-1a95-4af4-83a8-7ce23624f3d8"
            },
            {
              "name": "x-request-id",
              "value": "9911bb83-b825-4ab2-87c1-30e75bc8a378"
            },
            {
              "name": "x-xss-protection",
              "value": "1; mode=block"
            }
          ],
          "cookies": [],
          "content": {
            "size": 14,
            "mimeType": "text/plain",
            "text": "app id invalid"
          },
          "redirectURL": "",
          "headersSize": -1,
          "bodySize": -1,
          "_transferSize": 1108,
          "_error": null
        },
        "serverIPAddress": "13.227.126.95",
        "startedDateTime": "2023-05-03T23:54:38.592Z",
        "time": 1396.029000082709,
        "timings": {
          "blocked": 14.059000067256392,
          "dns": 292.62100000000004,
          "ssl": 218.22299999999996,
          "connect": 737.77,
          "send": 0.5750000000000455,
          "wait": 350.5109999867975,
          "receive": 0.493000028654933,
          "_blocked_queueing": 12.041000067256391
        }
      }
    ]
  }
}

 

 

 

Obrigada,

Alne Barros

2 RESPOSTAS 2

BiancaJRR
Visitante
1 0 0

Bom dia! Estou com o mesmo problema. Como você conseguiu resolver? Poderia me ajudar? Por favor...

Paula
Shopify Staff
1860 362 287

Olá @BiancaJRR!

 

Pelo que informou eu entendo que você também está usando o Mercado Pago e está encontrando a mensagem "app id invalid" na finalização da compra, certo? Você já entrou em contato com o Mercado Pago para conferir essa questão?

 

Devo esclarecer que o Mercado Pago é um provedor desenvolvido por terceiros, portanto, nós da Shopify não somos familiares com a integração e não temos acesso às ferramentas internas do Mercado Pago. Acredito que esse erro é um problema na integração do provedor com a plataforma.

 

Assim, o melhor suporte para te auxiliar neste processo e investigar o que está acontecendo é o suporte do Mercado Pago. Sugiro que você entre em contato diretamente com eles, pois eles com certeza vão poder investigar o que está acontecendo com a integração como também checar se as suas credenciais para conectar o provedor estão válidas e ativas. Veja a página de contato do Mercado Pago aqui. 

 

Se tiver alguma outra dúvida, continuamos à disposição!

Paula | Social Care @ Shopify 
 - A minha resposta foi útil? Clique em Curtir para me dizer! 
 - Sua dúvida foi respondida? Clique em Aceitar Solução
 - Para saber mais visite nossa Central de Ajuda Shopify ou nosso Shopify Blog