ccpgateway¶
ccpgateway.bad_request¶
-
exception
lsserver.payment_gateway.errors.ccpgateway_exceptions.GatewayBadRequestError(message=None, **kwargs) Bases:
lscore.errors.server_errors.BadRequest,lsserver.payment_gateway.errors.ccpgateway_exceptions.GatewayErrorAn invalid request was made to the payment processor.
-
type= 'ccpgateway.bad_request'
-
localizable_message= <LocalizableMessage key='ccpgateway.bad_request' ...>
-
ccpgateway.bad_request.missing_required_printer¶
-
exception
lsserver.payment_gateway.errors.ccpgateway_exceptions.MissingRequiredPrinterError Bases:
lsserver.payment_gateway.errors.ccpgateway_exceptions.GatewayBadRequestErrorA request was made to a payment gateway that requires a printer to perform it’s actions.
HTTP code: 400 Bad RequestLocalized Key: ccpgateway.bad_request.missing_required_printerExample: This gateway requires a printer.-
type= 'ccpgateway.bad_request.missing_required_printer'
-
localizable_message= <LocalizableMessage key='ccpgateway.bad_request.missing_required_printer' ...>
-
ccpgateway.bad_request.moneris_bad_request_error¶
-
exception
lsserver.payment_gateway.moneris.moneris_communication.MonerisBadRequestError(condition_code, response) Bases:
lsserver.payment_gateway.errors.ccpgateway_exceptions.GatewayBadRequestError,lsserver.payment_gateway.moneris.moneris_communication.MonerisErrorWithCTRHTTP code: 400 Bad RequestLocalized Key: ccpgateway.bad_request.moneris_bad_request_errorExample: An unexpected error occurred while attempting to process this transaction. Please contact Lightspeed Support and reference condition code: None-
type= u'ccpgateway.bad_request.moneris_bad_request_error'
-
localizable_message= <LocalizableMessage key='ccpgateway.bad_request.moneris_bad_request_error' ...>
-
ccpgateway.bad_request.moneris_bad_request_error.moneris_refund_limit_exceeded_transaction_error¶
-
exception
lsserver.payment_gateway.moneris.moneris_communication.MonerisRefundLimitExceededTransactionError(condition_code, response) Bases:
lsserver.payment_gateway.moneris.moneris_communication.MonerisBadRequestErrorHTTP code: 400 Bad RequestLocalized Key: ccpgateway.bad_request.moneris_bad_request_error.moneris_refund_limit_exceeded_transaction_errorExample: The attempted transaction was not successful as it exceeds the terminal’s refund limit. Please contact the Moneris Support Center and reference condition code: None-
type= u'ccpgateway.bad_request.moneris_bad_request_error.moneris_refund_limit_exceeded_transaction_error'
-
localizable_message= <LocalizableMessage key='ccpgateway.bad_request.moneris_bad_request_error.moneris_refund_limit_exceeded_transaction_error' ...>
-
ccpgateway.bad_request.moneris_bad_request_error.moneris_void_transaction_bad_request_error¶
-
exception
lsserver.payment_gateway.moneris.moneris_communication.MonerisVoidTransactionBadRequestError(condition_code, response) Bases:
lsserver.payment_gateway.moneris.moneris_communication.MonerisBadRequestErrorHTTP code: 400 Bad RequestLocalized Key: ccpgateway.bad_request.moneris_bad_request_error.moneris_void_transaction_bad_request_errorExample: The original transaction could not be voided based on the reference number provided. Please verify the original reference number, and try the payment transaction again.-
type= u'ccpgateway.bad_request.moneris_bad_request_error.moneris_void_transaction_bad_request_error'
-
localizable_message= <LocalizableMessage key='ccpgateway.bad_request.moneris_bad_request_error.moneris_void_transaction_bad_request_error' ...>
-
ccpgateway.bad_request.tyro_gateway_bad_request_error¶
-
exception
lsserver.payment_gateway.tyro.tyro_errors.TyroGatewayBadRequestError(message=None) Bases:
lsserver.payment_gateway.errors.ccpgateway_exceptions.GatewayBadRequestErrorRequest does not conform to requirements. Please contact Tyro.
HTTP code: 400 Bad RequestLocalized Key: ccpgateway.bad_request.tyro_gateway_bad_request_errorExample: Request does not conform to requirements. Please contact Tyro.[None].-
type= 'ccpgateway.bad_request.tyro_gateway_bad_request_error'
-
localizable_message= <LocalizableMessage key='ccpgateway.bad_request.tyro_gateway_bad_request_error' ...>
-
ccpgateway.bad_request.tyro_gateway_bad_request_error.tyro_pairing_gateway_bad_request_error¶
-
exception
lsserver.payment_gateway.tyro.tyro_errors.TyroPairingGatewayBadRequestError(message=None) Bases:
lsserver.payment_gateway.tyro.tyro_errors.TyroGatewayBadRequestErrorPairing was unsuccessful because of an error in Lightspeed. Please contact Lightspeed.
HTTP code: 400 Bad RequestLocalized Key: ccpgateway.bad_request.tyro_gateway_bad_request_error.tyro_pairing_gateway_bad_request_errorExample: Pairing was unsuccessful because of an error in Lightspeed. Please contact Lightspeed. [None].-
type= 'ccpgateway.bad_request.tyro_gateway_bad_request_error.tyro_pairing_gateway_bad_request_error'
-
localizable_message= <LocalizableMessage key='ccpgateway.bad_request.tyro_gateway_bad_request_error.tyro_pairing_gateway_bad_request_error' ...>
-
ccpgateway.bad_request.tyro_gateway_gone_error¶
-
exception
lsserver.payment_gateway.tyro.tyro_errors.TyroGatewayGoneError(message=None) Bases:
lsserver.payment_gateway.errors.ccpgateway_exceptions.GatewayBadRequestErrorSubmitted Transaction ID does not match the Terminal’s current Transaction. (note: Tyro’s test suite wants the error to be displayed as: “The user is notified that the transaction was unsuccessful because the terminal could not be found”)
HTTP code: 400 Bad RequestLocalized Key: ccpgateway.bad_request.tyro_gateway_gone_errorExample: Transaction was unsuccessful, could not find the terminal. [None]-
type= 'ccpgateway.bad_request.tyro_gateway_gone_error'
-
localizable_message= <LocalizableMessage key='ccpgateway.bad_request.tyro_gateway_gone_error' ...>
-
ccpgateway.device.communication_addressing_error¶
-
exception
lsserver.payment_gateway.ingenico.ingenico.IngenicoAddressError(ip, port, error_number, reason) Bases:
lsserver.payment_gateway.errors.ccpgateway_exceptions.DeviceCommunicationAddressingError,lsserver.payment_gateway.ingenico.ingenico.IngenicoGeneralCommuncationErrorHTTP code: 404 Not FoundLocalized Key: ccpgateway.device.communication_addressing_errorExample: Unable to connect to the terminal (None, None). [None None]
-
exception
lsserver.payment_gateway.moneris.moneris_communication.CommunicationAddressError(ip, port, error_number, reason) Bases:
lsserver.payment_gateway.errors.ccpgateway_exceptions.DeviceCommunicationAddressingError,lsserver.payment_gateway.moneris.moneris_communication.CommunicationErrorHTTP code: 404 Not FoundLocalized Key: ccpgateway.device.communication_addressing_errorExample: Unable to connect to the terminal (None, None). [None None]
-
exception
lsserver.payment_gateway.errors.ccpgateway_exceptions.DeviceCommunicationAddressingError(ip, port, error_number, reason) Bases:
lscore.errors.server_errors.NotFound,lsserver.payment_gateway.errors.ccpgateway_exceptions.GatewayErrorA addressing error occurred when communicating with the terminal
HTTP code: 404 Not FoundLocalized Key: ccpgateway.device.communication_addressing_errorExample: Unable to connect to the terminal (None, None). [None None]-
type= 'ccpgateway.device.communication_addressing_error'
-
localizable_message= <LocalizableMessage key='ccpgateway.device.communication_addressing_error' ...>
-
ccpgateway.device.communication_error¶
-
exception
lsserver.payment_gateway.errors.ccpgateway_exceptions.DeviceCommunicationError(message=None, **kwargs) Bases:
lscore.errors.server_errors.BadGatewayError,lsserver.payment_gateway.errors.ccpgateway_exceptions.GatewayErrorA communication error occurred while attempting to reach terminal.
HTTP code: 502 Bad GatewayLocalized Key: ccpgateway.device.communication_errorExample: An error occurred communicating with the device: None-
type= 'ccpgateway.device.communication_error'
-
localizable_message= <LocalizableMessage key='ccpgateway.device.communication_error' ...>
-
-
exception
lsserver.payment_gateway.ingenico.ingenico.IngenicoGeneralCommuncationError(message=None, **kwargs) Bases:
lsserver.payment_gateway.errors.ccpgateway_exceptions.DeviceCommunicationError,lsserver.payment_gateway.ingenico.ingenico.IngenicoErrorHTTP code: 502 Bad GatewayLocalized Key: ccpgateway.device.communication_errorExample: An error occurred communicating with the device: None
-
exception
lsserver.payment_gateway.moneris.moneris_communication.CommunicationError(message=None, **kwargs) Bases:
lsserver.payment_gateway.errors.ccpgateway_exceptions.DeviceCommunicationError,lsserver.payment_gateway.moneris.moneris_communication.MonerisTerminalErrorHTTP code: 502 Bad GatewayLocalized Key: ccpgateway.device.communication_errorExample: An error occurred communicating with the device: None
-
exception
lsserver.payment_gateway.moneris.moneris_communication.MonerisLastResponseDoesNotExistError(condition_code, response) Bases:
lsserver.payment_gateway.errors.ccpgateway_exceptions.DeviceCommunicationError,lsserver.payment_gateway.moneris.moneris_communication.MonerisTerminalErrorHTTP code: 502 Bad GatewayLocalized Key: ccpgateway.device.communication_errorExample: An error occurred communicating with the device: None
-
exception
lsserver.payment_gateway.moneris.moneris_communication.MonerisLastResponseFailedError(condition_code, response) Bases:
lsserver.payment_gateway.errors.ccpgateway_exceptions.DeviceCommunicationError,lsserver.payment_gateway.moneris.moneris_communication.MonerisTerminalErrorHTTP code: 502 Bad GatewayLocalized Key: ccpgateway.device.communication_errorExample: An error occurred communicating with the device: None
-
exception
lsserver.payment_gateway.moneris.moneris_communication.InvalidMessage(message) Bases:
lsserver.payment_gateway.errors.ccpgateway_exceptions.DeviceCommunicationError,lsserver.payment_gateway.moneris.moneris_communication.MonerisTerminalErrorHTTP code: 502 Bad GatewayLocalized Key: ccpgateway.device.communication_errorExample: An error occurred communicating with the device: None
-
exception
lsserver.payment_gateway.moneris.moneris_task.UnableToRecoverTransactionError Bases:
lsserver.payment_gateway.errors.ccpgateway_exceptions.DeviceCommunicationError,lsserver.payment_gateway.moneris.moneris_task.MonerisTaskErrorHTTP code: 502 Bad GatewayLocalized Key: ccpgateway.device.communication_errorExample: An error occurred communicating with the device: None
ccpgateway.device.communication_error.moneris_device_communication_error¶
-
exception
lsserver.payment_gateway.moneris.moneris_communication.MonerisDeviceCommunicationError(condition_code, response) Bases:
lsserver.payment_gateway.errors.ccpgateway_exceptions.DeviceCommunicationError,lsserver.payment_gateway.moneris.moneris_communication.MonerisTerminalErrorHTTP code: 502 Bad GatewayExample: An error occurred while attempting to initialize this terminal. Please contact the Moneris Support Center and reference condition code: None-
type= u'ccpgateway.device.communication_error.moneris_device_communication_error'
-
localizable_message= <LocalizableMessage key='ccpgateway.device.communication_error.moneris_device_communication_error' ...>
-
ccpgateway.device.communication_error.moneris_device_communication_error.moneris_partial_authorization_cancelled_error¶
-
exception
lsserver.payment_gateway.moneris.moneris_communication.MonerisPartialAuthorizationCancelledError(condition_code, response) Bases:
lsserver.payment_gateway.moneris.moneris_communication.MonerisDeviceCommunicationError,lsserver.payment_gateway.moneris.moneris_communication.MonerisErrorWithCTRHTTP code: 502 Bad GatewayLocalized Key: ccpgateway.device.communication_error.moneris_device_communication_error.moneris_partial_authorization_cancelled_errorExample: The partially approved transaction was cancelled on the terminal.-
type= u'ccpgateway.device.communication_error.moneris_device_communication_error.moneris_partial_authorization_cancelled_error'
-
localizable_message= <LocalizableMessage key='ccpgateway.device.communication_error.moneris_device_communication_error.moneris_partial_authorization_cancelled_error' ...>
-
ccpgateway.device.communication_error.moneris_device_communication_error.moneris_reinitialization_required_error¶
-
exception
lsserver.payment_gateway.moneris.moneris_communication.MonerisReinitializatinRequiredError(condition_code, response) Bases:
lsserver.payment_gateway.moneris.moneris_communication.MonerisDeviceCommunicationError,lsserver.payment_gateway.moneris.moneris_communication.MonerisErrorWithCTRHTTP code: 502 Bad GatewayLocalized Key: ccpgateway.device.communication_error.moneris_device_communication_error.moneris_reinitialization_required_errorExample: The payment terminal must be initialized in order to process payments. Please initialize the terminal through the Payment Terminals setup window, and try the payment transaction again.-
type= u'ccpgateway.device.communication_error.moneris_device_communication_error.moneris_reinitialization_required_error'
-
localizable_message= <LocalizableMessage key='ccpgateway.device.communication_error.moneris_device_communication_error.moneris_reinitialization_required_error' ...>
-
ccpgateway.device.communication_error.moneris_device_communication_error.moneris_transaction_cancelled_error¶
-
exception
lsserver.payment_gateway.moneris.moneris_communication.MonerisTransactionCancelledError(condition_code, response) Bases:
lsserver.payment_gateway.moneris.moneris_communication.MonerisDeviceCommunicationError,lsserver.payment_gateway.moneris.moneris_communication.MonerisErrorWithCTRHTTP code: 502 Bad GatewayLocalized Key: ccpgateway.device.communication_error.moneris_device_communication_error.moneris_transaction_cancelled_errorExample: The attempted transaction was cancelled on the terminal.-
type= u'ccpgateway.device.communication_error.moneris_device_communication_error.moneris_transaction_cancelled_error'
-
localizable_message= <LocalizableMessage key='ccpgateway.device.communication_error.moneris_device_communication_error.moneris_transaction_cancelled_error' ...>
-
ccpgateway.device.communication_error.moneris_device_communication_error.moneris_transaction_emv_card_pulled_prematurely¶
-
exception
lsserver.payment_gateway.moneris.moneris_communication.MonerisTransactionEMVCardPulledPrematurely(condition_code, response) Bases:
lsserver.payment_gateway.moneris.moneris_communication.MonerisDeviceCommunicationError,lsserver.payment_gateway.moneris.moneris_communication.MonerisErrorWithCTRHTTP code: 502 Bad GatewayLocalized Key: ccpgateway.device.communication_error.moneris_device_communication_error.moneris_transaction_emv_card_pulled_prematurelyExample: The attempted transaction was not successful as the card was removed before the transaction was completed. Please try the payment transaction again.-
type= u'ccpgateway.device.communication_error.moneris_device_communication_error.moneris_transaction_emv_card_pulled_prematurely'
-
localizable_message= <LocalizableMessage key='ccpgateway.device.communication_error.moneris_device_communication_error.moneris_transaction_emv_card_pulled_prematurely' ...>
-
ccpgateway.device.communication_error.moneris_device_communication_error.moneris_transaction_still_alive_error¶
-
exception
lsserver.payment_gateway.moneris.moneris_communication.MonerisTransactionStillAliveError(condition_code, response) Bases:
lsserver.payment_gateway.moneris.moneris_communication.MonerisDeviceCommunicationError,lsserver.payment_gateway.moneris.moneris_communication.MonerisErrorWithCTRHTTP code: 502 Bad GatewayLocalized Key: ccpgateway.device.communication_error.moneris_device_communication_error.moneris_transaction_still_alive_errorExample: The selected payment terminal is currently processing another transaction. Please select another payment terminal, or wait for the current transaction to be completed.-
type= u'ccpgateway.device.communication_error.moneris_device_communication_error.moneris_transaction_still_alive_error'
-
localizable_message= <LocalizableMessage key='ccpgateway.device.communication_error.moneris_device_communication_error.moneris_transaction_still_alive_error' ...>
-
ccpgateway.device.communication_error.moneris_device_communication_error.moneris_transaction_timeout_error¶
-
exception
lsserver.payment_gateway.moneris.moneris_communication.MonerisTransactionTimeoutError(condition_code, response) Bases:
lsserver.payment_gateway.moneris.moneris_communication.MonerisDeviceCommunicationError,lsserver.payment_gateway.moneris.moneris_communication.MonerisErrorWithCTRHTTP code: 502 Bad GatewayLocalized Key: ccpgateway.device.communication_error.moneris_device_communication_error.moneris_transaction_timeout_errorExample: The terminal timed out waiting for the cardholder. Please try the payment transaction again.-
type= u'ccpgateway.device.communication_error.moneris_device_communication_error.moneris_transaction_timeout_error'
-
localizable_message= <LocalizableMessage key='ccpgateway.device.communication_error.moneris_device_communication_error.moneris_transaction_timeout_error' ...>
-
ccpgateway.device.communication_timeout_error¶
-
exception
lsserver.payment_gateway.ingenico.ingenico.IngenicoTimeoutError(message=None, **kwargs) Bases:
lsserver.payment_gateway.errors.ccpgateway_exceptions.DeviceCommunicationTimeoutError,lsserver.payment_gateway.ingenico.ingenico.IngenicoGeneralCommuncationErrorHTTP code: 502 Bad GatewayLocalized Key: ccpgateway.device.communication_timeout_errorExample: An timeout occurred communicating with the device
-
exception
lsserver.payment_gateway.moneris.moneris_communication.CommunicationTimeout(message=None, **kwargs) Bases:
lsserver.payment_gateway.errors.ccpgateway_exceptions.DeviceCommunicationTimeoutError,lsserver.payment_gateway.moneris.moneris_communication.CommunicationErrorHTTP code: 502 Bad GatewayLocalized Key: ccpgateway.device.communication_timeout_errorExample: An timeout occurred communicating with the device
-
exception
lsserver.payment_gateway.errors.ccpgateway_exceptions.DeviceCommunicationTimeoutError(message=None, **kwargs) Bases:
lscore.errors.server_errors.BadGatewayError,lsserver.payment_gateway.errors.ccpgateway_exceptions.GatewayErrorA time out error occurred while attempting to reach the terminal
HTTP code: 502 Bad GatewayLocalized Key: ccpgateway.device.communication_timeout_errorExample: An timeout occurred communicating with the device-
type= 'ccpgateway.device.communication_timeout_error'
-
localizable_message= <LocalizableMessage key='ccpgateway.device.communication_timeout_error' ...>
-
ccpgateway.device.configuration_error¶
-
exception
lsserver.payment_gateway.errors.ccpgateway_exceptions.DeviceConfigurationError(message=None, **kwargs) Bases:
lscore.errors.server_errors.BadGatewayError,lsserver.payment_gateway.errors.ccpgateway_exceptions.GatewayErrorThere is a problem with the configuration of the terminal.
HTTP code: 502 Bad GatewayLocalized Key: ccpgateway.device.configuration_errorExample: An error occurred configuring with the device-
type= 'ccpgateway.device.configuration_error'
-
localizable_message= <LocalizableMessage key='ccpgateway.device.configuration_error' ...>
-
-
exception
lsserver.payment_gateway.ingenico.ingenico.IngenicoConfigurationError(message=None, **kwargs) Bases:
lsserver.payment_gateway.errors.ccpgateway_exceptions.DeviceConfigurationError,lsserver.payment_gateway.ingenico.ingenico.IngenicoErrorHTTP code: 502 Bad GatewayLocalized Key: ccpgateway.device.configuration_errorExample: An error occurred configuring with the device
-
exception
lsserver.payment_gateway.ingenico.ingenico.IngenicoCannotGoOfflineError(message=None, **kwargs) Bases:
lsserver.payment_gateway.ingenico.ingenico.IngenicoConfigurationErrorHTTP code: 502 Bad GatewayLocalized Key: ccpgateway.device.configuration_errorExample: An error occurred configuring with the device
-
exception
lsserver.payment_gateway.ingenico.ingenico.IngenicoCannotGoOnlineError(message=None, **kwargs) Bases:
lsserver.payment_gateway.ingenico.ingenico.IngenicoConfigurationErrorHTTP code: 502 Bad GatewayLocalized Key: ccpgateway.device.configuration_errorExample: An error occurred configuring with the device
-
exception
lsserver.payment_gateway.ingenico.ingenico.IngenicoCannotConfigureAdsError(message=None, **kwargs) Bases:
lsserver.payment_gateway.ingenico.ingenico.IngenicoConfigurationErrorHTTP code: 502 Bad GatewayLocalized Key: ccpgateway.device.configuration_errorExample: An error occurred configuring with the device
-
exception
lsserver.payment_gateway.ingenico.ingenico.IngencicoConfigureCreditError(message=None, **kwargs) Bases:
lsserver.payment_gateway.ingenico.ingenico.IngenicoConfigurationErrorHTTP code: 502 Bad GatewayLocalized Key: ccpgateway.device.configuration_errorExample: An error occurred configuring with the device
-
exception
lsserver.payment_gateway.ingenico.ingenico.IngencicoConfigureDebitError(message=None, **kwargs) Bases:
lsserver.payment_gateway.ingenico.ingenico.IngenicoConfigurationErrorHTTP code: 502 Bad GatewayLocalized Key: ccpgateway.device.configuration_errorExample: An error occurred configuring with the device
-
exception
lsserver.payment_gateway.ingenico.ingenico.IngencicoConfigureDeclineActionError(message=None, **kwargs) Bases:
lsserver.payment_gateway.ingenico.ingenico.IngenicoConfigurationErrorHTTP code: 502 Bad GatewayLocalized Key: ccpgateway.device.configuration_errorExample: An error occurred configuring with the device
-
exception
lsserver.payment_gateway.ingenico.ingenico.IngencicoConfigureDeclineTimeError(message=None, **kwargs) Bases:
lsserver.payment_gateway.ingenico.ingenico.IngenicoConfigurationErrorHTTP code: 502 Bad GatewayLocalized Key: ccpgateway.device.configuration_errorExample: An error occurred configuring with the device
-
exception
lsserver.payment_gateway.ingenico.ingenico.IngenicoConfigureEBTCashError(message=None, **kwargs) Bases:
lsserver.payment_gateway.ingenico.ingenico.IngenicoConfigurationErrorHTTP code: 502 Bad GatewayLocalized Key: ccpgateway.device.configuration_errorExample: An error occurred configuring with the device
-
exception
lsserver.payment_gateway.ingenico.ingenico.IngenicoConfigureEBTFoodStampsError(message=None, **kwargs) Bases:
lsserver.payment_gateway.ingenico.ingenico.IngenicoConfigurationErrorHTTP code: 502 Bad GatewayLocalized Key: ccpgateway.device.configuration_errorExample: An error occurred configuring with the device
-
exception
lsserver.payment_gateway.ingenico.ingenico.IngenicoConfigureTracksError(message=None, **kwargs) Bases:
lsserver.payment_gateway.ingenico.ingenico.IngenicoConfigurationErrorHTTP code: 502 Bad GatewayLocalized Key: ccpgateway.device.configuration_errorExample: An error occurred configuring with the device
-
exception
lsserver.payment_gateway.ingenico.ingenico.IngenicoConfigureStoreError(message=None, **kwargs) Bases:
lsserver.payment_gateway.ingenico.ingenico.IngenicoConfigurationErrorHTTP code: 502 Bad GatewayLocalized Key: ccpgateway.device.configuration_errorExample: An error occurred configuring with the device
-
exception
lsserver.payment_gateway.ingenico.ingenico.IngenicoConfigureLanguagesError(message=None, **kwargs) Bases:
lsserver.payment_gateway.ingenico.ingenico.IngenicoConfigurationErrorHTTP code: 502 Bad GatewayLocalized Key: ccpgateway.device.configuration_errorExample: An error occurred configuring with the device
ccpgateway.device.configuration_error.moneris_device_configuration_error¶
-
exception
lsserver.payment_gateway.moneris.moneris_communication.MonerisDeviceConfigurationError(condition_code, response) Bases:
lsserver.payment_gateway.errors.ccpgateway_exceptions.DeviceConfigurationError,lsserver.payment_gateway.moneris.moneris_communication.MonerisTerminalErrorHTTP code: 502 Bad GatewayExample: An error occurred while attempting to initialize this terminal. Please verify your settings in the Payment Terminals setup window, or contact the Moneris Support Center and reference condition code: None-
type= u'ccpgateway.device.configuration_error.moneris_device_configuration_error'
-
localizable_message= <LocalizableMessage key='ccpgateway.device.configuration_error.moneris_device_configuration_error' ...>
-
ccpgateway.device.configuration_error.moneris_device_configuration_error.moneris_transaction_device_configuration_error¶
-
exception
lsserver.payment_gateway.moneris.moneris_communication.MonerisTransactionDeviceConfigurationError(condition_code, response) Bases:
lsserver.payment_gateway.moneris.moneris_communication.MonerisDeviceConfigurationError,lsserver.payment_gateway.moneris.moneris_communication.MonerisErrorWithCTRHTTP code: 502 Bad GatewayLocalized Key: ccpgateway.device.configuration_error.moneris_device_configuration_error.moneris_transaction_device_configuration_errorExample: An error occurred while attempting to perform the selected action. Please verify your settings in the Payment Terminals setup window, or contact the Moneris Support Center and reference condition code: None-
type= u'ccpgateway.device.configuration_error.moneris_device_configuration_error.moneris_transaction_device_configuration_error'
-
localizable_message= <LocalizableMessage key='ccpgateway.device.configuration_error.moneris_device_configuration_error.moneris_transaction_device_configuration_error' ...>
-
ccpgateway.device.not_found_error¶
-
exception
lsserver.payment_gateway.errors.ccpgateway_exceptions.DeviceNotFoundError(msg=None, device_id=None) Bases:
lscore.errors.server_errors.NotFound,lsserver.payment_gateway.errors.ccpgateway_exceptions.GatewayErrorThe terminal could not be found.
HTTP code: 404 Not FoundLocalized Key: ccpgateway.device.not_found_errorExample: A gateway device (id=”None”) could not be located: None-
type= 'ccpgateway.device.not_found_error'
-
localizable_message= <LocalizableMessage key='ccpgateway.device.not_found_error' ...>
-
ccpgateway.device.not_found_error.tyro_device_not_found_error¶
-
exception
lsserver.payment_gateway.tyro.tyro_errors.TyroDeviceNotFoundError(msg=None, device_id=None) Bases:
lsserver.payment_gateway.errors.ccpgateway_exceptions.DeviceNotFoundErrorTransaction was unsuccessful as correct TYRO merchant ID and terminal ID details need to be specified to be able to continue.
HTTP code: 404 Not FoundExample: Transaction was unsuccessful as correct TYRO merchant ID and terminal ID details need to be specified to be able to continue.-
type= 'ccpgateway.device.not_found_error.tyro_device_not_found_error'
-
localizable_message= <LocalizableMessage key='ccpgateway.device.not_found_error.tyro_device_not_found_error' ...>
-
ccpgateway.device.not_found_error.tyro_device_not_found_error.tyro_pairing_device_not_found_error¶
-
exception
lsserver.payment_gateway.tyro.tyro_errors.TyroPairingDeviceNotFoundError(msg=None, device_id=None) Bases:
lsserver.payment_gateway.tyro.tyro_errors.TyroDeviceNotFoundErrorPairing was unsuccessful because the terminal is not signed on to Tyro.
HTTP code: 404 Not FoundLocalized Key: ccpgateway.device.not_found_error.tyro_device_not_found_error.tyro_pairing_device_not_found_errorExample: Pairing was unsuccessful because the terminal is not signed on to Tyro. [DEVICE_ID=None]-
type= 'ccpgateway.device.not_found_error.tyro_device_not_found_error.tyro_pairing_device_not_found_error'
-
localizable_message= <LocalizableMessage key='ccpgateway.device.not_found_error.tyro_device_not_found_error.tyro_pairing_device_not_found_error' ...>
-
ccpgateway.device.not_found_error.tyro_device_not_found_error.tyro_transaction_status_device_not_found_error¶
-
exception
lsserver.payment_gateway.tyro.tyro_errors.TyroTransactionStatusDeviceNotFoundError Bases:
lsserver.payment_gateway.tyro.tyro_errors.TyroDeviceNotFoundErrorTerminal is not connected to Tyro. (note: Tyro’s test suite wants the error to be displayed as: “The user is notified that the transaction was unsuccessful because the terminal could not be found”)
HTTP code: 404 Not FoundLocalized Key: ccpgateway.device.not_found_error.tyro_device_not_found_error.tyro_transaction_status_device_not_found_errorExample: Transaction was unsuccessful, terminal could not be found.-
type= 'ccpgateway.device.not_found_error.tyro_device_not_found_error.tyro_transaction_status_device_not_found_error'
-
localizable_message= <LocalizableMessage key='ccpgateway.device.not_found_error.tyro_device_not_found_error.tyro_transaction_status_device_not_found_error' ...>
-
ccpgateway.duplicate_transaction_error¶
-
exception
lsserver.payment_gateway.errors.ccpgateway_exceptions.GatewayDuplicateTransactionError(gateway, document_id, amount) Bases:
lscore.errors.server_errors.Forbidden,lsserver.payment_gateway.errors.ccpgateway_exceptions.GatewayErrorThere is a error arising from a duplicate transaction.
HTTP code: 403 ForbiddenLocalized Key: ccpgateway.duplicate_transaction_errorExample: A duplicate transaction has been detected on None for None of amount None-
type= 'ccpgateway.duplicate_transaction_error'
-
localizable_message= <LocalizableMessage key='ccpgateway.duplicate_transaction_error' ...>
-
ccpgateway.error_creating_processor¶
-
exception
lsserver.payment_gateway.errors.ccpgateway_exceptions.CouldNotCreateProcessor(gateway_type='Unknown') Bases:
lscore.errors.server_errors.Forbidden,lsserver.payment_gateway.errors.ccpgateway_exceptions.GatewayErrorThe payment processor assigned to the server was not found.
HTTP code: 403 ForbiddenLocalized Key: ccpgateway.error_creating_processorExample: Could not create payment process for gateway ‘None’-
type= 'ccpgateway.error_creating_processor'
-
localizable_message= <LocalizableMessage key='ccpgateway.error_creating_processor' ...>
-
ccpgateway.gateway_communication_error¶
-
exception
lsserver.payment_gateway.errors.ccpgateway_exceptions.GatewayCommunicationError(gateway_type=None, reason=None, caused_by_error=None) Bases:
lscore.errors.server_errors.BadGatewayError,lsserver.payment_gateway.errors.ccpgateway_exceptions.GatewayErrorThere are issues communicating to the payment processor due to networking issues.
HTTP code: 502 Bad GatewayLocalized Key: ccpgateway.gateway_communication_errorExample: Error communication with gateway ‘None’: None-
type= 'ccpgateway.gateway_communication_error'
-
localizable_message= <LocalizableMessage key='ccpgateway.gateway_communication_error' ...>
-
-
exception
lsserver.payment_gateway.moneris.moneris_communication.HostCommunicationError(message, response) Bases:
lsserver.payment_gateway.errors.ccpgateway_exceptions.GatewayCommunicationError,lsserver.payment_gateway.moneris.moneris_communication.CommunicationError,lsserver.payment_gateway.moneris.moneris_communication.MonerisErrorWithCTRHTTP code: 502 Bad GatewayLocalized Key: ccpgateway.gateway_communication_errorExample: Error communication with gateway ‘None’: None
ccpgateway.gateway_communication_error.tyro_gateway_accepted_error¶
-
exception
lsserver.payment_gateway.tyro.tyro_errors.TyroGatewayAcceptedError(reason=None, caused_by_error=None) Bases:
lsserver.payment_gateway.errors.ccpgateway_exceptions.GatewayCommunicationErrorUnable to commence transaction, system not ready to receive requests. Please contact Tyro.
HTTP code: 502 Bad GatewayExample: Unable to commence transaction, system not ready to receive requests. Please contact Tyro.[None]-
type= 'ccpgateway.gateway_communication_error.tyro_gateway_accepted_error'
-
localizable_message= <LocalizableMessage key='ccpgateway.gateway_communication_error.tyro_gateway_accepted_error' ...>
-
ccpgateway.gateway_communication_error.tyro_gateway_accepted_error.tyro_pairing_gateway_accepted_error¶
-
exception
lsserver.payment_gateway.tyro.tyro_errors.TyroPairingGatewayAcceptedError(caused_by_error=None) Bases:
lsserver.payment_gateway.tyro.tyro_errors.TyroGatewayAcceptedErrorSystem not ready to receive requests. Please contact Tyro.
HTTP code: 502 Bad GatewayLocalized Key: ccpgateway.gateway_communication_error.tyro_gateway_accepted_error.tyro_pairing_gateway_accepted_errorExample: System not ready to receive requests. Please contact Tyro.-
type= 'ccpgateway.gateway_communication_error.tyro_gateway_accepted_error.tyro_pairing_gateway_accepted_error'
-
localizable_message= <LocalizableMessage key='ccpgateway.gateway_communication_error.tyro_gateway_accepted_error.tyro_pairing_gateway_accepted_error' ...>
-
ccpgateway.gateway_communication_error.tyro_gateway_accepted_error.tyro_transaction_status_gateway_accepted_error¶
-
exception
lsserver.payment_gateway.tyro.tyro_errors.TyroTransactionStatusGatewayAcceptedError(caused_by_error=None) Bases:
lsserver.payment_gateway.tyro.tyro_errors.TyroGatewayAcceptedErrorUnable to determine completion status of the transaction, perform “reprint receipt” on the terminal to determine if the transaction was successful.
HTTP code: 502 Bad GatewayLocalized Key: ccpgateway.gateway_communication_error.tyro_gateway_accepted_error.tyro_transaction_status_gateway_accepted_errorExample: Unable to determine completion status of the transaction, perform “reprint receipt” on the terminal to determine if the transaction was successful.-
type= 'ccpgateway.gateway_communication_error.tyro_gateway_accepted_error.tyro_transaction_status_gateway_accepted_error'
-
localizable_message= <LocalizableMessage key='ccpgateway.gateway_communication_error.tyro_gateway_accepted_error.tyro_transaction_status_gateway_accepted_error' ...>
-
ccpgateway.gateway_communication_error.tyro_gateway_communication_error¶
-
exception
lsserver.payment_gateway.tyro.tyro_errors.TyroGatewayCommunicationError(reason=None, caused_by_error=None) Bases:
lsserver.payment_gateway.errors.ccpgateway_exceptions.GatewayCommunicationErrorA communication error has occurred. Please check the transaction status on the terminal and find the next action to be taken.
HTTP code: 502 Bad GatewayExample: A communication error has occurred. Please check the transaction status on the terminal and find the next action to be taken.[None]-
type= 'ccpgateway.gateway_communication_error.tyro_gateway_communication_error'
-
localizable_message= <LocalizableMessage key='ccpgateway.gateway_communication_error.tyro_gateway_communication_error' ...>
-
ccpgateway.gateway_communication_error.tyro_gateway_communication_error.tyro_initate_purchase_gateway_communication_error¶
-
exception
lsserver.payment_gateway.tyro.tyro_errors.TyroInitatePurchaseGatewayCommunicationError(caused_by_error=None) Bases:
lsserver.payment_gateway.tyro.tyro_errors.TyroGatewayCommunicationErrorTransaction was unsuccessful, there is a networking issue that needs to be resolved.
HTTP code: 502 Bad GatewayLocalized Key: ccpgateway.gateway_communication_error.tyro_gateway_communication_error.tyro_initate_purchase_gateway_communication_errorExample: Transaction was unsuccessful, there is a networking issue that needs to be resolved.-
type= 'ccpgateway.gateway_communication_error.tyro_gateway_communication_error.tyro_initate_purchase_gateway_communication_error'
-
localizable_message= <LocalizableMessage key='ccpgateway.gateway_communication_error.tyro_gateway_communication_error.tyro_initate_purchase_gateway_communication_error' ...>
-
ccpgateway.gateway_communication_error.tyro_gateway_communication_error.tyro_initate_refund_gateway_communication_error¶
-
exception
lsserver.payment_gateway.tyro.tyro_errors.TyroInitateRefundGatewayCommunicationError(caused_by_error=None) Bases:
lsserver.payment_gateway.tyro.tyro_errors.TyroGatewayCommunicationErrorTransaction was unsuccessful, there is a networking issue that needs to be resolved.
HTTP code: 502 Bad GatewayLocalized Key: ccpgateway.gateway_communication_error.tyro_gateway_communication_error.tyro_initate_refund_gateway_communication_errorExample: Transaction was unsuccessful, there is a networking issue that needs to be resolved.-
type= 'ccpgateway.gateway_communication_error.tyro_gateway_communication_error.tyro_initate_refund_gateway_communication_error'
-
localizable_message= <LocalizableMessage key='ccpgateway.gateway_communication_error.tyro_gateway_communication_error.tyro_initate_refund_gateway_communication_error' ...>
-
ccpgateway.gateway_communication_error.tyro_gateway_communication_error.tyro_pairing_gateway_communication_error¶
-
exception
lsserver.payment_gateway.tyro.tyro_errors.TyroPairingGatewayCommunicationError(caused_by_error=None) Bases:
lsserver.payment_gateway.tyro.tyro_errors.TyroGatewayCommunicationErrorPairing was unsuccessful due to a communication error.
HTTP code: 502 Bad GatewayLocalized Key: ccpgateway.gateway_communication_error.tyro_gateway_communication_error.tyro_pairing_gateway_communication_errorExample: Pairing was unsuccessful due to a communication error.-
type= 'ccpgateway.gateway_communication_error.tyro_gateway_communication_error.tyro_pairing_gateway_communication_error'
-
localizable_message= <LocalizableMessage key='ccpgateway.gateway_communication_error.tyro_gateway_communication_error.tyro_pairing_gateway_communication_error' ...>
-
ccpgateway.gateway_failure¶
-
exception
lsserver.payment_gateway.errors.ccpgateway_exceptions.GatewayFailure(message=None, gateway='unknown', status_code='unknown', action='unknown', gateway_message=None, server_message=None, caused_by_error=None) Bases:
lscore.errors.server_errors.Forbidden,lsserver.payment_gateway.errors.ccpgateway_exceptions.GatewayErrorThe payment processor failed to complete operation.
HTTP code: 403 ForbiddenLocalized Key: ccpgateway.gateway_failureExample: Gateway ‘None’ failed with status code ‘None’ during action ‘None’: ‘None’ server message: ‘None’-
type= 'ccpgateway.gateway_failure'
-
localizable_message= <LocalizableMessage key='ccpgateway.gateway_failure' ...>
-
status_code
-
-
exception
lsserver.payment_gateway.moneris.moneris_communication.UnexpectedMessage(expected_transaction_code, actual_transaction_code) Bases:
lsserver.payment_gateway.errors.ccpgateway_exceptions.GatewayFailure,lsserver.payment_gateway.moneris.moneris_communication.MonerisTerminalErrorHTTP code: 403 ForbiddenLocalized Key: ccpgateway.gateway_failureExample: Gateway ‘None’ failed with status code ‘None’ during action ‘None’: ‘None’ server message: ‘None’
-
exception
lsserver.payment_gateway.merchantware.genius.genius_terminal.GeniusTerminalGatewayFailure(terminal_response, *args, **kwargs) Bases:
lsserver.payment_gateway.merchantware.genius.genius_terminal.GeniusTerminalError,lsserver.payment_gateway.errors.ccpgateway_exceptions.GatewayFailureHTTP code: 403 ForbiddenLocalized Key: ccpgateway.gateway_failureExample: Gateway ‘None’ failed with status code ‘None’ during action ‘None’: ‘None’ server message: ‘None’-
terminal_response
-
ccpgateway.gateway_failure.moneris_gateway_failure¶
-
exception
lsserver.payment_gateway.moneris.moneris_communication.MonerisGatewayFailure(condition_code, response) Bases:
lsserver.payment_gateway.errors.ccpgateway_exceptions.GatewayFailure,lsserver.payment_gateway.moneris.moneris_communication.MonerisErrorWithCTRHTTP code: 403 ForbiddenLocalized Key: ccpgateway.gateway_failure.moneris_gateway_failureExample: An unexpected error occurred while attempting to process this transaction. Please contact the Moneris Support Center and reference condition code: None-
type= u'ccpgateway.gateway_failure.moneris_gateway_failure'
-
localizable_message= <LocalizableMessage key='ccpgateway.gateway_failure.moneris_gateway_failure' ...>
-
ccpgateway.gateway_failure.moneris_gateway_failure.moneris_invalid_or_missing_token_request_value_error¶
-
exception
lsserver.payment_gateway.moneris.moneris_communication.MonerisInvalidOrMissingTokenRequestValueError(condition_code, response) Bases:
lsserver.payment_gateway.moneris.moneris_communication.MonerisGatewayFailureHTTP code: 403 ForbiddenLocalized Key: ccpgateway.gateway_failure.moneris_gateway_failure.moneris_invalid_or_missing_token_request_value_errorExample: The attempted transaction could not be completed successfully. Please try the payment transaction again, or contact the Moneris Support Center and reference condition code: None-
type= u'ccpgateway.gateway_failure.moneris_gateway_failure.moneris_invalid_or_missing_token_request_value_error'
-
localizable_message= <LocalizableMessage key='ccpgateway.gateway_failure.moneris_gateway_failure.moneris_invalid_or_missing_token_request_value_error' ...>
-
ccpgateway.gateway_failure.moneris_gateway_failure.moneris_reset_busy_transaction_error¶
-
exception
lsserver.payment_gateway.moneris.moneris_communication.MonerisResetBusyTransactionError(conditional_code, response) Bases:
lsserver.payment_gateway.moneris.moneris_communication.MonerisDeviceCommunicationErrorHTTP code: 502 Bad GatewayLocalized Key: ccpgateway.gateway_failure.moneris_gateway_failure.moneris_reset_busy_transaction_errorExample: Reset requested on Busy Terminal. Please try check the Moneris Terminal.-
type= u'ccpgateway.gateway_failure.moneris_gateway_failure.moneris_reset_busy_transaction_error'
-
localizable_message= <LocalizableMessage key='ccpgateway.gateway_failure.moneris_gateway_failure.moneris_reset_busy_transaction_error' ...>
-
ccpgateway.gateway_failure.moneris_gateway_failure.moneris_saf_mode_is_off_error¶
-
exception
lsserver.payment_gateway.moneris.moneris_communication.MonerisSAFModeIsOffError(condition_code, response) Bases:
lsserver.payment_gateway.moneris.moneris_communication.MonerisGatewayFailureHTTP code: 403 ForbiddenExample: The attempted transaction could not be completed successfully. Please try the payment transaction again later, or contact the Moneris Support Center and reference condition code: None-
type= u'ccpgateway.gateway_failure.moneris_gateway_failure.moneris_saf_mode_is_off_error'
-
localizable_message= <LocalizableMessage key='ccpgateway.gateway_failure.moneris_gateway_failure.moneris_saf_mode_is_off_error' ...>
-
ccpgateway.gateway_failure.moneris_gateway_failure.moneris_transaction_emv_card_chip_error¶
-
exception
lsserver.payment_gateway.moneris.moneris_communication.MonerisTransactionEMVCardChipError(condition_code, response) Bases:
lsserver.payment_gateway.moneris.moneris_communication.MonerisGatewayFailureHTTP code: 403 ForbiddenLocalized Key: ccpgateway.gateway_failure.moneris_gateway_failure.moneris_transaction_emv_card_chip_errorExample: The attempted transaction could not be completed successfully. Please try the payment transaction again, or contact the Moneris Support Center and reference condition code: None-
type= u'ccpgateway.gateway_failure.moneris_gateway_failure.moneris_transaction_emv_card_chip_error'
-
localizable_message= <LocalizableMessage key='ccpgateway.gateway_failure.moneris_gateway_failure.moneris_transaction_emv_card_chip_error' ...>
-
ccpgateway.gateway_failure.moneris_gateway_failure.moneris_transaction_emv_card_transaction_declined¶
-
exception
lsserver.payment_gateway.moneris.moneris_communication.MonerisTransactionEMVCardTransactionDeclined(condition_code, response) Bases:
lsserver.payment_gateway.moneris.moneris_communication.MonerisGatewayFailureHTTP code: 403 ForbiddenLocalized Key: ccpgateway.gateway_failure.moneris_gateway_failure.moneris_transaction_emv_card_transaction_declinedExample: The attempted transaction was declined by the card. Please try the payment transaction again, or contact the Moneris Support Center and reference condition code: None-
type= u'ccpgateway.gateway_failure.moneris_gateway_failure.moneris_transaction_emv_card_transaction_declined'
-
localizable_message= <LocalizableMessage key='ccpgateway.gateway_failure.moneris_gateway_failure.moneris_transaction_emv_card_transaction_declined' ...>
-
ccpgateway.gateway_failure.moneris_gateway_failure.moneris_transaction_non_emv_reversal_code_error¶
-
exception
lsserver.payment_gateway.moneris.moneris_communication.MonerisTransactionNonEMVReversalCodeError(condition_code, response) Bases:
lsserver.payment_gateway.moneris.moneris_communication.MonerisGatewayFailureHTTP code: 403 ForbiddenLocalized Key: ccpgateway.gateway_failure.moneris_gateway_failure.moneris_transaction_non_emv_reversal_code_errorExample: The attempted transaction could not be completed successfully. Please try the payment transaction again, or contact the Moneris Support Center and reference condition code: None-
type= u'ccpgateway.gateway_failure.moneris_gateway_failure.moneris_transaction_non_emv_reversal_code_error'
-
localizable_message= <LocalizableMessage key='ccpgateway.gateway_failure.moneris_gateway_failure.moneris_transaction_non_emv_reversal_code_error' ...>
-
ccpgateway.gateway_failure.moneris_gateway_failure.moneris_transaction_not_completed_error¶
-
exception
lsserver.payment_gateway.moneris.moneris_communication.MonerisTransactionNotCompletedError(condition_code, response) Bases:
lsserver.payment_gateway.moneris.moneris_communication.MonerisGatewayFailureHTTP code: 403 ForbiddenLocalized Key: ccpgateway.gateway_failure.moneris_gateway_failure.moneris_transaction_not_completed_errorExample: The attempted transaction could not be completed successfully. Please try the payment transaction again, or contact the Moneris Support Center and reference condition code: None-
type= u'ccpgateway.gateway_failure.moneris_gateway_failure.moneris_transaction_not_completed_error'
-
localizable_message= <LocalizableMessage key='ccpgateway.gateway_failure.moneris_gateway_failure.moneris_transaction_not_completed_error' ...>
-
ccpgateway.gateway_failure.moneris_gateway_failure.transaction_declined¶
-
exception
lsserver.payment_gateway.moneris.moneris_communication.TransactionDeclined(action, response) Bases:
lsserver.payment_gateway.errors.ccpgateway_exceptions.GatewayFailure,lsserver.payment_gateway.moneris.moneris_communication.MonerisErrorWithCTRHTTP code: 403 ForbiddenExample: Transaction Declined-
type= u'ccpgateway.gateway_failure.moneris_gateway_failure.transaction_declined'
-
localizable_message= <LocalizableMessage key='ccpgateway.gateway_failure.moneris_gateway_failure.transaction_declined' ...>
-
ccpgateway.gateway_failure.tyro_gateway_conflict_error¶
-
exception
lsserver.payment_gateway.tyro.tyro_errors.TyroGatewayConflictError(gateway_message=None, caused_by_error=None) Bases:
lsserver.payment_gateway.errors.ccpgateway_exceptions.GatewayFailureThe request cannot be made as it conflicts with state of the Terminal.
HTTP code: 403 ForbiddenLocalized Key: ccpgateway.gateway_failure.tyro_gateway_conflict_errorExample: The request cannot be made as it conflicts with state of the Terminal. [None]-
type= 'ccpgateway.gateway_failure.tyro_gateway_conflict_error'
-
localizable_message= <LocalizableMessage key='ccpgateway.gateway_failure.tyro_gateway_conflict_error' ...>
-
ccpgateway.gateway_failure.tyro_gateway_conflict_error.tyro_pairing_gateway_conflict_error¶
-
exception
lsserver.payment_gateway.tyro.tyro_errors.TyroPairingGatewayConflictError(gateway_message=None, caused_by_error=None) Bases:
lsserver.payment_gateway.tyro.tyro_errors.TyroGatewayConflictErrorTyro Terminal Pairing unsuccessful because another system is trying to pair with the same terminal at the same time.
HTTP code: 403 ForbiddenLocalized Key: ccpgateway.gateway_failure.tyro_gateway_conflict_error.tyro_pairing_gateway_conflict_errorExample: Tyro Terminal Pairing unsuccessful because another system is trying to pair with the same terminal at the same time.-
type= 'ccpgateway.gateway_failure.tyro_gateway_conflict_error.tyro_pairing_gateway_conflict_error'
-
localizable_message= <LocalizableMessage key='ccpgateway.gateway_failure.tyro_gateway_conflict_error.tyro_pairing_gateway_conflict_error' ...>
-
ccpgateway.gateway_failure.tyro_gateway_forbidden_error¶
-
exception
lsserver.payment_gateway.tyro.tyro_errors.TyroGatewayForbiddenError(gateway_message=None, caused_by_error=None) Bases:
lsserver.payment_gateway.errors.ccpgateway_exceptions.GatewayFailureUnable to commence transaction, pairing needs to be re-performed with the terminal to be able to continue.
HTTP code: 403 ForbiddenLocalized Key: ccpgateway.gateway_failure.tyro_gateway_forbidden_errorExample: Unable to commence transaction, pairing needs to be re-performed with the terminal to be able to continue. [None]-
type= 'ccpgateway.gateway_failure.tyro_gateway_forbidden_error'
-
localizable_message= <LocalizableMessage key='ccpgateway.gateway_failure.tyro_gateway_forbidden_error' ...>
-
ccpgateway.gateway_failure.tyro_gateway_forbidden_error.tyro_transaction_status_gateway_forbidden_error¶
-
exception
lsserver.payment_gateway.tyro.tyro_errors.TyroTransactionStatusGatewayForbiddenError(caused_by_error=None) Bases:
lsserver.payment_gateway.tyro.tyro_errors.TyroGatewayForbiddenErrorUnable to determine completion status of the transaction as the pairing key has changed on the terminal. Perform a “print detailed report” on the terminal and look for a card number to determine if the transaction was successful.
HTTP code: 403 ForbiddenLocalized Key: ccpgateway.gateway_failure.tyro_gateway_forbidden_error.tyro_transaction_status_gateway_forbidden_errorExample: Unable to determine completion status of the transaction as the pairing key has changed on the terminal. Perform a “print detailed report” on the terminal and look for a card number to determine if the transaction was successful.-
type= 'ccpgateway.gateway_failure.tyro_gateway_forbidden_error.tyro_transaction_status_gateway_forbidden_error'
-
localizable_message= <LocalizableMessage key='ccpgateway.gateway_failure.tyro_gateway_forbidden_error.tyro_transaction_status_gateway_forbidden_error' ...>
-
ccpgateway.gateway_internal_server_error¶
-
exception
lsserver.payment_gateway.errors.ccpgateway_exceptions.GatewayInternalServerError(gateway_type='Unknown Gateway', reason='Unknown error', **kwargs) Bases:
lscore.errors.server_errors.ServerError,lsserver.payment_gateway.errors.ccpgateway_exceptions.GatewayErrorThe payment processor suffered an internal error while responding to a request.
HTTP code: 500 Internal Server ErrorLocalized Key: ccpgateway.gateway_internal_server_errorExample: Error in gateway system. Gateway “None” responded: “None”-
type= 'ccpgateway.gateway_internal_server_error'
-
localizable_message= <LocalizableMessage key='ccpgateway.gateway_internal_server_error' ...>
-
ccpgateway.gateway_internal_server_error.tyro_gateway_internal_server_error¶
-
exception
lsserver.payment_gateway.tyro.tyro_errors.TyroGatewayInternalServerError(reason='Unknown error') Bases:
lsserver.payment_gateway.errors.ccpgateway_exceptions.GatewayInternalServerErrorUnable to complete. Error in Tyro system, please contact Tyro.
HTTP code: 500 Internal Server ErrorExample: Unable to complete. Error in Tyro system, please contact Tyro.-
type= 'ccpgateway.gateway_internal_server_error.tyro_gateway_internal_server_error'
-
localizable_message= <LocalizableMessage key='ccpgateway.gateway_internal_server_error.tyro_gateway_internal_server_error' ...>
-
ccpgateway.gateway_internal_server_error.tyro_gateway_internal_server_error.tyro_transaction_pairing_gateway_internal_server_error¶
-
exception
lsserver.payment_gateway.tyro.tyro_errors.TyroPairingGatewayInternalServerError Bases:
lsserver.payment_gateway.tyro.tyro_errors.TyroGatewayInternalServerErrorHTTP code: 500 Internal Server ErrorLocalized Key: ccpgateway.gateway_internal_server_error.tyro_gateway_internal_server_error.tyro_transaction_pairing_gateway_internal_server_errorExample: Lightspeed was unable to pair with the selected terminal due to an unexpected error. Please contact Tyro for assistance.-
type= 'ccpgateway.gateway_internal_server_error.tyro_gateway_internal_server_error.tyro_transaction_pairing_gateway_internal_server_error'
-
localizable_message= <LocalizableMessage key='ccpgateway.gateway_internal_server_error.tyro_gateway_internal_server_error.tyro_transaction_pairing_gateway_internal_server_error' ...>
-
ccpgateway.gateway_internal_server_error.tyro_gateway_internal_server_error.tyro_transaction_status_gateway_internal_server_error¶
-
exception
lsserver.payment_gateway.tyro.tyro_errors.TyroTransactionStatusGatewayInternalServerError Bases:
lsserver.payment_gateway.tyro.tyro_errors.TyroGatewayInternalServerErrorUnable to determine completion status of the transaction, perform “reprint receipt” on the terminal to determine if the transaction was successful.
HTTP code: 500 Internal Server ErrorLocalized Key: ccpgateway.gateway_internal_server_error.tyro_gateway_internal_server_error.tyro_transaction_status_gateway_internal_server_errorExample: Unable to determine completion status of the transaction, perform “reprint receipt” on the terminal to determine if the transaction was successful.-
type= 'ccpgateway.gateway_internal_server_error.tyro_gateway_internal_server_error.tyro_transaction_status_gateway_internal_server_error'
-
localizable_message= <LocalizableMessage key='ccpgateway.gateway_internal_server_error.tyro_gateway_internal_server_error.tyro_transaction_status_gateway_internal_server_error' ...>
-
ccpgateway.gateway_invalid_certificate_error¶
-
exception
lsserver.payment_gateway.errors.ccpgateway_exceptions.GatewayInvalidCertificateError(reason, gateway='Unknown', caused_by_error=None) Bases:
lscore.errors.server_errors.BadGatewayError,lsserver.payment_gateway.errors.ccpgateway_exceptions.GatewayErrorThe server was presented an invalid certificate. This may indicate that communications have been compromised.
HTTP code: 502 Bad GatewayLocalized Key: ccpgateway.gateway_invalid_certificate_errorExample: Gateway “None” presented an invalid certificate. This may indicate that your communications have been compromised: None-
type= 'ccpgateway.gateway_invalid_certificate_error'
-
localizable_message= <LocalizableMessage key='ccpgateway.gateway_invalid_certificate_error' ...>
-
ccpgateway.gateway_invalid_certificate_error.tyro_gateway_invalid_certificate_error¶
-
exception
lsserver.payment_gateway.tyro.tyro_errors.TyroGatewayInvalidCertificateError(reason, caused_by_error=None) Bases:
lsserver.payment_gateway.errors.ccpgateway_exceptions.GatewayInvalidCertificateErrorThe Tyro server presented an invalid certificate. This may indicate that your communications have been compromised:
HTTP code: 502 Bad GatewayExample: The Tyro server presented an invalid certificate. This may indicate that your communications have been compromised: [None]-
type= 'ccpgateway.gateway_invalid_certificate_error.tyro_gateway_invalid_certificate_error'
-
localizable_message= <LocalizableMessage key='ccpgateway.gateway_invalid_certificate_error.tyro_gateway_invalid_certificate_error' ...>
-
ccpgateway.gateway_not_found¶
-
exception
lsserver.payment_gateway.errors.ccpgateway_exceptions.GatewayNotFoundError(reason=None, gateway_type=None, **kwargs) Bases:
lscore.errors.server_errors.NotFound,lsserver.payment_gateway.errors.ccpgateway_exceptions.GatewayErrorThe payment processor could not be found.
HTTP code: 404 Not FoundLocalized Key: ccpgateway.gateway_not_foundExample: Resource not found. Gateway “None” responded: “None”-
type= 'ccpgateway.gateway_not_found'
-
localizable_message= <LocalizableMessage key='ccpgateway.gateway_not_found' ...>
-
ccpgateway.gateway_response_missing_data_error¶
-
exception
lsserver.payment_gateway.errors.ccpgateway_exceptions.GatewayResponseMissingData(element, gateway='Unknown') Bases:
lscore.errors.lightspeed_errors.LightSpeedError,lsserver.payment_gateway.errors.ccpgateway_exceptions.GatewayErrorThe payment processor sent a response that is missing expected data.
HTTP code: 500 Internal Server ErrorLocalized Key: ccpgateway.gateway_response_missing_data_errorExample: Gateway “None” response missing required element “None”-
type= 'ccpgateway.gateway_response_missing_data_error'
-
localizable_message= <LocalizableMessage key='ccpgateway.gateway_response_missing_data_error' ...>
-
ccpgateway.gateway_timeout_error¶
-
exception
lsserver.payment_gateway.errors.ccpgateway_exceptions.GatewayCommunicationTimeoutError(gateway_type=None, reason=None, caused_by_error=None) Bases:
lscore.errors.server_errors.BadGatewayError,lsserver.payment_gateway.errors.ccpgateway_exceptions.GatewayErrorThe time out error occurred before a response came back from the payment processor.
HTTP code: 502 Bad GatewayLocalized Key: ccpgateway.gateway_communication_timeout_errorExample: Error timeout communication with gateway ‘None’: None-
type= 'ccpgateway.gateway_timeout_error'
-
localizable_message= <LocalizableMessage key='ccpgateway.gateway_communication_timeout_error' ...>
-
ccpgateway.gateway_timeout_error.tyro_gateway_communication_timeout_error¶
-
exception
lsserver.payment_gateway.tyro.tyro_errors.TyroGatewayCommunicationTimeoutError(reason=None, caused_by_error=None) Bases:
lsserver.payment_gateway.errors.ccpgateway_exceptions.GatewayCommunicationTimeoutErrorUnable to commence transaction as there is a problem communicating with the terminal.
HTTP code: 502 Bad GatewayExample: Unable to commence transaction as there is a problem communicating with the terminal. [None]-
type= 'ccpgateway.gateway_timeout_error.tyro_gateway_communication_timeout_error'
-
localizable_message= <LocalizableMessage key='ccpgateway.gateway_timeout_error.tyro_gateway_communication_timeout_error' ...>
-
ccpgateway.gateway_timeout_error.tyro_gateway_communication_timeout_error.tyro_pairing_gateway_timeout¶
-
exception
lsserver.payment_gateway.tyro.tyro_errors.TyroPairingGatewayCommunicationTimeoutError(reason=None, caused_by_error=None) Bases:
lsserver.payment_gateway.tyro.tyro_errors.TyroGatewayCommunicationTimeoutErrorPairing was unsuccessful because the terminal was not sent the pairing key in time.
HTTP code: 502 Bad GatewayLocalized Key: ccpgateway.gateway_timeout_error.tyro_gateway_communication_timeout_error.tyro_pairing_gateway_timeoutExample: Pairing was unsuccessful because the terminal was not sent the pairing key in time.-
type= 'ccpgateway.gateway_timeout_error.tyro_gateway_communication_timeout_error.tyro_pairing_gateway_timeout'
-
localizable_message= <LocalizableMessage key='ccpgateway.gateway_timeout_error.tyro_gateway_communication_timeout_error.tyro_pairing_gateway_timeout' ...>
-
ccpgateway.invalid_amount_error¶
-
exception
lsserver.payment_gateway.errors.ccpgateway_exceptions.InvalidAmountError(amount, reason=None) Bases:
lscore.errors.server_errors.Forbidden,lsserver.payment_gateway.errors.ccpgateway_exceptions.GatewayErrorA provided currency amount is not valid for the current transaction. This might be used, for example, if we expect a positive currency amount but receive a negative one.
HTTP code: 403 ForbiddenLocalized Key: ccpgateway.invalid_amount_errorExample: Amount (None) is not valid for this transaction. None-
type= 'ccpgateway.invalid_amount_error'
-
localizable_message= <LocalizableMessage key='ccpgateway.invalid_amount_error' ...>
-
ccpgateway.invalid_amount_error.zero_dollar_invalid_amount_error¶
-
exception
lsserver.payment_gateway.errors.ccpgateway_exceptions.ZeroDollarInvalidAmountError Bases:
lsserver.payment_gateway.errors.ccpgateway_exceptions.InvalidAmountErrorA currency amount of 0.00 was provided for a transaction, but this amount is invalid for the purpose it was provided.
HTTP code: 403 ForbiddenExample: Lightspeed is unable to process a transaction with no amount specified. Please enter a valid amount for the payment and try again.-
type= 'ccpgateway.invalid_amount_error.zero_dollar_invalid_amount_error'
-
localizable_message= <LocalizableMessage key='ccpgateway.invalid_amount_error.zero_dollar_invalid_amount_error' ...>
-
ccpgateway.payment_processor.data_error¶
-
exception
lsserver.payment_gateway.errors.ccpgateway_exceptions.PaymentProcessorDataError(message=None, gateway='unknown', item='unknown', value='unknown') Bases:
lscore.errors.lightspeed_errors.LightSpeedError,lsserver.payment_gateway.errors.ccpgateway_exceptions.GatewayErrorThe request to be sent to the payment processor is missing required data.
HTTP code: 500 Internal Server ErrorLocalized Key: ccpgateway.payment_processor.data_errorExample: The payment processor for gateway ‘None’ received unexpected data: Item: ‘None’ Value: ‘None’ None-
type= 'ccpgateway.payment_processor.data_error'
-
localizable_message= <LocalizableMessage key='ccpgateway.payment_processor.data_error' ...>
-
ccpgateway.payment_processor.not_implemented¶
-
exception
lsserver.payment_gateway.errors.ccpgateway_exceptions.PaymentProcessorNotImplementedError(message=None) Bases:
lscore.errors.server_errors.NotImplementedError,lsserver.payment_gateway.errors.ccpgateway_exceptions.GatewayErrorThe payment operation requested has not been implemented for the payment processor.
HTTP code: 501 Not ImplementedLocalized Key: ccpgateway.payment_processor.not_implementedExample: Not implemented.-
type= 'ccpgateway.payment_processor.not_implemented'
-
localizable_message= <LocalizableMessage key='ccpgateway.payment_processor.not_implemented' ...>
-
ccpgateway.payment_processor.not_implemented.tyro_payment_processor_not_implemented_error¶
-
exception
lsserver.payment_gateway.tyro.tyro_errors.TyroPaymentProcessorNotImplementedError(message=None) Bases:
lsserver.payment_gateway.errors.ccpgateway_exceptions.PaymentProcessorNotImplementedErrorFunction not available on this Tyro Terminal.
HTTP code: 501 Not ImplementedLocalized Key: ccpgateway.payment_processor.not_implemented.tyro_payment_processor_not_implemented_errorExample: Function not available on this Tyro Terminal. [None]-
type= 'ccpgateway.payment_processor.not_implemented.tyro_payment_processor_not_implemented_error'
-
localizable_message= <LocalizableMessage key='ccpgateway.payment_processor.not_implemented.tyro_payment_processor_not_implemented_error' ...>
-
ccpgateway.payment_processor.not_implemented.tyro_payment_processor_not_implemented_error.tyro_initiate_purchase_payment_processor_not_implemented_error¶
-
exception
lsserver.payment_gateway.tyro.tyro_errors.TyroInitatePurchasePaymentProcessorNotImplementedError Bases:
lsserver.payment_gateway.tyro.tyro_errors.TyroPaymentProcessorNotImplementedError“Unable to commence transaction, cashouts are disabled on this terminal.”
HTTP code: 501 Not ImplementedExample: Unable to commence transaction, cashouts are disabled on this terminal.-
type= 'ccpgateway.payment_processor.not_implemented.tyro_payment_processor_not_implemented_error.tyro_initiate_purchase_payment_processor_not_implemented_error'
-
localizable_message= <LocalizableMessage key='ccpgateway.payment_processor.not_implemented.tyro_payment_processor_not_implemented_error.tyro_initiate_purchase_payment_processor_not_implemented_error' ...>
-
ccpgateway.payment_processor.not_implemented.tyro_payment_processor_not_implemented_error.tyro_initiate_refund_payment_processor_not_implemented_error¶
-
exception
lsserver.payment_gateway.tyro.tyro_errors.TyroInitateRefundPaymentProcessorNotImplementedError Bases:
lsserver.payment_gateway.tyro.tyro_errors.TyroPaymentProcessorNotImplementedError“Unable to commence transaction, refunds are disabled on this terminal”
HTTP code: 501 Not ImplementedExample: Unable to commence transaction, refunds are disabled on this terminal-
type= 'ccpgateway.payment_processor.not_implemented.tyro_payment_processor_not_implemented_error.tyro_initiate_refund_payment_processor_not_implemented_error'
-
localizable_message= <LocalizableMessage key='ccpgateway.payment_processor.not_implemented.tyro_payment_processor_not_implemented_error.tyro_initiate_refund_payment_processor_not_implemented_error' ...>
-
ccpgateway.payment_processor.operation_no_longer_supported¶
-
exception
lsserver.payment_gateway.errors.ccpgateway_exceptions.PaymentOperationNoLongerSupported(operation=u'unknown', processor=u'unknown') Bases:
lsserver.payment_gateway.errors.ccpgateway_exceptions.PaymentOperationNotSupportedThe payment processor is no longer supported
HTTP code: 500 Internal Server ErrorLocalized Key: ccpgateway.payment_processor.operation_no_longer_supportedExample: Payment Operation: None is no longer supported for None-
type= 'ccpgateway.payment_processor.operation_no_longer_supported'
-
localizable_message= <LocalizableMessage key='ccpgateway.payment_processor.operation_no_longer_supported' ...>
-
ccpgateway.payment_processor.operation_not_supported¶
-
exception
lsserver.payment_gateway.errors.ccpgateway_exceptions.PaymentOperationNotSupported(operation=u'unknown', processor=u'unknown') Bases:
lscore.errors.lightspeed_errors.LightSpeedError,lsserver.payment_gateway.errors.ccpgateway_exceptions.GatewayErrorThe payment processor does not support the payment operation requested.
HTTP code: 500 Internal Server ErrorLocalized Key: ccpgateway.payment_processor.operation_not_supportedExample: Payment Operation: None not supported by None-
type= 'ccpgateway.payment_processor.operation_not_supported'
-
localizable_message= <LocalizableMessage key='ccpgateway.payment_processor.operation_not_supported' ...>
-
-
exception
lsserver.payment_gateway.ingenico.ingenico.IngenicoManualPaymentError(operation, processor) Bases:
lsserver.payment_gateway.errors.ccpgateway_exceptions.PaymentOperationNotSupported,lsserver.payment_gateway.ingenico.ingenico.IngenicoErrorHTTP code: 500 Internal Server ErrorLocalized Key: ccpgateway.payment_processor.operation_not_supportedExample: Payment Operation: None not supported by None
ccpgateway.payment_processor.operation_not_supported.moneris_payment_operation_not_supported¶
-
exception
lsserver.payment_gateway.moneris.moneris_communication.MonerisPaymentOperationNotSupported(condition_code, response) Bases:
lsserver.payment_gateway.errors.ccpgateway_exceptions.PaymentOperationNotSupported,lsserver.payment_gateway.moneris.moneris_communication.MonerisErrorWithCTRHTTP code: 500 Internal Server ErrorLocalized Key: ccpgateway.payment_processor.operation_not_supported.moneris_payment_operation_not_supportedExample: The attempted transaction type is not supported by this terminal. Please contact Lightspeed Support and reference condition code: None-
type= u'ccpgateway.payment_processor.operation_not_supported.moneris_payment_operation_not_supported'
-
localizable_message= <LocalizableMessage key='ccpgateway.payment_processor.operation_not_supported.moneris_payment_operation_not_supported' ...>
-
ccpgateway.payment_processor.operation_not_supported.moneris_payment_operation_not_supported.moneris_card_type_not_supported_error¶
-
exception
lsserver.payment_gateway.moneris.moneris_communication.MonerisCardTypeNotSupporedError(condition_code, response) Bases:
lsserver.payment_gateway.moneris.moneris_communication.MonerisPaymentOperationNotSupportedHTTP code: 500 Internal Server ErrorLocalized Key: ccpgateway.payment_processor.operation_not_supported.moneris_payment_operation_not_supported.moneris_card_type_not_supported_errorExample: The payment card used is not supported by this terminal. Please contact the Moneris Support Center and reference condition code: None-
type= u'ccpgateway.payment_processor.operation_not_supported.moneris_payment_operation_not_supported.moneris_card_type_not_supported_error'
-
localizable_message= <LocalizableMessage key='ccpgateway.payment_processor.operation_not_supported.moneris_payment_operation_not_supported.moneris_card_type_not_supported_error' ...>
-
ccpgateway.payment_processor.setup_error¶
-
exception
lsserver.payment_gateway.errors.ccpgateway_exceptions.PaymentProcessorSetupError(message=None, gateway='unknown', item='unknown', value='unknown') Bases:
lscore.errors.lightspeed_errors.LightSpeedError,lsserver.payment_gateway.errors.ccpgateway_exceptions.GatewayErrorThere is an error in the settings for the payment processor.
HTTP code: 500 Internal Server ErrorLocalized Key: ccpgateway.payment_processor.setup_errorExample: The payment processor for gateway ‘None’ is not correctly configured: Configuration Item: ‘None’ Value: ‘None’ None-
type= 'ccpgateway.payment_processor.setup_error'
-
localizable_message= <LocalizableMessage key='ccpgateway.payment_processor.setup_error' ...>
-
ccpgateway.payment_processor.setup_error.moneris_payment_processor_setup_error¶
-
exception
lsserver.payment_gateway.moneris.moneris_communication.MonerisPaymentProcessorSetupError(condition_code, response) Bases:
lsserver.payment_gateway.errors.ccpgateway_exceptions.PaymentProcessorSetupError,lsserver.payment_gateway.moneris.moneris_communication.MonerisTerminalErrorHTTP code: 500 Internal Server ErrorExample: An error occurred while attempting to initialize this terminal. Please verify your Merchant ID in the Payment Processing setup window, or contact the Moneris Support Center and reference condition code: None-
type= u'ccpgateway.payment_processor.setup_error.moneris_payment_processor_setup_error'
-
localizable_message= <LocalizableMessage key='ccpgateway.payment_processor.setup_error.moneris_payment_processor_setup_error' ...>
-
ccpgateway.payment_processor.void_operation_not_supported¶
-
exception
lsserver.payment_gateway.errors.ccpgateway_exceptions.VoidOperationNotSupposed(message='Void operations not supported.', gateway='Unknown gateway') Bases:
lscore.errors.server_errors.BadRequest,lsserver.payment_gateway.errors.ccpgateway_exceptions.GatewayErrorThe void operation is not supported.
HTTP code: 400 Bad RequestLocalized Key: ccpgateway.payment_processor.void_operation_not_supportedExample: None: None-
type= 'ccpgateway.payment_processor.void_operation_not_supported'
-
localizable_message= <LocalizableMessage key='ccpgateway.payment_processor.void_operation_not_supported' ...>
-