Last active
January 25, 2021 17:43
-
-
Save thomasplevy/c254129a5ee4dc834454f6b74adbb48d to your computer and use it in GitHub Desktop.
Store Authorize.Net API Credentials as constants (in a wp-config.php file, for example) instead of saving them to the WP database (LifterLMS Authorize.Net)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php // don't copy this line to your wp-config.php file! | |
// Sandbox (Test) API Credentails. | |
define( 'LLMS_AUTH_DOT_NET_TEST_CLIENT_KEY', 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX' ); | |
define( 'LLMS_AUTH_DOT_NET_TEST_LOGIN_ID', 'XXXXXXXXX' ); | |
define( 'LLMS_AUTH_DOT_NET_TEST_TRANSACTION_KEY', 'XXXXXXXXXXXX' ); | |
// Production (Live) API Credentails. | |
define( 'LLMS_AUTH_DOT_NET_LIVE_CLIENT_KEY', 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX' ); | |
define( 'LLMS_AUTH_DOT_NET_LIVE_LOGIN_ID', 'XXXXXXXXX' ); | |
define( 'LLMS_AUTH_DOT_NET_LIVE_TRANSACTION_KEY', 'XXXXXXXXXXXX' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment