Skip to main content

Processor models

Processor models manage payment gateway configurations, settings, and response codes for transaction processing.

ProjectPaymentProcessor

Links payment processors to projects and defines which processor handles transactions.

Key properties

PropertyTypeDescription
IdGuidUnique identifier
ProjectIdGuidAssociated project reference
ProcessorTypeStringProcessor type (Authorize.Net, Stripe, etc.)
IsActiveBooleanProcessor active status
PriorityIntProcessor priority order
CreatedAtDateTimeConfiguration creation date

Relationships

  • Belongs to a Project
  • Has many ProjectPaymentProcessorSettings

Supported processors

Chargeworx supports multiple payment processors including:
  • Authorize.Net
  • Stripe
  • PayPal
  • Braintree
  • Custom processors

ProjectPaymentProcessorSetting

Stores configuration settings for payment processors on a per-project basis.

Key properties

PropertyTypeDescription
IdGuidUnique identifier
ProjectPaymentProcessorIdGuidAssociated processor reference
SettingKeyStringConfiguration key name
SettingValueStringConfiguration value (encrypted if sensitive)
IsEncryptedBooleanIndicates if value is encrypted

Relationships

  • Belongs to a ProjectPaymentProcessor

Common settings

  • API credentials (keys, secrets)
  • Gateway URLs
  • Merchant account identifiers
  • Processing options (AVS, CVV checks)
  • Timeout configurations

PaymentProcessorResultCode

Maps processor-specific response codes to standardized result codes.

Key properties

PropertyTypeDescription
IdGuidUnique identifier
ProcessorTypeStringProcessor type
ProcessorCodeStringProcessor-specific code
StandardCodeStringStandardized result code
DescriptionStringHuman-readable description
IsSuccessBooleanIndicates successful transaction

Standard result codes

CodeDescriptionCategory
APPROVEDTransaction approvedSuccess
DECLINEDTransaction declinedDecline
INSUFFICIENT_FUNDSInsufficient fundsDecline
INVALID_CARDInvalid card numberError
EXPIRED_CARDCard expiredDecline
AVS_FAILUREAVS check failedDecline
CVV_FAILURECVV check failedDecline
PROCESSOR_ERRORProcessor errorError

Usage patterns

Configuring processors

Payment processors are configured at the project level. Multiple processors can be configured with priority ordering for failover scenarios.

Processor failover

If the primary processor fails or is unavailable, transactions can automatically route to backup processors based on priority.

Result code mapping

Processor-specific response codes are mapped to standardized codes for consistent handling across different payment gateways.

Security considerations

  • Processor credentials are encrypted at rest
  • API keys are never logged or exposed in responses
  • Settings are scoped to project level for isolation