Stay organized with collections Save and categorize content based on your preferences.
This section describes how to configure your website for production and accept payment credentials from your users.
Prerequisites
Before you apply for production access, make sure that you have a supported payment gateway or a Payment Card Industry Data Security Standard (PCI DSS) compliant environment that's suitable to handle cardholder data payment information.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-10 UTC."],[[["\u003cp\u003eThis guide outlines the process of configuring your website for Google Pay to accept payments from users in a production environment.\u003c/p\u003e\n"],["\u003cp\u003eBefore starting, ensure you have a supported payment gateway or a PCI DSS compliant environment and complete the web setup guide.\u003c/p\u003e\n"],["\u003cp\u003eYou'll need to create a Google Pay Business Profile, integrate your website by providing domain details and screenshots for review, and then publish your site with the necessary code updates for production.\u003c/p\u003e\n"],["\u003cp\u003eMerchants using payment gateways should select the 'Gateway' integration type, while those directly handling cardholder data should choose 'Direct' and ensure PCI DSS compliance.\u003c/p\u003e\n"],["\u003cp\u003eRemember to update your website code with your Merchant ID and initialize the PaymentsClient for a production environment before publishing the changes.\u003c/p\u003e\n"]]],["To configure your website for production and accept payments, ensure you have a supported payment gateway or a PCI DSS compliant environment and complete the web setup guide. Create a profile in the Google Pay & Wallet Console, accepting the terms and optional features. Integrate your website by adding it in the console, selecting the integration type, and submitting it for approval. Publish by setting the `merchantId` and initializing `PaymentsClient` with the `PRODUCTION` environment.\n"],null,["# Publish your integration\n\nThis section describes how to configure your website for production and accept payment\ncredentials from your users.\n\nPrerequisites\n-------------\n\nBefore you apply for production access, make sure that you have a supported payment gateway\nor a Payment Card Industry Data Security Standard (PCI DSS) compliant environment that's\nsuitable to handle cardholder data payment information.\n\nAdditionally, complete the steps in the [web setup guide](/pay/api/web/guides/setup).\n\nCreate your profile\n-------------------\n\nHere's a list of steps to create your profile:\n\n1. Go to the [Google Pay \\& Wallet Console](https://pay.google.com/business/console?utm_source=devsite&utm_medium=devsite&utm_campaign=devsite).\n2. In the **Type of business** list select **Merchant**, and fill out other required information.\n3. Complete your [Business Profile](https://support.google.com/google-pay-and-wallet-console/answer/10877772).\n4. On the left-side navigation menu, click the **Google Pay API** tab.\n5. Click **Get Started**.\n6. Accept the [Google Pay API Terms of Service](https://payments.developers.google.com/terms/sellertos) and [Acceptable Use Policy](https://payments.developers.google.com/terms/aup/v1_1).\n7. **Optional** : Configure regional applicable features such as [Fraud liability protection for Visa device tokens](/pay/api/web/guides/resources/shift-liability-to-issuer).\n\nNow, you can see your merchant ID on the top-right corner of the page.\n\nIntegrate your website\n----------------------\n\nHere's a list of steps to integrate your website:\n\n1. To make sure that your website is ready for review, evaluate the [Integration checklist](/pay/api/web/guides/test-and-deploy/integration-checklist).\n2. In the [Google Pay \\& Wallet Console](https://pay.google.com/business/console?utm_source=devsite&utm_medium=devsite&utm_campaign=devsite), navigate to **Google Pay API \\\u003e Integrations \\\u003e Integrate with your website** section and click **Add website**.\n3. Provide the top-level domain that calls the Google Pay API.\n| **Note** : If you intend to submit more than 50 fully qualified domains that include subdomains, get in touch with us beforehand through our [contact support form](https://docs.google.com/forms/d/e/1FAIpQLSdnBbqNqM-O6EWOunplX3Mkd6fQJCDUWeRirtfHL8pDqzJyBQ/viewform) for a possible alternative solution.\n4. Select **Integration type: Gateway** (if using [participating Payments Service Providers](/pay/api#participating-processors)) or **Direct** (PCI DSS compliant merchants).\n5. Upload the website screenshots that show Google Pay integration.\n6. Click **Save**.\n7. Click **Submit for approval**.\n\nYour website integration is ready for review by the Google Pay team.\n\nPublish your production website\n-------------------------------\n\nHere's a list of steps to publish your production website:\n\n1. To configure your website for production, enter [MerchantInfo.merchantId](/pay/api/web/reference/request-objects#MerchantInfo). \n\n```text\n merchantInfo: {\n merchantId: \"BCR2DN6TSXXXZ000\",\n }\n \n```\n2. Initialize `PaymentsClient` with an object that includes an `environment` property set to `'PRODUCTION'`. \n\n```gdscript\n const paymentsClient = new\n google.payments.api.PaymentsClient({environment: 'PRODUCTION'});\n \n```\n3. Publish the website changes to your production environment."]]