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 store 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.

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. 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 a gateway (payment processor) or a direct (PCI DSS compliant environment) integration type.
  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: "012345678912",
        }
      
  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.