I hereby claim:
- I am fastdivision on github.
- I am jakejohnson (https://keybase.io/jakejohnson) on keybase.
- I have a public key ASBtvoDpFqgn0MlR2KxjeWRRMY8BJUeAfW7KXMBgx42k_wo
To claim this, I am signing this object:
{ | |
"config": [ | |
{ | |
"name": "TaxJar Email", | |
"path": "tax/taxjar/email" | |
}, | |
{ | |
"name": "TaxJar API Key", | |
"path": "tax/taxjar/apikey" | |
}, |
<?php | |
/** | |
* Manually override shipping taxability in TaxJar for WooCommerce | |
* Tweak class-wc-taxjar-integration.php around line 332 | |
* https://github.com/taxjar/taxjar-woocommerce-plugin/blob/1.6.1/includes/class-wc-taxjar-integration.php#L332 | |
*/ | |
// Make shipping taxable | |
if ( 'AZ' == $to_state ) { | |
$taxes['freight_taxable'] = 1; |
<?php | |
$client->setApiConfig('headers', [ | |
'X-TJ-Expected-Response' => 422 | |
]); |
/* | |
* Sane Flowdock Redesign Overrides | |
* Option 1: Copy and paste CSS into Stylebot | |
* Option 2: Save file as `userstyle.css` inside ~/Library/Application Support/Flowdock, hit CMD+R to reload app | |
*/ | |
body { | |
font-family: -apple-system, BlinkMacSystemFont, Arial, Helvetica, sans-serif !important; | |
} |
I hereby claim:
To claim this, I am signing this object:
<?php | |
// Include around here: | |
// https://github.com/taxjar/taxjar-magento-extension/blob/master/app/code/community/Taxjar/SalesTax/Model/Smartcalcs.php#L236 | |
// Taxable in one state, exempt in other exempt states | |
$specialTaxableProducts = array(1001, 1002, 1003, 1004); // Product IDs | |
// Tax these clothing products if shipped to PA | |
if (in_array($item->getProductId(), $specialTaxableProducts) && $address->getRegionCode() == 'PA') { |
<?php | |
require __DIR__ . '/vendor/autoload.php'; | |
$taxjar = TaxJar\Client::withApiKey('YOUR API TOKEN'); | |
$order_taxes = $taxjar->taxForOrder([ | |
'from_country' => 'US', | |
'from_zip' => '07001', | |
'from_state' => 'NJ', | |
'to_country' => 'US', |
<?php | |
require __DIR__ . '/vendor/autoload.php'; | |
use Zend\Http\Client; | |
use Zend\Json\Json; | |
$apiKey = 'YOUR API KEY'; | |
$apiUrl = 'https://api.taxjar.com/v2/taxes'; | |
$client = new Client($apiUrl); |
[ui-view] | |
position absolute | |
.fade | |
fadeSpeed = 333ms | |
-webkit-transition all fadeSpeed ease-in-out | |
-moz-transition all fadeSpeed ease-in-out | |
-o-transition all fadeSpeed ease-in-out | |
transition all fadeSpeed ease-in-out | |
opacity 1 |
// Generated on 2014-01-09 using generator-angular 0.6.0 | |
'use strict'; | |
// # Globbing | |
// for performance reasons we're only matching one level down: | |
// 'test/spec/{,*/}*.js' | |
// use this if you want to recursively match all subfolders: | |
// 'test/spec/**/*.js' | |
module.exports = function (grunt) { |