Created
July 31, 2013 23:00
-
-
Save EvgEvg/6126988 to your computer and use it in GitHub Desktop.
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 | |
require_once('vendor/autoload.php'); | |
Httpful\Bootstrap::init(); | |
RESTful\Bootstrap::init(); | |
Balanced\Bootstrap::init(); | |
// Switch API key depending on config | |
$API_KEY_SECRET = | |
Mage::getStoreConfig('payment/payments/test') | |
? 'xxx' // TEST KEY | |
: 'xxx'; // LIVE KEY | |
Balanced\Settings::$api_key = $API_KEY_SECRET; | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment