PayPal Here SDK errors

SDKDeprecatedLast updated: November 8th 2022, @ 10:41:15 am


Important: PayPal Here is deprecated. PayPal doesn't accept new integrations but continues to support existing integrations.

Merchant initialization

NumberDomainTextExplanation
1MerchantFailed to load merchant information.Merchant user information not found in PayPal.
2MerchantFailed to load required merchant information.Required info not loaded.
3MerchantMerchant not initialized.Not initialized.
4MerchantAccess token or clientId/secret is missing from provided credentials.Missing credentials.
5MerchantEnvironment is missing from provided credentials.Environment not provided.
6MerchantData required to create the merchant object are missing.Merchant data not provided.
7MerchantFailed to load required merchant user information.Required merchant information such as address, country, email, or business name were not found.
8MerchantFailed to load required merchant status information.Required merchant information such as status, currency code, business category, or payment types were not found.
9MerchantThe token is either invalid or missing.Invalid token.
10MerchantThe token data to build the composite token is either invalid or missing.Token data not provided.
11MerchantMerchant not allow listed to make offline payments.For more information, see Offline payment to enable offline payments.
12MerchantOnline initialize required once before you can initialize offline.An online merchant initialization is needed on this device prior to proceeding with an offline merchant initialization.
13MerchantFailed to load offline merchant information.Unable to get the information of the previously successful online merchant initialization. Complete a successful online merchant initialization on this device before proceeding.
14MerchantFailed to reload online merchant information. Did you have an active merchant before switching to offline mode?This will occur if an offline merchant initialization was done and there's attempt to replay offline transactions. In this scenario, there needs to be an online merchant initialization prior to replaying since the original initialization was offline.
15MerchantmerchantInitialized callback is missing.merchantInitialized callback not provided.
16MerchantThe region is not eligible for the web feature.Web feature not enabled.
17MerchantMerchant not white listed to make QRC payments.QRC ineligible.

Card reader connection

NumberDomainTextExplanation
12PaymentDevicePayment was cancelled.Payment was cancelled.
18PaymentDeviceCard reader connection action was canceled.User canceled card reader connection prompt.
30PaymentDeviceSoftware update failed.Firmware update on the card reader failed. Offer the firmware update one more time.
45PaymentDeviceConnection was closed.Card reader disconnect. Check Bluetooth connection, reader power status, and make sure the app is in the foreground to keep connection.

DeviceError

NumberDomainTextExplanation
0DeviceErrorGeneric error.Generic error.
1DeviceErrorContactless reader timed out waiting for payment presentation.Contactless reader timed out waiting for payment presentation.
2DeviceErrorContactless payment not allowed on this card.NFC not allowed.
3DeviceErrorTry different card.Try different card.
4DeviceErrorMust insert presented card.Must insert presented card.
5DeviceErrorMust swipe presented card.Must swipe presented card.
6DeviceErrorHardware error.Hardware error.
7DeviceErrorPresented card is blocked.Presented card is blocked.
8DeviceErrorPayment was declined. Contact issuer.Contact CardIssuer.
9DeviceErrorChip is invalid.Chip is invalid.
10DeviceErrorCannot swipe a chip card.Cannot swipe a chip card.
11DeviceErrorCard not in slot.Smart card not in slot.
12DeviceErrorPayment was cancelled.Payment was cancelled.
13DeviceErrorContactless payment was aborted by card insert.Contactless payment was aborted by card insert.
14DeviceErrorContactless payment was aborted by card swipe.Contactless payment was aborted by card swipe.
15DeviceErrorBad EMV data.Bad EMV data.
16DeviceErrorDevice not connected.Device not connected.
17DeviceErrorDevice cannot accept messages in its current state.Cannot accept message.
18DeviceErrorAction was cancelled.Action was cancelled.
19DeviceErrorSecure entry failed.Secure entry failed.
20DeviceErrorNumeric entry failed.Numeric entry failed.
21DeviceErrorData validation error.Data validation error.
22DeviceErrorReceived unexpected response.Received unexpected response.
23DeviceErrorReceived failure response.Received failure response.
24DeviceErrorFailed to retrieve expected data.Failed to retrieve expected data.
25DeviceErrorBattery Low.Battery low.
26DeviceErrorUnable to retrieve the file from the device.Unable to retrieve the file from the device.
27DeviceErrorFile import failed.File import failed.
28DeviceErrorDevice initialization failed.Device initialization failed.
29DeviceErrorTip entry failed.Tip entry failed.
30DeviceErrorSoftware Update Failed.Software update failed.
31DeviceErrorDevice not functional at this moment.Device not functional at this moment.
32DeviceErrorSoftware update is pending.Software update is pending.
33DeviceErrorCancel reading card data.Cancel reading card data.
34DeviceErrorCard reader not available for connection.Card reader not available for connection.
35DeviceErrorDownloaded firmware file was corrupt.Downloaded firmware file was corrupt.
36DeviceErrorReceived unexpected request.Received unexpected request.
37DeviceErrorCould not complete requested action.Could not complete requested action.
38DeviceErrorReceived unexpected request.Received unexpected request.
39DeviceErrorBlacklisted.Blacklisted.
40DeviceErrorBad Swipe Data.Bad swipe data.
41DeviceErrorSignature collection cancelled.Signature collection cancelled.
42DeviceErrorUser cancelled.User cancelled.
43DeviceErrorSignature not presented.Signature not presented.
44DeviceErrorWrite to device failed.Write to device failed.
45DeviceErrorConnection was closed.Connection was closed.
46DeviceErrorInvalid card data.Invalid card data.
47DeviceErrorUnable to connect.Unable to connect.
48DeviceErrorFurther action on buyer phone is required.Further action on buyer phone is required.
49DeviceErrorSoftware update is in progress.Software update is in progress.
50DeviceErrorCard reader has an active transaction.Card reader has an active transaction.
51DeviceErrorSoftware update canceled.Software update canceled.
52DeviceErrorFirmware checksum does not match.Firmware checksum does not match.
53DeviceErrorNo response received within the timeout duration.No response received within the timeout duration.
54DeviceErrorBattery info is not supported.Battery info is not supported.

SDK

NumberDomainTextExplanation
1SDKAction was cancelled by user.User cancelled.
2SDKUnable to retrieve file from device storage.File not found.
3SDKThe arguments passed are invalid.Validation error.
4SDKCard reader scanner not initialized.Card reader scanner not initialized.
5SDKNo reader found.No reader found.
6SDKBluetooth disabled.Bluetooth disabled.
7SDKUser logout.User logout.
8SDKSelected reader unavailable.Selected reader unavailable.
9SDKMultiple card readers associated with the provided ReaderConfiguration.Multiple readers.
10SDKAn ongoing card reader selection can not be interrupted.Selection in progress.
11SDKRapid successive calls.Rapid successive calls.
12SDKA card reader is already connected.A card reader is already connected.
13SDKStopping auto connect to start a new scan.Stopping auto connect to start a new scan.

Transaction attempt

NumberDomainTextExplanation
3MerchantMerchant not initialized.Merchant was not initialized. You need to first initialize the merchant with a valid access token.
7PaymentDevicePresented card was blocked.The presented EMV card was identified to be blocked. Ask the card holder to contact the issuer.
8PaymentDevicePayment was declined. Contact issuer.EMV card payment was declined by the payment processor. Ask the card holder to contact the issuer.
9PaymentDeviceInvalid Chip card.Unable to read chip data from the presented card.
25PaymentDeviceDevice low on battery.The connect card reader was low on battery. The merchant should connect the card reader to power before taking another transaction.
32PaymentDeviceSoftware update is pending.The card reader has a pending firmware update that will need to be completed prior to taking additional payments.
33PaymentDeviceCard read was canceled.Attempt to read EMV chip card data was canceled. The user may have pulled the card out or the card was faulty. Recreate a new transaction and start over.
40PaymentDeviceBad swipe data.The card reader was not able to read the card's track data.
1TransactionTransaction canceled by customer.Transaction was canceled by the customer by either pressing the cancel button on the app, pulling out the card during payment, or by pressing the X button on the card reader (on card reader models that have a keypad).
2TransactionThe transaction was cancelled.Generic cancel.
3TransactionCannot continue with specified card.Card can't continue.
4TransactionNo functional devices.No functional devices.
5TransactionThe invoice status is not eligible for the given transaction.This error can occur if you begin payment on an already paid invoice.
6TransactionThe invoice amount was too low.The grand total of items on the invoice was less than the allowed minimum amount.
7TransactionThe invoice amount was too high.The grand total of items on the invoice was more than the allowed maximum amount.
8TransactionFailed to collect signature.Failed to collect signature.
9TransactionCannot swipe chip card.Cannot swipe chip card.
10TransactionMust swipe the card.Must swipe the card.
11TransactionThe card presented for the refund is not the same one used for the original payment.Refund card mismatch.
12TransactionPresented card is not of the expected type.Card type mismatch.
13TransactionUnable to retrieve location information.Location error.
14TransactionInvoice ID is required to complete this refund.Missing invoiceID.
15TransactionTransaction number or invoice id is required to complete this refund.Missing transaction number or invoiceID.
16TransactionCannot discard the presented card.Cannot discard card.
17TransactionMultiple Contactless Cards Detected.Multiple contactless cards detected.
18TransactionTry different interface.Try different interface.
19TransactionCannot clear transaction when a payment is in progress.Cannot invoke the clear() API on a transaction context when the payment is in progress. Allow the payment to proceed to completion or the customer should cancel it from the app UI.
20TransactionThe authorization request has failed.Authorization failed.
21TransactionThe capture request has failedCapture of the authorized transaction failed. See the developer message on the returned error object for more information.
22TransactionAuthorization is not possible for this payment mode.Cannot perform an AUTH transaction for non-card payment types.
23TransactionUnable to retrieve list of authorizations.Failed to retrieve authorized transactions.
24TransactionUnable to void the authorizationUnable to void the authorized transaction. See the developer message on the returned error object for more information.
25TransactionCurrent operation not supported.See the developer message on the returned error object for more information. One possible scenario is that auth/capture is not supported for the merchant country.
26TransactionValidation failed for payment capture.See the developer message on the returned error object for more information. However, one of the required parameters for the capture call may be either missing or invalid.
27TransactionValidation failed for retrieving list of authorized transactions.See the developer message on the returned error object for more information. However, one of the required parameters for the authorization retrieval call may be either missing or invalid.
28TransactionInvalid invoice item.Not allowed to have an invalid item in the invoice item list.
29TransactionOffline Payment Enabled.Receipts cannot be sent in offline mode.
30TransactionOffline Payment Transaction Limit Reached.The per transaction amount limit has been reached for offline payments.
31TransactionOffline Payment Total Limit Reached.The limit for the total amount of offline transactions saved has been reached.
32TransactionOffline Payment Mode is not available for Audio Readers.The audio jack readers are not available for offline mode.
33TransactionNFC Contactless Limit Reached.NFC contactless limit reached.
34TransactionOffline Payment Stopped.Offline payment stopped.
35TransactionOffline Payment key in is not allowed.Offline payment key in is not allowed.
36TransactionPay and Vault payment failed.The payment portion of the pay and vault transaction has failed. Payment and vaulting are run asynchronously, so even though one has failed, the other may not have.
37TransactionVault failed.The payment method was unable to be vaulted.
40TransactionFailed due to outage.transaction failed due to outage.
41TransactionQRC session timed out.QRC session timed out.
42TransactionQRC polling failed.QRC polling failed.
43TransactionCannot clear transaction after QRC transaction.Cannot clear transaction after QR code is scanned.
44TransactionFailed to get the QRC service provider.Failed QRC service provider.
45TransactionFailed to generate the QRC URL.Failed QRC URL generation.
46TransactionFailed QRC.Failed the QRC payment.
47TransactionDeclined the QRC payment.Declined QRC.
48TransactionFailed to get the QRC referrer(BN) code.Failed QRC referrer code.
49TransactionTransaction cancelled by merchant.Transaction cancelled by merchant.
50TransactionCannot Cancel inflight transaction.Cannot cancel inflight transaction.
51TransactionMissing digital card redemption information.Missing digital card redemption information.
52TransactionThe card was removed before it was read.The chip card was removed from the reader before it was read. Initiate a new transaction and inform the card holder to keep the card inserted till the transaction completes.
580022TransactionTransaction declined.This is a hard decline. Customer will need to use a different card or payment method.
580031RetailContact issuer.Contact card issuer.
600075RetailNFC payment declined.NFC payment declined.
6000164RetailIncorrect online PIN.Incorrect online PIN.
6000165RetailOnline PIN max retry exceeded.Online PIN max retry exceeded.

Network request

NumberDomainTextExplanation
1NetworkRequest failed.Request failed.
-1001NetworkNetwork offline.This error is returned when a network request times out due to a slow network or being in an offline state.
-999NetworkSSL handshake failed.SSL handshake failed.
2NetworkNetwork not allowed in offline mode.Network not allowed in offline mode.
401PayPalRestRequest Not Authorized.The access token has expired or is not valid and credentials were not provided for the token refresh. If refresh credentials were provided, then the credentials are no longer valid. See the developer message on the returned error object for more information.
-1001PayPalRestNetwork Offline.This error is returned when a network request times out due to a slow network or being in an offline state.