tristanmason
Forum Replies Created
-
Forum: Plugins
In reply to: [WPFront Notification Bar] Is there a hook fired when scheduler runs?Any word on if this is possible? If not, could we put in a feature request that specific hooks would be fired when the scheduler makes the bar appear and disappear? That way we could use those to run custom code. Thanks!
That fixed it! Thanks. I thought I had gone through all the WOOF options submenus, but turns out I missed the Options tab under Advanced where this lives. I had cleared our WP Rocket cache but didn’t know that WOOF employed its own caching. After clearing both, the term showed up. Thanks again!
@alortega Thank you! Yes, the critical error only occurred once and not again. Unless I see it again, I will assume it was a one-time problem and is now fixed.
Re the 401/unauthorized error, just to confirm, it sounds like you are saying there are 2 ways I need to be logged in:
1) the Hubspot plugin which connects the website/web server to Hubspot
2) being logged in to Hubspot in my computer’s browserWhich one of these things is required to use the Gutenberg block? Or are both?
Thanks – marking resolved
Hi Dimitris @wpmudev-support6, Thanks so much for this! I’ll try it out.
- This reply was modified 5 years, 1 month ago by tristanmason.
I opened a github issue for this at https://github.com/studiopress/atomic-blocks/issues/238 with (hopefully) a solution.
Forum: Plugins
In reply to: [WooCommerce Shipping & Tax] Arkansas tax not correctly calculating?@nixiack8 That’s helpful, thanks!
What are you using for your Shipping provider?
A mix of the Flat Rate method and USPS Shipping Method plugin, however, I’m getting the same results even if I disable that plugin and use only Woocommerce’s native Flat Rate.
You can check the logs at WooCommerce > Status > WooCommerce Services > Taxes. You can copy them for support as well
08-15-2019 @ 08:49:50 - Requesting: taxjar/v2/taxes - {"from_country":"US","from_state":"AR","from_zip":"72227","from_city":"Little Rock","from_street":"[10301 N Rodney Parham]","to_country":"US","to_state":"AR","to_zip":"72086","to_city":"Lonoke","to_street":"705 E Front St","shipping":"8.00","plugin":"woo","line_items":[{"id":"4709-15c13651253aad5936eb335a6ea2ca2e","quantity":1,"product_tax_code":"","unit_price":"18","discount":"0"}]} (WCS Tax) 08-15-2019 @ 08:49:51 - Received: {"tax":{"taxable_amount":26.0,"tax_source":"destination","shipping":8.0,"rate":0.075,"order_total_amount":26.0,"jurisdictions":{"state":"AR","county":"LONOKE","country":"US","city":"BAYOU METRO"},"has_nexus":true,"freight_taxable":true,"breakdown":{"taxable_amount":26.0,"tax_collectable":1.95,"state_taxable_amount":26.0,"state_tax_rate":0.065,"state_tax_collectable":1.69,"special_tax_rate":0.0,"special_district_taxable_amount":0.0,"special_district_tax_collectable":0.0,"shipping":{"taxable_amount":8.0,"tax_collectable":0.6,"state_taxable_amount":8.0,"state_sales_tax_rate":0.065,"state_amount":0.52,"special_taxable_amount":0.0,"special_tax_rate":0.0,"special_district_amount":0.0,"county_taxable_amount":8.0,"county_tax_rate":0.01,"county_amount":0.08,"combined_tax_rate":0.075,"city_taxable_amount":0.0,"city_tax_rate":0.0,"city_amount":0.0},"line_items":[{"taxable_amount":18.0,"tax_collectable":1.35,"state_taxable_amount":18.0,"state_sales_tax_rate":0.065,"state_amount":1.17,"special_tax_rate":0.0,"special_district_taxable_amount":0.0,"special_district_amount":0.0,"id":"4709-15c13651253aad5936eb335a6ea2ca2e","county_taxable_amount":18.0,"county_tax_rate":0.01,"county_amount":0.18,"combined_tax_rate":0.075,"city_taxable_amount":0.0,"city_tax_rate":0.0,"city_amount":0.0}],"county_taxable_amount":26.0,"county_tax_rate":0.01,"county_tax_collectable":0.26,"combined_tax_rate":0.075,"city_taxable_amount":0.0,"city_tax_rate":0.0,"city_tax_collectable":0.0},"amount_to_collect":1.95}} (WCS Tax) 08-15-2019 @ 08:49:51 - :: Adding New Tax Rate :: (WCS Tax) 08-15-2019 @ 08:49:51 - {"tax_rate_country":"US","tax_rate_state":"AR","tax_rate_name":"AR Tax","tax_rate_priority":1,"tax_rate_compound":false,"tax_rate_shipping":1,"tax_rate":7.5,"tax_rate_class":""} (WCS Tax) 08-15-2019 @ 08:49:51 - Tax Rate ID Set for 1 (WCS Tax) 08-15-2019 @ 08:49:51 - :: Tax Rate Found :: (WCS Tax) 08-15-2019 @ 08:49:51 - {"1":{"rate":7.5,"label":"AR Tax","shipping":"yes","compound":"no"}} (WCS Tax) 08-15-2019 @ 08:49:51 - :: Updating Tax Rate To :: (WCS Tax) 08-15-2019 @ 08:49:51 - {"tax_rate_country":"US","tax_rate_state":"AR","tax_rate_name":"AR Tax","tax_rate_priority":1,"tax_rate_compound":false,"tax_rate_shipping":1,"tax_rate":7.5,"tax_rate_class":""} (WCS Tax) 08-15-2019 @ 08:49:51 - Tax Rate ID Set for 1 (WCS Tax)
Also, if you can please let me know the origin address of your store along with the shipper, I can put both in my test site to see the results and if needed escalate further to the developers.
Origin:
10301 N Rodney Parham
Little Rock, AR 72227I tried some more testing in the TaxJar calculator, and it gives the correct rate if I use a ZIP+4, but the wrong rate if I use a 5-digit ZIP, even if I enter the street address.
What it actually does:
With ZIP+4, TaxJar returns the correct rate: https://imgur.com/a/QdZNvLG
With only a 5-digit ZIP, TaxJar returns the wrong rate: https://imgur.com/a/XeXtZjIWhat I would expect to see:
The correct rate should be returned with either a street address + ZIP, or a ZIP+4.Forum: Plugins
In reply to: [WooCommerce Shipping & Tax] Arkansas tax not correctly calculating?@nixiack8 Thanks for your response! I have been trying the TaxJar tax calculator you sent, and I think I’ve found the problem. The rates are only accurate if a full street address is entered, rather than just a ZIP code.
Lonoke, AR with a full street address – https://imgur.com/a/pjTvMDE
Lonoke, AR with just a ZIP – https://imgur.com/a/4A729VkOur shipping calculator only uses country/state/zip, so the tax rate returns incorrect. This wouldn’t be a big deal if it were corrected at checkout, but the same thing happens when the full billing address is entered, even if there is a street address. It appears to AJAX reload the shipping & tax when we enter the ZIP code of the billing address on the checkout page, but I’m wondering if it is only sending the ZIP, not the full street address, leading to the same problem. Thoughts?
Thanks!
Forum: Plugins
In reply to: [WooCommerce Payfast Gateway] Payfast and WPML multicurrency@rynald0s Great, thanks so much!
Forum: Plugins
In reply to: [WooCommerce Payfast Gateway] Payfast and WPML multicurrency@rynald0s Excellent, thanks! We will try this and also reach out to WPML multicurrency to double check with them.
So if I understand correctly, would we add something like one of the following code snippets to our site-specific plugin?
Example 1
add_filter( 'woocommerce_gateway_payfast_available_currencies', 'tdz_payfast_currencies' ); function tdz_payfast_currencies( $currencies ) { $currencies = array( 'ZAR','USD' ); return $currencies }
Example 2
add_filter( 'woocommerce_gateway_payfast_available_currencies', array( 'ZAR', 'USD' ) );
If I’m misunderstanding, please let me know.
Also, I’m assuming we would need unset payfast as a gateway unless the customer has selected ZAR as a currency.
Is ‘payfast’ the correct identifier for the Payfast gateway in WooCommerce? As in// if currency is not ZAR unset( $gateways['payfast'] );
Thanks again.
Forum: Plugins
In reply to: [WooCommerce Payfast Gateway] Payfast and WPML multicurrency@rynald0s Thanks, how would I go about submitting this as a feature request? We can’t be the only organization out there that wants to use Payfast with a multi-currency setup through WPML. At very least there should be a setting or a wp-config environment variable that would override this.
@amandato
Hi Angelo,I’ve got a PHP error to show you but don’t really want to post it here because of exposing IP address, server paths, etc. Should I redact it, or contact you via a different method as we troubleshoot? Just me know what your preference is. Thanks!
Tristan
@amandato Great, thanks! I will try this out and report back!
@amandato Sure! That would be great. Just let me know how we can help.
Forum: Fixing WordPress
In reply to: 500 error on 5.0 upgrade caused by mu-pluginThanks, Steven! I am on the current version of Genesis. I will mark this resolved and ask at Studiopress instead.