Created
March 20, 2018 23:24
-
-
Save fastdivision/306a011ba17e9ca30bac849f48291541 to your computer and use it in GitHub Desktop.
TaxJar API Sandbox
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 | |
$client->setApiConfig('headers', [ | |
'X-TJ-Expected-Response' => 422 | |
]); |
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 | |
require __DIR__ . '/vendor/autoload.php'; | |
$client = TaxJar\Client::withApiKey($_ENV['TAXJAR_SANDBOX_API_KEY']); | |
$client->setApiConfig('api_url', TaxJar\Client::SANDBOX_API_URL); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment