seasicksteve
Forum Replies Created
-
I’d suggest subscribing to the GitHub thread to stay looped in on updates as they occur.
Thanks, looks like someone didn’t do their testing very well!!
On my site plugin auto updated on 7/2 from 7.9.1 to 7.9.2 and orders started failing after that.
I’m also having a problem after upgrade to 7.9.2. On the Stripe Log I get the message
invalid_request_error – statement_descriptor_suffix
The statement descriptor must contain at least one Latin character.where
“statement_descriptor_suffix”: “#35862”,
On checking with Stripe support they confirmed that the suffix must contain at least one letter.
I have temporarily resolved this by unchecking the box ‘Add customer order number to the bank statement’
- This reply was modified 2 years, 3 months ago by seasicksteve.
Forum: Plugins
In reply to: [Table Rate Shipping for WooCommerce] Fatal errorI hadn’t expected to have to debug this! 🙂
I ran a little test and inserted the following code ahead of line 1272 in the code:
$WC = WC();
$countries = $WC->countries;
$shipping_countries = $countries->get_shipping_countries();The error occurred on the third line, which suggests that WC()->countries hadn’t been initialised when this code was called.
This works
$WC_Countries = new WC_Countries(); // Get the country list from Woo.... foreach ($WC_Countries->get_shipping_countries() as $id => $value) : $this->country_array[esc_attr($id)] = esc_js($value); endforeach;FYI I’m on the latest version of Woocommerce 7.9.0 and the shipping country restrictions are left as default (i.e.’all’)