Click here to search the entire website

Mobile Wallet errors

Errors you may get for:

Error Responses

Errors that relate to Mobile Wallets are displayed in your response as:

<?xml version="1.0" encoding="UTF-8"?>

<!DOCTYPE paymentService PUBLIC "-//WorldPay//DTD WorldPay PaymentService v1//EN"

"http://dtd.WorldPay.om/paymentService_v1.dtd">

<paymentService version="1.4" merchantCode="YOUR_MERCHANT_CODE">

  <reply>

    <orderStatus orderCode="ExampleOrder1">

      <error code="5">

        <!CDATA[Element ephemeralPublicKey is invalid.]]>

      </error>

    </orderStatus>

  </reply>

</paymentService>

Apple Pay errors

Code Error Description

5

Couldn't decrypt ApplePay transaction with merchant code: {merchantCode} for reason: Could not retrieve private key for merchant: {merchantCode}. Your Apple Pay key pair was not configured.

5

Couldn't decrypt ApplePay transaction with merchant code: {merchantCode} for reason: Bad message authentication code. The MAC doesn't match with the one received.

5

Couldn't decrypt ApplePay transaction with merchant code: {merchantCode} for reason: Failed decrypting message. Something failed during the decryption.

5

Element ephemeralPublicKey is invalid. <ephemeralPublicKey> is empty.
5 Element publicKeyHash is invalid. <publicKeyHash> is empty.
5 Element transactionId is invalid. <transactionId> is empty.

5

Element publicKeyHash is not encoded with base64. <publicKeyHash> is not encoded with base64.
5 Element ephemeralPublicKey is not encoded with base64. <ephemeralPublicKey> is not encoded with base64.
5 Element transactionId is not encoded with base64. <transactionId> is not encoded with base64.
5 Untrusted Certificate. <signature> field is invalid.
5 Decrypted data is not a valid JSON object. Decrypted JSON file is invalid.

Pay with Google errors

Code Error Description
5 Couldn't decrypt Pay with Google transaction with merchant code: {merchantCode} for reason: Invalid merchant identifier. Invalid MerchantID.
5 Couldn't decrypt Pay with Google transaction with merchant code: {merchantCode} for reason: Invalid payload. Something is wrong with the elements contained within the payload.
5 Couldn't decrypt Pay with Google transaction with merchant code: {merchantCode} for reason: Invalid signature.

Invalid signature (one or more of the following is invalid: <signature>, encryptedMessage, ephemeralPublicKey, tag).

5 Element protocolVersion is invalid. Invalid protocol version.
5 Couldn't decrypt Pay with Google transaction with merchant code: {merchantCode} for reason: Bad Message Authentication Code! Invalid keys.

Samsung Pay errors

Code Error Description
5 Couldn't decrypt SamsungPay transaction with merchant code: {merchantCode} for reason:Could not retrieve key based on merchant: {merchantCode}. When Samsung Pay pair was not configured for the merchant.
5 Couldn't decrypt SamsungPay transaction with merchant code: merchantCode for reason: Failed decoding ephemeral key When the private key or ephemeral key are not the exact same ones used when the message was encrypted.
5 Couldn't decrypt SamsungPay transaction with merchant code: {merchantCode} for reason: Failed decrypting Samsung Pay message. When something failed during the decryption.
5 Element data is invalid. When the element data is empty.
5 Element version is invalid. When the element version is empty.
5 Couldn't decrypt SamsungPay transaction with merchant code: merchantCode for reason: Invalid data. When the element data is invalid.
5 Element data is not Base64 Url encoded. When the element data is not Base64 Url encoded.
5 Couldn't decrypt SamsungPay transaction with merchant code: merchant code for reason: Failed validating header. When the public key is wrong or when the validation of header is failing.