# MD for: https://www.mercadopago.com.br/developers/es/docs/google-pay/go-to-production.md \# Go to production Once the configuration and the testing process is complete, your integration will be ready to go live. See below the necessary requirements to make this change effectively and safely, ensuring that the integration is prepared to receive real transactions. :::AccordionComponent{title="Activate production credentials" pill="1"} After completing the \[tests for your integration\](https://www.mercadopago.com.br/developers/en/docs/google-pay/web-integration), activate the production environment before you start receiving real payments. To activate the production environment and obtain the credentials, follow these steps: 1\. Go to \[Integrations\](https://www.mercadopago.com.br/developers/panel/app) and select the application. 2\. Click \*\*Credentials\*\* in the side menu. 3\. Select \*\*Production\*\* in the environment selector and click \*\*Activate production environment\*\*. 4\. Enter your business sector and website. 5\. Accept the \[Privacy Statement\](https://www.mercadopago.com.br/privacidade) and the \[Terms and Conditions\](https://www.mercadopago.com.br/developers/en/docs/resources/legal/terms-and-conditions). Then, click \*\*Activate\*\*. ::: :::AccordionComponent{title="Use production credentials" pill="2"} After activating the environment, you will find the production credentials available for the application: \*\*Public Key\*\*, \*\*Access Token\*\*, \*\*Client ID\*\*, and \*\*Client Secret\*\*. Replace the test Public Key and Access Token with the production credentials before processing real operations. !\[Application production credentials\](/images/dashboard/credentials-production-pt-v1.png) The \*\*Public Key\*\* and \*\*Access Token\*\* are used to integrate payments. The \*\*Client ID\*\* and \*\*Client Secret\*\* are mainly used in integrations that implement \[OAuth\](https://www.mercadopago.com.br/developers/en/docs/security/oauth), especially through the \_Client Credentials\_ flow. | Type | Description | |---|---| | Public Key | Public key linked to an application and used in the \_frontend\_ to initialize the integration during real transactions. | | Access Token | Private production key used in the \_backend\_ to authenticate requests to Mercado Pago APIs. It must never be shared or exposed in the \_frontend\_. | | Client ID | Unique identifier that represents the application in integrations that implement OAuth. | | Client Secret | Private key used with the Client ID to authenticate the application. It must never be shared or exposed in the \_frontend\_. | Before copying a credential, verify that the selector displays the \*\*Production\*\* environment. For more information, see the \[Credentials\](https://www.mercadopago.com.br/developers/en/docs/google-pay/credentials) documentation. When you use the production \_Public Key\_, the SDK starts using the Google Pay production environment. Also remove the \`testStatus\` property from the configuration. ::: :::AccordionComponent{title="Configure Google Pay for production" pill="3"} Google requires you to register the business profile, submit the site for approval and include the Merchant ID in the production configuration. In the integration with Mercado Pago, select \*\*Gateway\*\* as the integration type, since Mercado Pago processes the payments. See the \[Google Pay publishing guide\](https://developers.google.com/pay/api/web/guides/test-and-deploy/publish-your-integration). The Merchant ID is issued by Google and must be provided in \`merchantInfo.merchantId\`. The \`gateway\` and \`gatewayMerchantId\` parameters are configured automatically by the Mercado Pago JS SDK, and you do not need to fill them in. 1\. Go to the \[Google Pay & Wallet Console\](https://pay.google.com/business/console) and complete the \*\*Merchant\*\* business profile. Accept the terms of service and the policies that apply to the Google Pay API. 2\. In the Console, go to \*\*Google Pay API > Integrations > Integrate with your website > Add website\*\*. Register each domain and subdomain where Google Pay will be used. Each domain must be submitted individually for approval. 3\. Select \*\*Gateway\*\* as the integration type. 4\. Fill in the requested information and attach screenshots of your checkout showing the Google Pay button and the Google Pay payment screen open. Click \*\*Save\*\* and then \*\*Submit for approval\*\*. 5\. Find your Merchant ID in the Google Pay & Wallet Console. Wait for the site's approval, indicated by the \*\*Active\*\* status, before enabling real payments, and provide the Merchant ID in \`merchantInfo.merchantId\` in the production configuration. ::: :::AccordionComponent{title="Implement SSL certificate" pill="4"} To ensure a secure integration that protects the data of every transaction, it is essential to implement an SSL (\*\*Secure Sockets Layer\*\*) certificate. This certificate, together with the use of the HTTPS protocol when providing payment methods, guarantees an encrypted connection between the client and the server. Adopting these measures not only strengthens the security of user data, but also ensures compliance with the specific regulations and laws of each country regarding data protection and information security. In addition, it significantly contributes to providing a safer and more reliable shopping experience. Although \*\*the SSL certificate is not required during the testing period\*\*, its implementation is mandatory for production. For more information, see the \[Mercado Pago Terms and Conditions\](https://www.mercadopago.com.br/developers/en/docs/resources/legal/terms-and-conditions). ::: :::AccordionComponent{title="Check possible statuses and errors (optional)" pill="5"} You can see a list of the possible \`status\` values an \*\*order\*\* can take, as well as the \*\*possible errors\*\* the API can return and how to fix them, in their respective documentation: - \[Order status\](https://www.mercadopago.com.br/developers/en/docs/checkout-api-orders/payment-management/status/order-status) - \[Possible errors\](https://www.mercadopago.com.br/developers/en/docs/google-pay/frequent-errors) :::