ReferenceSettings Reference

Settings Reference

Complete reference of all Checkout Security configuration options with option names, defaults, and descriptions.

Configuration options

This page lists every configuration option stored by Checkout Security, grouped by category. Options are stored in the WordPress wp_options table and can be accessed with get_option().

The option names documented here are the authoritative names used by the runtime. Some settings reference descriptive controls in the admin UI that may not map directly to a single stored option. Those cases are noted where applicable.

General

OptionDefaultDescription
ccp_enable_protectionenabledMaster protection switch. When enabled, fraud detection and security checks run on checkout.
ccp_admin_emailWordPress admin emailEmail address for security alerts and daily digests.
ccp_email_notificationsyesEnables email notifications for security events.
ccp_explanation_page_id0Page ID for the referrer-explanation redirect page. Set to 0 to disable.
ccp_whitelistempty arrayManual IP and email whitelist entries.
ccp_ip_whitelistempty arrayManual IP whitelist entries.
ccp_setup_completenoWhether the setup wizard has been completed.
ccp_enabled_platformswoocommerce, edd, fluentcartEnabled platform slugs. A missing option defaults to all supported platforms for backward compatibility.
ccp_legacy_wc_modenot setWooCommerce migration and legacy-mode flag. The WooCommerce adapter manages this option automatically.

Request validation

OptionDefaultDescription
ccp_invalid_referrer_actionredirectAction for invalid referrers. Values: block, redirect, log-only.
ccp_trusted_domainsempty arrayAllowed referrer domains. Include payment gateway and CDN domains.

Threat intelligence

OptionDefaultDescription
ccp_enable_threat_intelnoEnables the external threat intelligence runtime. The core checks for the value yes.
ccp_threat_intel_confidence_threshold70Minimum threat-confidence score required to act on a result. Results below this threshold are logged but do not affect the risk score.

Behavioral analysis

OptionDefaultDescription
ccp_enable_behavioral_analysisyesEnables behavioral signal evaluation.
ccp_enable_js_detectionnoEnables JavaScript-disabled detection.
ccp_enable_resolution_detectionyesEnables screen-resolution analysis.
ccp_enable_business_hours_detectionyesEnables unusual-time detection based on business hours.
ccp_behavioral_actionblockAction when behavioral risk threshold is exceeded. Values: block, on_hold, log_only.
ccp_behavioral_risk_threshold70Risk score threshold for behavioral analysis enforcement.

Fraud and risk

OptionDefaultDescription
ccp_enable_fraud_detectionyesMaster toggle for fraud detection initialization.
ccp_risk_thresholds0/25/50/70/90Progressive risk threshold array. The thresholds map to Allow, Additional Checks, CAPTCHA, Hold, and Block.
ccp_progressive_modeenabledEnables graduated response actions based on the risk score.
ccp_fraud_threshold70Risk score threshold at which the fraud action is triggered.
ccp_fraud_actionon_holdAction to take when the fraud threshold is reached. Values: on_hold, block, log_only.

Machine learning

OptionDefaultDescription
ccp_ml_enabledfalseEnables machine-learning-assisted fraud scoring. The runtime defaults this option to false. The runtime behavior is authoritative if the settings guide describes a different default.
ccp_ml_weight0.3Weight of the machine learning score in the overall risk calculation.
ccp_ml_training_modeinitializingML training mode. When set to training, the ML engine collects learning data without enforcing decisions. Other values: initializing, ready.
ccp_ml_fraud_actionon_holdAction for ML-flagged orders. Values: on_hold, block, log_only.

CAPTCHA

OptionDefaultDescription
ccp_captcha_enablednoEnables CAPTCHA challenges. CAPTCHA must be explicitly enabled.
ccp_captcha_providerturnstileCAPTCHA provider. Values: recaptcha_v2, recaptcha_v3, hcaptcha, turnstile.
ccp_captcha_risk_threshold60Risk score at which CAPTCHA is triggered.
ccp_captcha_exempt_rolesarray('administrator')User roles exempt from CAPTCHA challenges.

Whitelist

OptionDefaultDescription
ccp_order_whitelist_duration2592000 (30 days)Auto-whitelist duration in seconds after approved orders.

Logging

OptionDefaultDescription
ccp_log_retention_days30Number of days to retain logs before automatic cleanup.

Order review notifications

OptionDefaultDescription
ccp_notify_admin_on_holdyesSends an email notification when an order is held for review.
ccp_on_hold_notification_emailWordPress admin emailEmail address for order-held-for-review notifications.
ccp_daily_digest_enablednoEnables a daily digest email summarizing security activity.
ccp_daily_digest_emailWordPress admin emailEmail address for the daily security digest.

Privacy and retention

OptionDefaultDescription
ccp_retention_security_logs90 daysRetention period for security log entries.
ccp_retention_device_fingerprints180 daysRetention period for device fingerprint records.
ccp_retention_trust_scores365 daysRetention period for trust score history.
ccp_retention_whitelist_entries30 daysRetention period for whitelist entries.
ccp_retention_ml_training_data180 daysRetention period for ML training data. Reserved: listed in the uninstall cleanup inventory but not actively read by the current runtime.
ccp_retention_threat_intel_cache7 daysRetention period for cached threat intelligence results. Reserved: listed in the uninstall cleanup inventory but not actively read by the current runtime.
ccp_gdpr_anonymize_after_days365Number of days before personal data is automatically anonymized.
ccp_gdpr_anonymize_methodpartialAnonymization method. Values: partial (keyed pseudonymization), full (complete removal), hash (one-way hashing).
ccp_gdpr_require_consentyesWhether consent is required before collecting device fingerprints.
ccp_gdpr_consent_textconfigurableConsent text displayed to customers.
ccp_gdpr_allow_log_deletionyesAllows customers to request deletion of their security logs.
ccp_gdpr_allow_device_deletionyesAllows customers to request deletion of their device fingerprint data.
ccp_gdpr_allow_trust_deletionnoAllows customers to request deletion of their trust score data.

Performance

OptionDefaultDescription
ccp_cache_enabledenabledEnables internal caching through the WordPress object cache, with a transient fallback.
ccp_enable_rate_limitingyesEnables rate limiting across checkout, API, login, and administration endpoints.
ccp_rate_limit_requests10Maximum requests allowed per time window before rate limiting kicks in.
ccp_rate_limit_window60Rate limit time window in seconds.
ccp_store_api_rate_limit20Maximum Store API requests allowed per time window.

Encryption

OptionDefaultDescription
CCP_ENCRYPTION_KEYnot setOptional wp-config.php constant for a custom encryption key. If undefined, the key is derived from the WordPress authentication salt.

Define the CCP_ENCRYPTION_KEY constant in wp-config.php, not in the database. Define it before activating the plugin to keep encryption consistent across environments.

Next steps