Configuring Google Pay
You must provide your
National Australia Bank
merchant ID to Google in order to
ensure proper encryption of the Google Pay payload and authenticity of the request.For a Google Pay tutorial, see Google Pay for Payments.
Set the gateway and gateway merchant ID to the appropriate indicators. The following code
examples show how to configure the
PaymentMethodTokenizationParameters
object using National Australia Bank
as the gateway.Example: Java Code
.setPaymentMethodTokenizationType(WalletConstants.PAYMENT_METHOD_TOKENIZATION_TYPE_PAYMENT_GATEWAY) .addParameter("gateway", "") .addParameter("gatewayMerchantId", "[yourNABMID]")
Example: JavaScript Code
tokenizationType: 'PAYMENT_GATEWAY', parameters: { gateway: 'NAB', gatewayMerchantId: '[yourNABMID]'