Support » Plugin: WooCommerce Pay for Payment » tax still showing with uid

  • Resolved oblaum

    (@oblaum)


    dear karolína,

    with the latest woocommerce 3.4.3 version when using uid/tax field for a tax free purchase, the tax for the pay for payment is still adding up and showing.

    see screenshot: https://pasteboard.co/HuJ4T8k.png

    before it does worked.

    how to fix this?

    thanks
    oli

    woocommerce system info

    
    ### WordPress Environment ###
    
    Home URL: https://beta.skibaumarkt.de
    Site URL: https://beta.skibaumarkt.de
    WC Version: 3.4.3
    Log Directory Writable: ✔
    WP Version: 4.9.7
    WP Multisite: –
    WP Memory Limit: 384 MB
    WP Debug Mode: ✔
    WP Cron: ✔
    Language: de_DE
    External object cache: –
    
    ### Server Environment ###
    
    Server Info: Apache
    PHP Version: 7.0.30 - Wir empfehlen
    PHP Version 7.2 oder höher für mehr Leistung und Sicherheit zu verwenden. So aktualisierst du deine PHP-Version
    
    PHP Post Max Size: 100 MB
    PHP Time Limit: 240
    PHP Max Input Vars: 5000
    cURL Version: 7.52.1
    OpenSSL/1.0.2l
    
    SUHOSIN Installed: –
    MySQL Version: 5.7.22-1
    Max Upload Size: 100 MB
    Default Timezone is UTC: ✔
    fsockopen/cURL: ✔
    SoapClient: ✔
    DOMDocument: ✔
    GZip: ✔
    Multibyte String: ✔
    Remote Post: ✔
    Remote Get: ✔
    
    ### Database ###
    
    WC Database Version: 3.4.3
    WC Database Prefix: ski_
    Datenbank-Gesamtgröße: 228.81MB
    Datenbank-Datengröße: 161.24MB
    Datenbank-Indexgröße: 67.57MB
    ski_woocommerce_sessions: Daten: 0.02MB + Index: 0.02MB
    ski_woocommerce_api_keys: Daten: 0.02MB + Index: 0.03MB
    ski_woocommerce_attribute_taxonomies: Daten: 0.02MB + Index: 0.02MB
    ski_woocommerce_downloadable_product_permissions: Daten: 0.02MB + Index: 0.05MB
    ski_woocommerce_order_items: Daten: 1.52MB + Index: 1.52MB
    ski_woocommerce_order_itemmeta: Daten: 39.55MB + Index: 14.03MB
    ski_woocommerce_tax_rates: Daten: 0.02MB + Index: 0.06MB
    ski_woocommerce_tax_rate_locations: Daten: 0.02MB + Index: 0.05MB
    ski_woocommerce_shipping_zones: Daten: 0.02MB + Index: 0.00MB
    ski_woocommerce_shipping_zone_locations: Daten: 0.02MB + Index: 0.05MB
    ski_woocommerce_shipping_zone_methods: Daten: 0.02MB + Index: 0.00MB
    ski_woocommerce_payment_tokens: Daten: 0.02MB + Index: 0.02MB
    ski_woocommerce_payment_tokenmeta: Daten: 0.02MB + Index: 0.03MB
    ski_woocommerce_log: Daten: 0.02MB + Index: 0.02MB
    ski_commentmeta: Daten: 0.06MB + Index: 0.06MB
    ski_comments: Daten: 4.52MB + Index: 4.84MB
    ski_duplicator_pro_entities: Daten: 0.02MB + Index: 0.02MB
    ski_duplicator_pro_packages: Daten: 0.05MB + Index: 0.02MB
    ski_hook_list: Daten: 0.02MB + Index: 0.00MB
    ski_icl_content_status: Daten: 0.02MB + Index: 0.02MB
    ski_icl_core_status: Daten: 0.02MB + Index: 0.02MB
    ski_icl_flags: Daten: 0.02MB + Index: 0.02MB
    ski_icl_languages: Daten: 0.02MB + Index: 0.03MB
    ski_icl_languages_translations: Daten: 0.20MB + Index: 0.14MB
    ski_icl_locale_map: Daten: 0.02MB + Index: 0.02MB
    ski_icl_message_status: Daten: 0.02MB + Index: 0.03MB
    ski_icl_mo_files_domains: Daten: 0.02MB + Index: 0.02MB
    ski_icl_node: Daten: 0.02MB + Index: 0.00MB
    ski_icl_reminders: Daten: 0.02MB + Index: 0.00MB
    ski_icl_strings: Daten: 6.52MB + Index: 10.58MB
    ski_icl_string_packages: Daten: 0.02MB + Index: 0.00MB
    ski_icl_string_pages: Daten: 0.16MB + Index: 0.09MB
    ski_icl_string_positions: Daten: 3.52MB + Index: 1.52MB
    ski_icl_string_status: Daten: 0.02MB + Index: 0.02MB
    ski_icl_string_translations: Daten: 2.52MB + Index: 1.52MB
    ski_icl_string_urls: Daten: 0.02MB + Index: 0.02MB
    ski_icl_translate: Daten: 6.52MB + Index: 0.33MB
    ski_icl_translate_job: Daten: 0.08MB + Index: 0.05MB
    ski_icl_translations: Daten: 0.52MB + Index: 1.53MB
    ski_icl_translation_batches: Daten: 0.05MB + Index: 0.00MB
    ski_icl_translation_status: Daten: 2.52MB + Index: 0.02MB
    ski_itsec_distributed_storage: Daten: 0.02MB + Index: 0.02MB
    ski_itsec_lockouts: Daten: 0.02MB + Index: 0.08MB
    ski_itsec_log: Daten: 3.52MB + Index: 0.61MB
    ski_itsec_logs: Daten: 53.58MB + Index: 2.17MB
    ski_itsec_temp: Daten: 0.02MB + Index: 0.06MB
    ski_links: Daten: 0.02MB + Index: 0.02MB
    ski_nf3_actions: Daten: 0.02MB + Index: 0.00MB
    ski_nf3_action_meta: Daten: 0.02MB + Index: 0.00MB
    ski_nf3_chunks: Daten: 0.02MB + Index: 0.00MB
    ski_nf3_fields: Daten: 0.02MB + Index: 0.00MB
    ski_nf3_field_meta: Daten: 0.02MB + Index: 0.00MB
    ski_nf3_forms: Daten: 0.02MB + Index: 0.00MB
    ski_nf3_form_meta: Daten: 0.02MB + Index: 0.00MB
    ski_nf3_objects: Daten: 0.02MB + Index: 0.00MB
    ski_nf3_object_meta: Daten: 0.02MB + Index: 0.00MB
    ski_nf3_relationships: Daten: 0.02MB + Index: 0.00MB
    ski_nf3_upgrades: Daten: 0.02MB + Index: 0.00MB
    ski_nf_objectmeta: Daten: 0.02MB + Index: 0.00MB
    ski_nf_objects: Daten: 0.02MB + Index: 0.00MB
    ski_nf_relationships: Daten: 0.02MB + Index: 0.00MB
    ski_ninja_forms: Daten: 0.02MB + Index: 0.00MB
    ski_ninja_forms_fav_fields: Daten: 0.05MB + Index: 0.00MB
    ski_ninja_forms_fields: Daten: 0.02MB + Index: 0.00MB
    ski_options: Daten: 2.20MB + Index: 0.14MB
    ski_postmeta: Daten: 26.55MB + Index: 22.06MB
    ski_posts: Daten: 2.52MB + Index: 0.83MB
    ski_rac_abandoncart: Daten: 0.02MB + Index: 0.00MB
    ski_rac_email_logs: Daten: 0.02MB + Index: 0.00MB
    ski_rac_templates_email: Daten: 0.02MB + Index: 0.00MB
    ski_snippets: Daten: 0.02MB + Index: 0.00MB
    ski_taxonomymeta: Daten: 0.02MB + Index: 0.03MB
    ski_termmeta: Daten: 0.05MB + Index: 0.03MB
    ski_terms: Daten: 0.09MB + Index: 0.09MB
    ski_term_relationships: Daten: 0.17MB + Index: 0.14MB
    ski_term_taxonomy: Daten: 0.11MB + Index: 0.13MB
    ski_usermeta: Daten: 2.52MB + Index: 4.03MB
    ski_users: Daten: 0.14MB + Index: 0.14MB
    ski_wcpdf_credit_note_number: Daten: 0.02MB + Index: 0.00MB
    ski_wcpdf_invoice_number: Daten: 0.05MB + Index: 0.00MB
    ski_wcpdf_packing_slip_number: Daten: 0.02MB + Index: 0.00MB
    ski_wcpdf_proforma_number: Daten: 0.05MB + Index: 0.00MB
    ski_wc_download_log: Daten: 0.02MB + Index: 0.03MB
    ski_wc_webhooks: Daten: 0.02MB + Index: 0.02MB
    ski_woocommerce_shipping_zone_shipping_methods: Daten: 0.02MB + Index: 0.00MB
    ski_woocommerce_termmeta: Daten: 0.02MB + Index: 0.03MB
    ski_yoast_seo_links: Daten: 0.13MB + Index: 0.09MB
    ski_yoast_seo_meta: Daten: 0.06MB + Index: 0.00MB
    
    ### Post Type Counts ###
    
    amn_exact-metrics: 1
    attachment: 880
    blocks: 30
    extra_product_tab: 5
    nav_menu_item: 26
    nf_sub: 105
    page: 38
    post: 22
    product: 414
    product_variation: 162
    shop_coupon: 8
    shop_order: 2634
    shop_order_refund: 9
    vtmin-rule: 1
    
    ### Security ###
    
    Secure connection (HTTPS): ✔
    Hide errors from visitors: ❌Fehlermeldungen sollten Besuchern nicht angezeigt werden.
    
    ### Active Plugins (6) ###
    
    iThemes Security Pro: von iThemes – 5.3.4
    WooCommerce Germanized Pro: von Vendidero – 1.9.3
    WooCommerce Germanized: von Vendidero – 2.0.4
    WooCommerce Pay for Payment: von Karolína Vyskočilová – 2.0.7 – Nicht getestest mit der aktiven WooCommerce-Version
    WooCommerce Table Rate Shipping: von Bolder Elements – 4.1.3 – Nicht getestest mit der aktiven WooCommerce-Version
    WooCommerce: von Automattic – 3.4.3
    
    ### Settings ###
    
    API Enabled: –
    Force SSL: ✔
    Currency: EUR (€)
    Currency Position: right_space
    Thousand Separator: .
    Decimal Separator: ,
    Number of Decimals: 2
    Taxonomies: Product Types: composite (composite)
    external (external)
    grouped (grouped)
    simple (simple)
    variable (variable)
    
    Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog)
    exclude-from-search (exclude-from-search)
    featured (featured)
    outofstock (outofstock)
    rated-1 (rated-1)
    rated-2 (rated-2)
    rated-3 (rated-3)
    rated-4 (rated-4)
    rated-5 (rated-5)
    
    ### WC Pages ###
    
    Shop-Basis: #2761 - /uebersicht/
    Warenkorb: #2783 - /warenkorb/
    Kasse: #2785 - /kasse/
    Mein Konto: #2804 - /mein-konto/
    Allgemeine Geschäftsbedingungen: #2793 - /agb/
    
    ### Theme ###
    
    Name: Skibaumarkt.de
    Version: 1.0
    Author URL: http://www.oblaum.com
    Child Theme: ✔
    Parent Theme Name: Flatsome
    Parent Theme Version: 3.6.1
    Parent Theme Author URL: http://www.uxthemes.com/
    WooCommerce Support: ✔
    
    ### Templates ###
    
    Overrides: flatsome/woocommerce/archive-product.php
    flatsome/woocommerce/cart/cart-empty.php
    flatsome/woocommerce/cart/cart.php
    flatsome/woocommerce/checkout/form-checkout.php
    flatsome/woocommerce/checkout/form-coupon.php
    flatsome/woocommerce/checkout/thankyou.php
    flatsome/woocommerce/content-product.php
    flatsome/woocommerce/content-product_cat.php
    flatsome/woocommerce/content-single-product.php
    flatsome/woocommerce/global/breadcrumb.php
    flatsome/woocommerce/global/quantity-input.php
    flatsome/woocommerce/global/wrapper-end.php
    flatsome/woocommerce/global/wrapper-start.php
    flatsome/woocommerce/loop/loop-end.php
    flatsome/woocommerce/loop/loop-start.php
    flatsome/woocommerce/loop/pagination.php
    flatsome/woocommerce/loop/result-count.php
    flatsome/woocommerce/loop/sale-flash.php
    flatsome/woocommerce/myaccount/form-login.php
    flatsome/woocommerce/myaccount/navigation.php
    flatsome/woocommerce/notices/error.php
    flatsome/woocommerce/notices/notice.php
    flatsome/woocommerce/notices/success.php
    flatsome/woocommerce/product-searchform.php
    flatsome/woocommerce/single-product/photoswipe.php
    flatsome/woocommerce/single-product/price.php
    flatsome/woocommerce/single-product/product-image.php
    flatsome/woocommerce/single-product/product-thumbnails.php
    flatsome/woocommerce/single-product/rating.php
    flatsome/woocommerce/single-product/related.php
    flatsome/woocommerce/single-product/review.php
    flatsome/woocommerce/single-product/sale-flash.php
    flatsome/woocommerce/single-product/share.php
    flatsome/woocommerce/single-product/short-description.php
    flatsome/woocommerce/single-product/tabs/tabs.php
    flatsome/woocommerce/single-product/title.php
    flatsome/woocommerce/single-product/up-sells.php
    flatsome/woocommerce/single-product-reviews.php
    flatsome/woocommerce/single-product.php
    
    
Viewing 15 replies - 1 through 15 (of 19 total)
  • in the meantime i found out there is not a woocommerce problem, but a conflict with the plugin “woocommerce germanized pro”, before it does work. i had wrote the plugin author what to do.

    Plugin Author Karolina Vyskocilova

    (@vyskoczilova)

    Hi, thanks for letting me know. I cross my fingers for a quick solution!
    Best regards,
    Karolina

    hello karlonina,

    thanks for the feedback. i have now a responds from the plugin author:

    the plugin sets the customer as vat exempt. he guesses that your plugin maybe not check for this information.

    is this something you are familar with?

    thanks
    oli

    Plugin Author Karolina Vyskocilova

    (@vyskoczilova)

    Hi,

    unfortunately not, my plugin checks only settings in Woo. How does he does this is it done by his plugin or new WC thing? Maybe I could implement it as a custom code for you, but this and next week I’m really to busy to do that. If you don’t hear of him in a week let me know.

    K.

    hello karolina,

    i have now feedback.

    “We use a Woo-Setting or a WooCommerce-Core-Function in the Object WC_Customer. There is a method (is_vat_exempt). In the case of a valid UID, we explicitly set the WC_Customer object to true. This should of course check the plugin you are using, as far as the taxes are calculated by the plugin and not by WooCommerce.

    We still had some legacy code in our current plugin version, which inevitably removed VAT for VAT exemptions. But we have removed, because that was fixed in the Woo-Core and amongst other things implies that VAT is deducted twice.”

    hope this helps…

    it is okay for me to wait. no problem.

    cheers!
    oli

    • This reply was modified 1 year, 7 months ago by oblaum.
    Plugin Author Karolina Vyskocilova

    (@vyskoczilova)

    Hi Oli, thanks a lot, I will have a closer look on it in 14 days, I promis 😉
    Karolina

    very great, thank you!!!!

    hello karolina, any news on this? cheers oli

    i’m willing to pay for this fix…

    Plugin Author Karolina Vyskocilova

    (@vyskoczilova)

    Hi Oblaum, I’m sorry, I totally forgot about this issue. I will try to squeeze it to my schedule next week.
    Karolina

    would be very good!!!! 🙂

    if there is anything i can test, i will do! cheers! oli

    • This reply was modified 1 year, 4 months ago by oblaum.
    Plugin Author Karolina Vyskocilova

    (@vyskoczilova)

    Hi, I have blindly added a test for WC_Customer->is_tax_exempt() however, where I can set it up in the user profile? I don’t see any settings? How I reproduce it?

    You can download the latest version from GitHub for testing, could you please in detail since I’m not able to simulate the settings at the moment? I did that in a code, but I would like to test it as well outside of my code.

    Thanks a lot!
    Karolina

    hello karolina,

    i found out that with uid the tax is shown for the addional paypal fee, which should not be shown
    or with other setting and without uid the tax is added additionally to the sum.

    to reproduce:

    a. with uid

    #1 put a product in basket, the best us this: https://beta.skibaumarkt.de/en/product/bd-140-splitboardskins-glitelite-mohair-mix-sts/
    #2 go to checkout and choose paypal
    #3 choose austria as country and use vat-id ATU65680006

    you see a 19% vat of 0,43€ (that is the paypalfee tax), you should see no tax as we are uising the vat-id

    b. without uid

    #1 make field vat id blank
    #2 hit reload page

    vat 19% 28,07€ is correct

    settings:

    woocommerce paypal
    https://beta.skibaumarkt.de/wp-admin/admin.php?page=wc-settings&tab=checkout&section=paypal

    all tax options and fee include fees in calculation are off. i have tried all combination, does not work

    woocoommerce germanized
    https://beta.skibaumarkt.de/wp-admin/admin.php?page=wc-settings&tab=germanized

    (i need this plugin for the uid field and german law)

    in this page under “fees”

    (x) Enable better taxation for fees?
    (x) Force fee tax calculation for every fee?

    both option are on, if i disable this, with uid there is no tax, but then the tax calculation is not right (in the example with 160% and shipping) the tax 19% should be be 26,79€ (and not 26,36€) the additional 0,43€ is the tax of the online fee from 2,69€,

    it seems the tax from the paypal fee is added.

    how to fix this?

    i send you via email a link with a testuser with product in basket
    and credential for a sandbox server.

    cheers!
    oli

    Plugin Author Karolina Vyskocilova

    (@vyskoczilova)

    Hi Oblaum,

    Thanks for the testing site! And for

    I thought (and fixed it for that case), if you are logged in and your setup is VAT exempt, the tax will not be loaded which is not the case, it’s way clearer for me. I have changed the plugin code (again on GitHub) accordingly, hope it works.

    Otherwise, could you enable me to view and edit the code of plugins? I would check how they do it with is_vat_exempt() and try to debug it on your testing environment.

    Best regards,
    Karolina

Viewing 15 replies - 1 through 15 (of 19 total)
  • The topic ‘tax still showing with uid’ is closed to new replies.