Google Pay Authorizations

This section shows you how to make a successful authorization request.
After you send the request, check the response messages to make sure that the request was successful.
A value of
ACCEPT
for the
decision
field indicates success.
For information about response codes, see .

Follow-on Transactions

After the initial transaction is complete, additional follow-on transactions can be made as Merchant-Initiated Transactions (MITs).
For more information on how to process MITs, see
Merchant-Initiated Transactions
.

Endpoint

Set the
ccAuthService_run
field to
true
.
Send the request to
https://ics2ws.ic3.com/commerce/1.x/transactionProcessor
.

Authorizing a Payment

To request an authorization for a Google Pay transaction:
  1. Set the
    encryptedPayment_data
    field to the string value generated from the full wallet response.
  2. Set the
    paymentNetworkToken_requestorID
    field to your token requestor ID.
  3. Set the
    payment_solution
    field to
    012
    .
Google Pay Authorizations

Required Fields for a Google Pay Authorization

Include these required fields to request a successful authorization.
billTo_city
billTo_country
billTo_email
billTo_firstName
billTo_lastName
billTo_postalCode
billTo_state
billTo_street1
ccAuthService_run
Set this field value to
true
.
encryptedPayment_data
Set this field value to the string value generated from the full wallet response.
merchantID
merchantReferenceCode
paymentSolution
Set this field value to
012
.
purchaseTotals_currency
purchaseTotals_grandTotalAmount
Google Pay Authorizations

Simple Order Example: Google Pay Authorization

Request
<requestMessage xmlns="urn:schemas-cybersource-com:transaction-data-1.121"> <merchantID>demomerchant</merchantID> <merchantReferenceCode>demorefnum</merchantReferenceCode> <billTo> <firstName>James</firstName> <lastName>Smith</lastName> <street1>1295 Charleston Road</street1> <city>Test City</city> <state>CA</state> <postalCode>99999</postalCode> <country>US</country> <email>demo@example.com</email> </billTo> <purchaseTotals> <currency>USD</currency> <grandTotalAmount>5.00</grandTotalAmount> </purchaseTotals> <encryptedPayment> <data>ABCDEFabcdefABCDEFabcdef0987654321234567</data> </encryptedPayment> <ccAuthService run="true"/> <paymentSolution>012</paymentSolution> </requestMessage>
Response for a Successful Request
<replyMessage> <merchantReferenceCode>demorefnum</merchantReferenceCode> <requestID>4465840340765000001541</requestID> <decision>ACCEPT</decision> <reasonCode>100</reasonCode> <requestToken>Ahj/7wSR5C/4Icd2fdAKakGLadfg5535r/ghx3Z90AoBj3u</requestToken> <purchaseTotals> <currency>USD</currency> </purchaseTotals> <ccAuthReply> <reasonCode>100</reasonCode> <amount>5.00</amount> <authorizationCode>888888</authorizationCode> <avsCode>X</avsCode> <avsCodeRaw>I1</avsCodeRaw> <authorizedDateTime>2015-11-03T20:53:54Z</authorizedDateTime> <processorResponse>100</processorResponse> <reconciliationID>11267051CGJSMQDC</reconciliationID> </ccAuthReply> <token> <prefix>294672</prefix> <suffix>4397</suffix> <expirationMonth>08</expirationMonth> <expirationYear>2021</expirationYear> </token> </replyMessage>
Google Pay Authorizations