Unitpay
en
en
  • Home
  • First steps
    • Registration
    • Adding a Project
      • Adding a VK Community Project
    • Project Moderation
    • Transfer of the Project
    • Video tutorials
  • Payments
    • Creating a payment (easy way)
    • Creating a Payment
    • Creating a payment (widget)
    • Parameters for receipts
    • Creating Payment Links in Your Personal Account
    • Payment Handler
    • Payment information
    • Payment Refund
    • Payments with Pre-authorization
    • Recurring payments
      • Creating a Subscription
      • Getting Information About Subscription
      • Getting a List of Active Subscriptions
      • Closing a Subscription
  • Mass payouts
    • Creating a payout
    • Information about Payout
    • Card information by BIN
    • Payments based on a CSV registry
  • Online cash desk
    • Parameters for generating a receipt
    • Unit.Reciepts
    • Adding online cash desk
    • Types of Online Cash Register Receipt Items
    • Advance credit reciepts
  • Modules
    • Payment handler
    • Unitpay SDK
    • CMS modules
      • Amiro
      • PHPShop
      • 1C Bitrix
      • CS-Cart
      • DIAFAN.CMS
      • Drupal 7 (commerce)
      • Drupal 7 (ubercart 3)
      • Drupal 8, 9 (commerce)
      • Ecwid by Lightspeed
      • HostCMS
      • InSales
      • Joomshopping 4 (joomla 3)
      • LogicBoxes
      • Magento
      • Magento 2
      • OpenCart
      • osCommerce
      • Prestashop
      • ReadyScript
      • ShopCMS
      • Simpla
      • Tilda
      • Netcat CMS
      • UMI.CMS
      • VamShop 2
      • VirtueMart 3 (joomla 3)
      • Webasyst Shop Script 7 (8)
      • Wix
      • Woocommerce Wordpress
      • Zen Cart
      • Amiro CMS
      • CMS NWICODE
      • MODX (miniShop2)
  • Manage Unitpay
    • Interface Instructions
    • SP documents
    • Legal entity documents
    • Current Balance
    • Commissions
    • Currency Conversion Rates
  • Book of reference
    • System IP addresses
    • Payment Form Appearance
    • Using the Test API
    • Operator Codes
    • Payment System Codes
    • Currency codes
    • Qiwi Country Codes
  • Referral program
    • Interface of Referrer's (Agent's) Account
  • Support
  • Other
    • Telegram bot
    • Using the Test API
  • Google Pay™
Powered by GitBook
On this page

Was this helpful?

Google Pay™

PreviousUsing the Test API

Last updated 3 years ago

Was this helpful?

About Google Pay™

Google Pay™ is a fast and simple payment method that allows you to make card payments without entering card details for each payment. The card data is safely stored by Google™. This payment method is available for all devices (mobile phones and computers), regardless of the operating system and web browser.

Unitpay gives you a way to easily add it on your checkout page, making it more convenient for your clients to pay on your website.

As a merchant, you can use Google Pay™ via Unitpay checkout page or via Google Pay™ API.

Integration via Unitpay checkout page

Google Pay™ via Unitpay checkout page will be available for you after integration.

you can read about first steps of integration (registration, adding a project).

you can read about work with payments.

You can check the availability of accepting payments via Google Pay™ on the settings page of your project in Unitpay. As shown in the picture below:

The payer will see a page with the name of product, prices and Google Pay™ ****button:

Connection with Google Pay API

Before you start

  • You should register with Google Pay™ API to proceed with this integration option.

  • Your website should use HTTPS and support TLS protocol.

  • You should be registered with Unitpay as a merchant.

Instruction

Firstly please review the following documentation in order to get familiar with the integration process:

The gateway parameter in the script should have the constant value of unitpay.

The value of the gatewayMerchantId parameter should be the identifier of the payment point where the order is made.

"gateway": "unitpay"
"gatewayMerchantId": "YOUR_GATEWAY_MERCHANT_ID"

In response, Google shall return the PaymentData item, and the field paymentMethodData.tokenizationData.token shall contain a safely encrypted Google Pay™ Token (a string of characters).

Supported payment systems:

"allowedCardNetworks": [
    "MASTERCARD",
    "VISA"
]

Supported authorization methods:

"allowedAuthMethods": [
    "PAN_ONLY",
    "CRYPTOGRAM_3DS"
]

Billing request parameter BillingAddressParametersis not used.

Charging

To charge the payment card stored under Google Pay™, in the direct method request fill in paymentType and token with the following values:

  • "paymentType": "googlepay"

  • "token": "${paymentMethodData.tokenizationData.token}"

Further processing of the request is subject to the standard payment process.

{% hint style="info" %} If the card supports 3DS for PAN_ONLY credentials, you will receive a redirectUrl in response, where you need to redirect the payer. {% endhint %}

Please note that it may be necessary to handle a redirect of the request to the 3D Secure authentication page.

  • "redirectUrl": "https://{url-for-redirect}..."

Google Pay™ documentation:

API documentation and

Brand guidelines and

After creating the payment, you will receive paymentId, by which you can the status of the payment.

for mobile application
for website
for mobile application
for website
check
Google Pay for payments on websites
Integration checklist
Brand guidelines
Here
Here