Integrating Google Pay API

To integrate your website with the Google Pay payment method, you must proceed according to the instructions placed at the Google website. Click here to start the Google Pay API integration process.

Before beginning Google Pay integration, ensure you:

  1. Set up Google Pay to enable payments from your website
  2. Integrate Google Pay API with Paysafe as your Gateway
  3. Configure the Google Pay merchant Id

The card type that is supported by Google pay (whether it’s Tokenized/PAN-only or both) depends on your acquirer.

Integrating Google Pay API with Paysafe as your Gateway

You must specify the gateway parameter in the script as Paysafe, as illustrated in the example below:

 const tokenizationSpecification = {
			type: 'PAYMENT_GATEWAY',
			parameters: {
			'gateway': 'paysafe',
			'gatewayMerchantId': GATEWAY_MERCHANT_ID
			

You can obtain your GATEWAY_MERCHANT_ID from the following screen in Paysafe Merchant Back Office, under Settings > API Key.

OT-52090 in the above screen under User name is the GATEWAY_MERCHANT_ID in this case.

Did you find this page useful?