Showing results for 
Search instead for 
Did you mean: 

Using GooglePay with CyberSource Gateway

I'm currently using the PHP Simple Order Api REST client

Both developers guides found on

Describe the same way to format the data obtained through google pay. They however describe different ways to format the request.

1) Set the encryptedPayment_data field to the value of the
encryptedMessage field that was returned in the Full Wallet 

2) Set the paymentSolution field to 012. 


2) In the authorization request under the paymentInformation 
object, set the key field under the fluidData object to the 
Base64-encoded value obtained from the Google Pay blob.

3) Under the processingInformation object, set the 
paymentSolution field to 012.

I'm using the I tried the fluidData way since I couldn't find reference of an encryptedPayment field reference in Simple Order API but it's not working.


    "clientReferenceInformation": {
        "code": "testcode"
    "processingInformation": {
        "paymentSolution": "012"
    "paymentInformation": {
        "fluidData": {
            "key":"<Google Pay Blob>"
    "orderInformation": {
        "amountDetails": {
            "totalAmount": "100.00",
            "currency": "USD"
        "billTo": {
            "firstName": "John",
            "lastName": "Doe",
            "company": "ABC Company",
            "address1": "1 Market St",
            "locality": "san francisco",
            "administrativeArea": "CA",
            "postalCode": "94105",
            "country": "US",
            "email": "",
            "phoneNumber": "4158880000"


[body] => stdClass Object
            [submitTimeUtc] => 2019-04-10T16:05:39Z
            [status] => INVALID_REQUEST
            [reason] => MISSING_FIELD
            [message] => Declined - The request is missing one or more fields
            [details] => Array
                    [0] => stdClass Object
                            [field] => recipientInformation.card.number
                            [reason] => MISSING_FIELD



    [message] => [400] Error connecting to the API (