How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Handling Sales Tax with Laravel Cashier

calendar_today May 18, 2017 person Jake Johnson domain taxjar

Getting Started First you’ll want to install the taxjar/taxjar-php package via Composer using the following command: composer require taxjar/taxjar-php TaxJar API Token You’ll also need a way to authenticate with our sales tax API to request rates. Sign up for a TaxJar account to generate a new API token. From there, copy and paste the API token into your project’s .env file: TAXJAR_API_TOKEN=[Your API Token] Now you can securely reference that token anywhere in your app using env(‘TAXJAR_API_TOKEN’) .

open_in_new Read original post