« Back to Add-on Library
Authnet Keys
The AuthNet Keys snippet provides a unified solution for managing Authorize.net API credentials within CWP Snippets. It enables seamless switching between Live and Sandbox environments, secure credential storage, and global access to keys across all snippets and integrations.
### Key Features
- Admin Settings Manager - Configure Authorize.net API keys with Live/Sandbox mode support
- Environment Toggle - Easy switching between Live and Sandbox API environments
- Secure Storage - All credentials stored securely in WordPress options
- Global Helper Function - Get active keys from any snippet using `get_active_authnet_keys()`
- Credential Organization - Separate storage for Live and Sandbox credentials
- CodeMirror Display - View array structure and usage examples in the admin interface
### Capabilities
- Multi-Key Support - Store API Login ID, Transaction Key, and Public Client Key
- Environment Switching - Toggle between Live and Sandbox with one click
- Global Access - Any snippet can retrieve active keys using the helper function
- Secure Handling - Keys never exposed in code, always retrieved via helper function
### Requirements
✓ CWP Snippets Pro plugin installed on WordPress
✓ Basic understanding of Authorize.net API
✓ Authorize.net merchant account with API credentials
### Ideal For
- Building Authorize.net payment integrations
- Creating custom donation/subscription systems
- Managing multiple Authorize.net accounts with shared code
- Switching between test and production without code changes
### What's Included
✓ Complete admin settings page with environment toggle
✓ Secure credential storage in WordPress database
✓ Global helper function for easy access
✓ CodeMirror display for configuration preview
✓ Live/Sandbox mode support
---
Perfect for developers building Authorize.net payment solutions within the CWP Snippets ecosystem.
### Key Features
- Admin Settings Manager - Configure Authorize.net API keys with Live/Sandbox mode support
- Environment Toggle - Easy switching between Live and Sandbox API environments
- Secure Storage - All credentials stored securely in WordPress options
- Global Helper Function - Get active keys from any snippet using `get_active_authnet_keys()`
- Credential Organization - Separate storage for Live and Sandbox credentials
- CodeMirror Display - View array structure and usage examples in the admin interface
### Capabilities
- Multi-Key Support - Store API Login ID, Transaction Key, and Public Client Key
- Environment Switching - Toggle between Live and Sandbox with one click
- Global Access - Any snippet can retrieve active keys using the helper function
- Secure Handling - Keys never exposed in code, always retrieved via helper function
### Requirements
✓ CWP Snippets Pro plugin installed on WordPress
✓ Basic understanding of Authorize.net API
✓ Authorize.net merchant account with API credentials
### Ideal For
- Building Authorize.net payment integrations
- Creating custom donation/subscription systems
- Managing multiple Authorize.net accounts with shared code
- Switching between test and production without code changes
### What's Included
✓ Complete admin settings page with environment toggle
✓ Secure credential storage in WordPress database
✓ Global helper function for easy access
✓ CodeMirror display for configuration preview
✓ Live/Sandbox mode support
---
Perfect for developers building Authorize.net payment solutions within the CWP Snippets ecosystem.
Downloads
- Download v1.0.0 authnet-keys-1.0.0.zip