Payment Integrator Static Configuration

Google provides several configuration options to its integrators to help them create a great user exeperience. The configuration options listed in this article do not include technical configuration like keys and URLs.

SupportsUserAddress

Type: boolean

This variable determines if the integrator can provide a mailing address for the user at association time. If this is false, Google will not request the user's address.

UseTermsOfService

Type: tuple of URL & version

If this URL is set, then at association time, Google will ask the user to agree to this ToS prior to Google sending the user through the association flow. This must use the HTTPS scheme.

UserAddressTermsOfService

Type: tuple of URL & version

If this URL is set, then at association time Google will ask the user to agree to this TOS prior to Google requesting the user's address. This must use the HTTPS scheme.

Supported Currency

Type: 3 digit currency code

Each account ID supports only one currency. The users transact in the currency defined here.

Minimum Amount

Type: integer

This is the minimum purchase and refund amount in the supported currency that the account ID can support.

Payment Refund Window

Type: integer

This is the number of months after a capture's transactionTime that a payment can be refunded. This should never be less than 6 months and the preferred window is 12 months.

Major Versions Supported

Type: set of integers

This is the major version supported by this integrator.

Backend Server URL

Type: string

This is the URL that Google's payment server will call. Google will prepend /v/ to this URL. This must use the HTTPS scheme.

Web Redirect Authentication URL

Type: string

Google redirects the user to this base URL for the vendor. This must use the HTTPS scheme.

APK Authentication Package Name

Type: set of strings

Valid APK package names used for authentication.

APK Authentication Package Signing Key Fingerprint

Type: set of strings

Valid APK fingerprints used for authentication.