Last active
September 8, 2015 09:24
-
-
Save ronanq/c5d078ea57a1ae0b7317 to your computer and use it in GitHub Desktop.
XeroOAuth-PHP config example with site url override
This file contains 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 | |
// standard config settings go before this, just including the bit to change | |
$signatures = array( | |
'consumer_key' => 'YOURCONSUMERKEY', | |
'shared_secret' => 'YOURCONSUMERSECRET', | |
# BIT TO CHANGE | |
// Override default settings with SHA2 URLs | |
'xero_url' => 'https://sha2-api.xero.com/', | |
'site' => 'https://sha2-api.xero.com', | |
'authorize_url' => 'https://sha2-api.xero.com/oauth/Authorize', | |
# BIT TO CHANGE ENDS | |
// API versions | |
'core_version'=> '2.0', | |
'payroll_version'=> '1.0', | |
'file_version' => '1.0' | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment