Skip to main content

Google Pay

Google Pay is a digital wallet made by Google to support in-app, online, and in-person contactless purchases via mobile devices. It lets Android users pay with their smartphones, smartwatches, or tablets. Technically, Google Pay is not a payment method in itself — it is a payment tokenization method, and the actual payment is processed as a card payment using whichever card the shopper has added to their wallet.

Once users enter their card information, it's stored for future purchases, making it easier to pay for their next order. Payment information is securely transferred from the cardholder to us, so we can and complete the payment. Once card information is saved, shoppers use it to tap and pay, make purchases in apps and on websites, automatically fill in forms on Chrome, buy Google products, and transfer money to family and friends (US only). Google Pay users can also use loyalty cards, tickets, gift cards, and coupons from their favorite stores with Google Pay.

Availability

Google Pay is available in many countries and regions worldwide. Customers pay with the cards saved to their Google Account on a supported Android device or in Chrome. See Google Pay help for current device and country coverage.

Activation

As soon as your account has been approved, Google Pay is enabled by default — you do not need to do anything. You can go to MONEI Dashboard → Settings → Payment Methods to make adjustments to your configured payment methods.

Once activated, Google Pay is available in the Hosted Payment Page integration. You can also use the Payment Request Component to render the button directly on your website. See Integration for setup details.

To accept Google Pay payments you need at least one configured card processor in MONEI Dashboard → Settings → Payment Methods → Card payments.

Fees

Google Pay is not technically a payment method — it is a tokenization method. The actual payment method used depends on the credit or debit cards the consumer adds to their Wallet app. There are no extra costs to accept Google Pay through MONEI, and there are no extra transaction fees from Google Pay either — you only pay the regular card fees. For current pricing, see MONEI fees.

Payouts

Google Pay payments are card payments — Google Pay is the digital wallet shoppers use to store their card information. For this reason, the payout process is the same as card settlements, with no additional transaction fees. Learn more about settlements and when you will get paid.

Integration

Web integration

You can start accepting Google Pay payments on the Web using Hosted Payment Page or Payment Request Component. No additional configuration is required.

Our Payment Request Component gives you a single integration for Apple Pay and Google Pay. Customers see a Google Pay or an Apple Pay button, depending on what their device and browser combination supports.

If you prefer to integrate directly against the Google Pay API, follow the direct API integration guide below.

Before you begin

To accept Google Pay payments you need to have at least one configured card processor.

To configure card processors go to MONEI Dashboard → Settings → Payment Methods → Card payments.

Before you start, you need to:

  • Make sure that you have Google Pay enabled in MONEI Dashboard → Settings → Payment Methods.
  • Add a card in Chrome.
  • Serve your application over HTTPS. This is a requirement both in development and in production. One way to get up and running is to use a service like ngrok.

To test your integration:

  • Use your test mode Account ID and API Key.
  • You can use any real card details, you will not be charged in the test mode (card details are automatically replaced with the test card).
  • You can check the status of the test payment in your MONEI Dashboard → Payments (in test mode).
Google Pay Terms

By integrating Google Pay™, you adhere to the Google Pay APIs Acceptable Use Policy and accept the terms defined in the Google Pay API Terms of Service.

Express checkout

Use express checkout to collect shipping and billing addresses directly in the Google Pay payment sheet. See the Express Checkout guide for setup and examples.

Direct API Integration

If you prefer to integrate directly against the Google Pay API, follow Google's instructions.

Specify following specification:

const tokenizationSpecification = {
type: 'PAYMENT_GATEWAY',
parameters: {
gateway: 'monei',
gatewayMerchantId: 'MONEI_ACCOUNT_ID'
}
};

Use MONEI's merchantId from the Get PaymentMethods API (metadata.googlePay.merchantId). No separate registration with Google is required.

paymentDataRequest.merchantInfo = {
merchantName: 'Your Business Name',
// Get merchantId from Get PaymentMethods API (metadata.googlePay.merchantId)
// Test: 12345678901234567890, Production: BCR2DN6T37ENLJ3M
merchantId: 'MONEI_GOOGLE_PAY_MERCHANT_ID'
};

Exchange Google Pay token for MONEI that can be used to confirm payment:

async function processPayment(paymentData) {
// Encode Google Pay token as a base64 string
const token = window.btoa(paymentData.paymentMethodData.tokenizationData.token);
const result = await monei.api.createToken({
paymentId: '{{payment_id}}',
paymentMethod: {
googlePay: {
token: token
}
}
});
return moneiTokenHandler(result.paymentToken);
}

Confirm the Payment

After you have obtained the MONEI Payment Token, you can confirm the payment using the token.

async function moneiTokenHandler(token) {
try {
const result = await monei.confirmPayment({
paymentId: '{{payment_id}}',
paymentToken: token
});
// At this moment you can show a customer the payment result
// But you should always rely on the result passed to the callback endpoint
// on your server to update the order status
console.log(result);
} catch (error) {
console.error(error);
}
}

Before you go live

Common questions

How do I activate Google Pay?

As soon as your account has been approved, Google Pay is enabled by default — you do not need to do anything. You can adjust your configured payment methods in MONEI Dashboard → Settings → Payment Methods. See Activation for details.

What happens after I activate Google Pay?

After activation, Google Pay is available in the Hosted Payment Page integration, and you can also use the Payment Request Component to render the button directly on your website.

What are the transaction fees for Google Pay?

There are no extra costs to accept Google Pay through MONEI, and no extra fees from Google Pay. You only pay the regular card fees. See Fees.

How are Google Pay transactions paid out to me?

Google Pay payments are card payments, so the payout process is the same as card settlements with no additional transaction fees. See Payouts.