Google Pay™

Learn how to accept Google Pay™ through EGMS.

private static JSONObject getGatewayTokenizationSpecification() throws JSONException {
    return new JSONObject() {{
      put("type", "PAYMENT_GATEWAY");
      put("parameters", new JSONObject() {{
        put("gateway", "cardinfolink");
        put("gatewayMerchantId", "`{sid that is generated by EVONET}`");
      }});
    }};
  }
private static JSONObject getMerchantInfo() throws JSONException {
    return new JSONObject().put("merchantId", "`{Merchant ID that is generated by Google}`");
  }
paymentDataRequest.merchantInfo = {
  merchantName: '`{Merchant Name}`',
  merchantId: '`{Merchant ID that is generated by Google}`'
};
{
  "status": true,
  "name": hello,
}
{
  "status": false
}
{
  "status": true,
  "name": hello,
}