Mobile Wallet errors

Errors you may get for:

Error Responses

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

Copied!
<?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

CodeErrorDescription
5Couldn'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.
5Couldn't decrypt ApplePay transaction with merchant code: {merchantCode} for reason: Bad message authentication code.The MAC doesn't match with the one received.
5Couldn't decrypt ApplePay transaction with merchant code: {merchantCode} for reason: Failed decrypting message.Something failed during the decryption.
5Element ephemeralPublicKey is invalid.<ephemeralPublicKey> is empty.
5Element publicKeyHash is invalid.<publicKeyHash> is empty.
5Element transactionId is invalid.<transactionId> is empty.
5Element publicKeyHash is not encoded with base64.<publicKeyHash> is not encoded with base64.
5Element ephemeralPublicKey is not encoded with base64.<ephemeralPublicKey> is not encoded with base64.
5Element transactionId is not encoded with base64.<transactionId> is not encoded with base64.
5Untrusted Certificate.signature> field is invalid.
5Decrypted data is not a valid JSON object.Decrypted JSON file is invalid.

Google Pay errors

CodeErrorDescription
5Couldn't decrypt Google Pay transaction with merchant code: {merchantCode} for reason: Invalid merchant identifier.Invalid MerchantID.
5Couldn't decrypt Google Pay transaction with merchant code: {merchantCode} for reason: Invalid payload.Something is wrong with the elements contained within the payload.
5Couldn't decrypt Google Pay transaction with merchant code: {merchantCode} for reason: Invalid signature.Invalid signature (one or more of the following is invalid: <signature>, encryptedMessage , ephemeralPublicKey , tag).
5Element protocolVersion is invalid.Invalid protocol version.
5Couldn't decrypt Google Pay transaction with merchant code: {merchantCode} for reason: Bad Message Authentication Code!Invalid keys.

Samsung Pay errors

CodeErrorDescription
5Couldn'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.
5Couldn't decrypt SamsungPay transaction with merchant code: merchantCode for reason: Failed decoding ephemeral keyWhen the private key or ephemeral key are not the exact same ones used when the message was encrypted.
5Couldn't decrypt SamsungPay transaction with merchant code: {merchantCode} for reason: Failed decrypting Samsung Pay message.When something failed during the decryption.
5Element data is invalid.When the element data is empty.
5Element version is invalid.When the element version is empty.
5Couldn't decrypt SamsungPay transaction with merchant code: merchantCode for reason: Invalid data.When the element data is invalid.
5Element data is not Base64 Url encoded.When the element data is not Base64 Url encoded.
5Couldn'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.