Publish your integration

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.

Additionally, complete the steps in the web setup guide.

Create your profile

Here's a list of steps to create your profile:

  1. Go to the Google Pay & Wallet Console.
  2. Complete your Business Profile.
  3. On the left-side navigation menu, click the Google Pay API tab.
  4. Click Get Started.
  5. Accept the Google Pay API Terms of Service and Acceptable Use Policy.
  6. Optional: Configure regional applicable features such as Fraud liability protection for Visa device tokens.

Now, you can see your merchant ID on the top-right corner of the page.

Showing the merchant ID

Integrate your website

Here's a list of steps to integrate your website:

  1. To make sure that your website is ready for review, evaluate the Integration checklist.
  2. In the Google Pay & Wallet Console, navigate to Google Pay API > Integrations > Integrate with your website section and click Add website.
  3. Provide the top-level domain that calls the Google Pay API.
  4. Select Integration type: Gateway (if using participating Payments Service Providers) or Direct (PCI DSS compliant merchants).
  5. Upload the website screenshots that show Google Pay integration.
  6. Click Save.
  7. Click Submit for approval.

Your website integration is ready for review by the Google Pay team.

Publish your production website

Here's a list of steps to publish your production website:

  1. To configure your website for production, enter MerchantInfo.merchantId.
  2.     merchantInfo: {
          merchantId: "BCR2DN6TSXXXZ000",
        }
      
  3. Initialize PaymentsClient with an object that includes an environment property set to 'PRODUCTION'.
  4.     const paymentsClient = new
        google.payments.api.PaymentsClient({environment: 'PRODUCTION'});
      
  5. Publish the website changes to your production environment.