We are attempting to set up a Gravity Form that people can receive a quote for our products through, rather than navigating through the site. We want to include a tax amount calculated by TaxJar for the total, but we're not sure how to use the API outside of the plugin.
What I essentially want to do is have this kind of function:
function get_tax_amount($to_country, $to_zip, $to_state, $to_street, $amount, $shipping){
$tax_amount = some_taxjar_function($to_country, $to_zip, $to_state, $to_street, $amount, $shipping);
return $tax_amount;
}
I'm aware there is the PHP library, but I'm not familiar with how to add that library to a WordPress website as we don't run composer or anything on our end.
Is there some kind of function that I can already access that I'm not aware of? I could not find any hooks/actions/functions documentation for the plugin.
We are attempting to set up a Gravity Form that people can receive a quote for our products through, rather than navigating through the site. We want to include a tax amount calculated by TaxJar for the total, but we're not sure how to use the API outside of the plugin.
What I essentially want to do is have this kind of function:
I'm aware there is the PHP library, but I'm not familiar with how to add that library to a WordPress website as we don't run composer or anything on our end.
Is there some kind of function that I can already access that I'm not aware of? I could not find any hooks/actions/functions documentation for the plugin.