> For the complete documentation index, see [llms.txt](https://developers.doku.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developers.doku.com/accept-payments/doku-checkout/additional-feature/google-pay-tm/integration-guide.md).

# Integration Guide

### 1. Activate Google Pay™&#x20;

As a Google Pay-supported Payment Service Provider (PSP), DOKU manages the Google Pay integration on your behalf, including production access and compliance with Google Pay's brand and technical requirements. **There is no additional development effort required from your side.**

To enable Google Pay in production, simply activate it through your DOKU Dashboard by following the steps below:

1. Log in to your **DOKU Dashboard** at <https://dashboard.doku.com/bo/dashboard>

<figure><img src="/files/A30KtwO6wWOJOcEbYs4m" alt=""><figcaption></figcaption></figure>

2. Navigate to **Settings → Service**&#x20;

<figure><img src="/files/lWEd2dE1sZjKMqwcDSX9" alt=""><figcaption></figcaption></figure>

3. Click **Add Service and** Enable **Cards** and/or **DANA** as your payment method (Prerequisites to activate Google Pay)

<figure><img src="/files/ETyhib420MorUk45UBbZ" alt=""><figcaption></figcaption></figure>

4. Once your Card or DANA channel activated on DOKU, you can activate Google Pay by go to same menu **Add Service** > Find **Google Pay under Financial Services > Others Tab > Enable Google Pay**

   <figure><img src="/files/LRZO8WBkHZyGZN3Ts8V6" alt=""><figcaption></figcaption></figure>
5. Once activated, the Google Pay button will automatically appear on your DOKU Checkout Page for eligible customers

{% hint style="warning" %}
The Google Pay button will only be displayed to customers whose devices meet Google Pay's eligibility requirements (e.g., Android device with a linked card or DANA account on their Google Account).
{% endhint %}

For a complete overview of how Google Pay works, refer to the [Google Pay Web Developer Documentation](https://developers.google.com/pay/api/web/overview)&#x20;

### 2. Publish your integration through DOKU Checkout Page

{% hint style="info" %}
DOKU only provides a Hosted method. DOKU handles both the UI and backend logic, managing the entire payment flow once the user is redirected to their checkout URL.
{% endhint %}

{% tabs %}
{% tab title="Checkout Page" %}
{% stepper %}
{% step %}

### Follow this [Guidance](https://developers.doku.com/accept-payments/doku-checkout/integration-guide/backend-integration#basic-request) to generate Checkout URL

<figure><img src="/files/Wv4sCFVUrKxIrY5edc1l" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### Receive the Checkout URL from API Response

{% endstep %}

{% step %}

### Your customer can then access the link and will be directed to the checkout page

<figure><img src="/files/7IctvrmWCzULrd982fOS" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### Click Checkout with Google Pay and a pop up will show up then click "Pay"

<figure><img src="/files/565uhxkUWb2Bhzh0Qfq3" alt=""><figcaption></figcaption></figure>
{% endstep %}
{% endstepper %}
{% endtab %}

{% tab title="Payment Link" %}
{% stepper %}
{% step %}

### Go to generate payment link and click "Create Payment Link"

<figure><img src="/files/G3y5XWnW9wtRDzNgM99P" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### Fill the necessary details and click "Create Payment Link"

<figure><img src="/files/xoGGtf2tBGpsc623IO8P" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### A payment link will be created

<figure><img src="/files/ZhT3VxIhjinECxCX20Jb" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### Your customer can then access the link and will be directed to the checkout page

<figure><img src="/files/7IctvrmWCzULrd982fOS" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### Click Checkout with Google Pay and a pop up will show up then click "Pay"

<figure><img src="/files/565uhxkUWb2Bhzh0Qfq3" alt=""><figcaption></figcaption></figure>
{% endstep %}
{% endstepper %}
{% endtab %}
{% endtabs %}

{% hint style="info" %}
To ensure your integration meets all of Google Pay's requirements, please review the [Google Pay Integration Checklist](https://developers.google.com/pay/api/web/guides/test-and-deploy/integration-checklist).
{% endhint %}
