Error messageInvalid PaymentData
DescriptionThe PaymentData provided for the Google Pay pay-in is not valid
Categories

Pay-in

Google Pay

Causes

This error may occur when attempting to create a Google Pay PayIn with an invalid PaymentData value.

What to do

In such cases:

  • Check that the correct value is used for the PaymentData parameter
  • Check with the end user that their card is correctly registered in their Google Pay account

Example

{
    "Id": "wt_b409547d-8178-4bcf-bce0-524a4695133a",
    "Tag": "Created using the Mangopay API Postman collection",
    "CreationDate": 1695395521,
    "AuthorId": "204068024",
    "DebitedFunds": {
        "Currency": "EUR",
        "Amount": 1000
    },
    "CreditedFunds": {
        "Currency": "EUR",
        "Amount": 1000
    },
    "Fees": {
        "Currency": "EUR",
        "Amount": 0
    },
    "Status": "FAILED",
    "ResultCode": "105207",
    "ResultMessage": "Invalid PaymentData",
    "ExecutionDate": 1695395521,
    "Type": "PAYIN",
    "Nature": "REGULAR",
    "CreditedWalletId": "204089031",
    "CreditedUserId": "204068024",
    "PaymentType": "GOOGLE_PAY",
    "ExecutionType": "DIRECT",
    "StatementDescriptor": "Mangopay",
    "SecureMode": "DEFAULT",
    "SecureModeReturnURL": "https://mangopay.com/docs/please-ignore",
    "SecureModeRedirectURL": null,
    "SecureModeNeeded": false,
    "SecurityInfo": null,
    "BrowserInfo": {
        "AcceptHeader": "application/json,text/javascript,*/*;q=0.01<",
        "JavaEnabled": true,
        "Language": "fr",
        "ColorDepth": 32,
        "ScreenHeight": 667,
        "ScreenWidth": 375,
        "TimeZoneOffset": -120,
        "UserAgent": "Mozilla/5.0 (iPhone; CPU iPhone OS 13_6_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E148",
        "JavascriptEnabled": true
    },
    "IpAddress": "7124:c18a:0497:4676:f3f0:30c8:ec93:ad89"
}