Skip to content

Add reporting_enabled configuration option #103

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Sep 2, 2021

Conversation

benjaminwil
Copy link
Member

@benjaminwil benjaminwil commented Sep 1, 2021

Closes #99.

What is the goal of this PR?

We want to allow end users to be able to turn the TaxJar reporting functionality of this extension on or off.

While the feature is in development, we want reporting to be disabled by default.

How do you manually test these changes? (if applicable)

Not applicable.

Merge Checklist

  • Run the manual tests
  • Update the changelog
  • Run a sandbox app and verify taxes are being calculated

Screenshots

Not applicable.

In anticipation of creating transactions in TaxJar for TaxJar's
reporting functionality, we want to allow extension users to
enable/disable reporting for their applications.

We're defaulting setting to `false` right now as we'll be adding bits
and pieces of reporting functionality over the next months.

Co-Authored-By: Chris Todorov <[email protected]>
@benjaminwil benjaminwil force-pushed the benjaminwil/reporting-enabled branch from 3f87a8e to fda23a5 Compare September 1, 2021 21:35
@benjaminwil
Copy link
Member Author

Rebased against master to handle CHANGELOG conflicts.

@@ -89,6 +92,24 @@ endpoint of the tax calculator in order to provide the most coherent and
reliable results. TaxJar support recommends using this endpoint for live
calculations.

## Configuration
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Love it!!

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

😄

@benjaminwil benjaminwil force-pushed the benjaminwil/reporting-enabled branch from fda23a5 to 49e9add Compare September 1, 2021 23:42
Since we're adding an experimental configuration option to our gem's
main class, I thought we could call attention to the available
configuration options in the README.

This README content makes it clear how to find out what the gem's
default configuration options are and the recommended way to change
them.
@benjaminwil benjaminwil force-pushed the benjaminwil/reporting-enabled branch from 49e9add to e48e85d Compare September 1, 2021 23:43
@benjaminwil
Copy link
Member Author

I updated the README in response to Noah's feedback.

@benjaminwil benjaminwil merged commit 71ca633 into master Sep 2, 2021
@benjaminwil benjaminwil deleted the benjaminwil/reporting-enabled branch September 8, 2021 20:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add developer level configuration option to turn reporting on and off
3 participants