Gr1f
Forum Replies Created
-
Hi,
Thanks for responding. I was not aware that the steps outlines in the tutorial visdeo require the Pro version. I didn’t define any access rules. I just followed the video. No Caching.
I’ll try again.I had to roll-back to a full restore as reverting the plugin to an old one breaks stuff also. Seems the update removes settings. I’ve sent SEUR WC/Plugin support an email on it. I’ll post reposnse if they don’t update here.
Debug log:
============= An error of type E_ERROR was caused in line 17 of the file /home/968579.cloudwaysapps.com/kjedqehhbt/public_html/wp-content/plugins/seur/classes/load-classes.php. Error message: Uncaught Error: Failed opening required ‘PrinterType.php’ (include_path=’.:/usr/share/php’) in /home/968579.cloudwaysapps.com/kjedqehhbt/public_html/wp-content/plugins/seur/classes/load-classes.php:17 Stack trace: #0 /home/968579.cloudwaysapps.com/kjedqehhbt/public_html/wp-content/plugins/seur/loader.php(81): require_once() #1 /home/968579.cloudwaysapps.com/kjedqehhbt/public_html/wp-includes/class-wp-hook.php(324): seur_load_code() #2 /home/968579.cloudwaysapps.com/kjedqehhbt/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #3 /home/968579.cloudwaysapps.com/kjedqehhbt/public_html/wp-includes/plugin.php(517): WP_Hook->do_action() #4 /home/968579.cloudwaysapps.com/kjedqehhbt/public_html/wp-settings.php(555): do_action() #5 /home/968579.cloudwaysapps.com/kjedqehhbt/public_html/wp-config.php(92): require_once(‘/home/968579.cl…’) #6 /home/968579.cloudwaysapps.com/kjedqehhbt/public_html/wp-load.php(50): require_once(‘/home/968579.cl…’) #7 /home/968579.cloudwaysapps.com/kjedqehhbt/public_html/wp-admin/admin.php(34): require_once(‘/home/968579.cl…’) #8 /home/968579.cloudwaysapps.com/kjedqehhbt/public_html/wp-admin/update-core.php(10): require_once(‘/home/968579.cl…’) #9 {main} thrown
OK, I also see that there is a lot of updates from 2.1.1 to 2.2.10. However, these did NOT appear in wordpress update, so they were all missed. No doubt thsi caused the fatal error when i updated from 2.1.1 to 2.2.10.
Just to update as another issue flagged an update to this issue.
I think the issue arose from this code.
// Show error if user does not tick
add_filter( 'woocommerce_registration_errors', 'bbloomer_validate_privacy_registration', 10, 3 );
function bbloomer_validate_privacy_registration( $errors, $username, $email ) {
if ( ! is_checkout() ) {
if ( ! (int) isset( $_POST['privacy_policy_reg'] ) ) {
$errors->add( 'privacy_policy_reg_error', __( 'Privacy Policy consent is required!', 'woocommerce' ) );
}
}
return $errors;
}
/* Additional code realting to Phone Orders Plugin */
add_filter('wpo_before_create_customer', function($data) {
$_POST['privacy_policy_reg'] = 1;
return $data;
});
/* checkbox on checkout page */
add_action( 'woocommerce_review_order_before_submit', 'add_privacy_checkbox', 9 );
function add_privacy_checkbox() {
woocommerce_form_field( 'privacy_policy', array(
'type' => 'checkbox',
'class' => array('form-row privacy'),
'label_class' => array('woocommerce-form__label woocommerce-form__label-for-checkbox checkbox'),
'input_class' => array('woocommerce-form__input woocommerce-form__input-checkbox input-checkbox'),
'required' => true,
'label' => 'I\'ve read and accept the Privacy Policy',
));
}
add_action( 'woocommerce_checkout_process', 'privacy_checkbox_error_message' );
function privacy_checkbox_error_message() {
if ( ! (int) isset( $_POST['privacy_policy'] ) ) {
wc_add_notice( __( 'You have to agree to our privacy policy in order to proceed' ), 'error' );
}
}I’ve removed it for now but I’m sure I’ll have to find a way to achieve the result the original code was used for.
Forum: Plugins
In reply to: [WooCommerce] Incorrect tax calculation for 19% IVAThe issue is now resolved. Thanks for your help.
- This reply was modified 5 months ago by Gr1f.
Forum: Plugins
In reply to: [WooCommerce] Incorrect tax calculation for 19% IVAOK, I think I know what’s going on with the last issue.
https://www.ads-software.com/support/topic/tax-rates-not-properly-displayed/The site originally had Hello Child theme that I disabled as it was causing a Privacy Policy issue on ApplePay via WooCommerce Stripe Plugin where it was asking for Privacy Policy opt-in. Changing to Main Hello theme fixed this but that was missing the functions.php mod:
add_filter(‘woocommerce_adjust_non_base_location_prices’, ‘__return_false’);This is what has been causing the issue. As I inherited the website with no documentation I was not aware of the custom code. I’ll now add the above to functions.php which should at least fix the pricing issues.
Thanks for your help.
Forum: Plugins
In reply to: [WooCommerce] Incorrect tax calculation for 19% IVAHere’s are screen shots of what I mean.
Forum: Plugins
In reply to: [WooCommerce] Incorrect tax calculation for 19% IVAOther issues are arising.
If I add products to the basket and go to checkout, then I change location to say Germany or Cyprus the totals are changing. The totals should remain the same as they are totals Inc VAT. I didn’t notice this before I reported the above but it might give us a clue…I think I’m going to have to roll back to 8.9.3
- This reply was modified 5 months ago by Gr1f.
Forum: Plugins
In reply to: [WooCommerce] Incorrect tax calculation for 19% IVAHi, thanks for your reply.
I set the “*” tax rate to priority 2 but now it’s taxing the products twice:
ProductSubtotalDiscovery Kit??×?1 23,14€
Subtotal 23,14€
Shipping SEURCLASSIC:?<bdi>7,70€</bdi>
Total <bdi>30,84€</bdi><small>(includes?4,19€?19% IVA,?4,63€?21% IVA)</small>
Forum: Plugins
In reply to: [WooCommerce] Incorrect tax calculation for 19% IVAHi, Sure.
There are no reduced or zero rates
All plugins bar what I’ve listed above are inactive. There are no added functions.
Here are the screenshots
- This reply was modified 5 months ago by Gr1f.
OK I have found the issue. On Staging site my first modification was to change the theme to Storefront. I saw there was an issue with the site logo, which I fixed. Express Payments succeeded!
I then switched to Hello parent theme and payment succeeded. I had not disabled any plugins so it seems it’s good to go for now!
I then replicated this on the live site and payments are succeeding.
For anyone else, Elementor Hello Child seems to create the issue. OR it might have been a corrupt site logo. Steps above fixed it.
Thank you for your help!
It’s OK, I have managed to sort it
Thank you, I will do this now.
Can you advise best practice to allow test stripe express payments on the staging environment?
I reduced plugins to the following list with the same result.
All-in-One WP Migration by ServMask – 7.83
Before After Image Comparison Slider for Elementor by Plugin Devs – 20.6.2
Breeze by Cloudways – 2.1.9
CookieYes | GDPR Cookie Consent by CookieYes – 3.2.4
Duplicate Page by mndpsingh287 – 4.5.3
Elastic Email Sender by Elastic Email Inc. – 1.2.16
Elementor Pro by Elementor.com – 3.22.0
Elementor by Elementor.com – 3.22.1
Site Kit by Google by Google – 1.129.1
MalCare WordPress Security Plugin - Malware Scanner, Cleaner, Security Firewall by MalCare Security – 5.56
Rank Math SEO with AI SEO Tools by Rank Math – 1.0.221
SEUR Oficial by José Conti – 2.1.1
Converter for Media by matt plugins – 5.12.5
WooCommerce Stripe Gateway by WooCommerce – 8.4.0
PDF Invoices & Packing Slips for WooCommerce by WP Overnight – 3.8.4
WooCommerce by Automattic – 9.0.0
Wordfence Security by Wordfence – 7.11.6
WP Mail Logging by WP Mail Logging Team – 1.12.0