Account Setup

Before you begin integrating HitPay payments into your Google Forms, you need to set up your HitPay account and ensure some prerequisites are met:

  1. If you haven’t already, create an account on HitPay.
  2. Ensure that you have the necessary payment methods activated in your HitPay account.
  3. Make sure the payment methods you want to offer are enabled in your Google Form sales channel.

Google Form Pre-requisites

Through the HitPay plugin on Google Forms, you have the option of charging the customer a dynamic amount based on the responses submitted in the Google Form or a fixed amount per response:

Example of a dynamic amount form is here.

Example of a fixed amount form is here.

In case of a dynamic amount form, please remember to include the $ symbol before the amount as shown in the dynamic amount form above. We currently allow all types of currencies to be collected using Google Forms.

Getting Setup

  1. Install Plugin

Go to https://workspace.google.com/marketplace/app/hitpay/969836523186 and install the plugin in your Google account. Click Install if you only want to install the plugin to your Google account:

  1. Upon installing the plugin, navigate to your Google Forms page and click on the plugin logo as shown below:

  1. Click HitPay:

  1. Click Setup HitPay:

  1. Click on Store Your API Key:

  1. Select one of the options below.

A. If you select Create HitPay Account, you will be directed to the HitPay website for account creation:

B. If you click I Have a HitPay Account, you will be prompted to enter the API keys. To locate your API keys, navigate to Payment Gateway > API Keys on your HitPay Dashboard.

  1. Copy/Paste the API keys and click Save:

  1. Under Configure Form and Sheet, select the appropriate options (Get amount from responses or Fixed amount) as applicable in the settings menu as shown below and toggle from left to right to enable HitPay for the Google Form.

If you select Test Mode, ensure the API keys are taken from the HitPay Sandbox Environment.

  1. Enable/disable the payment methods you want to use for the Google form by updating your Integration Settings for Google Forms:

  1. Click Configure Form and Sheet:

Upon clicking Open Sheet, you will be navigated to the Google Sheet linked to the Google form. All the responses from the form will be collected in this Google Sheet including details on the payment status.

How payment collection works

Upon submission of form response, a payment link for the payable amount is sent to the respondent’s email address after submission of the form:

Upon clicking the link, the customer will be directed to the HitPay checkout page to complete payment.

After payment is completed, the customer will receive an automated email receipt sent from HitPay and you will also receive an email if the relevant notification setting is enabled in your HitPay dashboard.

The status of the payment is updated in the Google Sheet linked to the Google form when the respondent completes the payment using HitPay payment link as shown below:

All successful payments are captured in the HitPay dashboard under Sales and Reports > Transactions.

Things to note when creating a google form

  • Get amount from responses should be selected if it is a dynamic amount form and Fixed amount should be selected if it is a fixed amount form
  • Only use dropdown or multiple choice for payment options if Get amount from Responses is chosen to ensure that the plugin will work
  • Ensure to enter the correct currency symbol for your chosen currency