Page 18 of 37 FirstFirst ... 8161718192028 ... LastLast
Results 171 to 180 of 362
  1. #171
    Join Date
    Jul 2008
    Location
    Bristol, England
    Posts
    17
    Plugin Contributions
    1

    Default Re: VAT-mod for European companies

    I have successfully installed this onto a 1.3.8 (more testing needed), but wanted the verification to work.

    After playing with the urls on the vies site i found the following fix seemed to work (not guaranteed! ):

    In includes/functions/extra_functions/functions_vatmod.php i replaced:

    $monfd = file_get_contents('http://ec.europa.eu/taxation_customs/vies/viesquer.do', null, $context);

    with

    $monfd = file_get_contents('http://ec.europa.eu/taxation_customs/vies/viesquer.do?ms=' . $prefix . '&iso=' . $prefix . '&vat=' . $tva, r);

    Not fully tested but seems to work, i also amended the admin version of this file to the same and that seems to work when editing a customers vat number.

    Is this mod supposed to show the total during checkout without VAT as mine seems not to, but this may be installing the 1.3.7 version onto my 1.3.8!?!?

  2. #172
    Join Date
    Feb 2008
    Posts
    23
    Plugin Contributions
    0

    Default Re: VAT-mod for European companies

    Quote Originally Posted by mindows View Post
    I'd like to have VAT excluded for a company (If VAT number is entered) and included for a customer (if VAT is omitted).
    Sorry, it does not work this way, unfortunately. I would love to, but it is only during the checkout process that it applies VAT or not. Your shop will display all items with or without VAT (depending on your parameter), not depending on the client status.

  3. #173
    Join Date
    Feb 2008
    Posts
    23
    Plugin Contributions
    0

    Default Re: VAT-mod for European companies

    Quote Originally Posted by rickcj View Post
    After playing with the urls on the vies site i found the following fix seemed to work (not guaranteed! ):
    Mmh. The verification is still working for me. Around line 71, can you replace POST with GET, and keep the same code? I think your server don't want to send a POST request, and only accept to send a GET request.

  4. #174
    Join Date
    Feb 2008
    Posts
    23
    Plugin Contributions
    0

    Default Re: VAT-mod for European companies

    After editing a few spelling mistakes, I release it again:

    VAT-Mod 1.2.7 for Zen Cart v. 1.3.8
    For Companies inside European Union dealing with European sales tax.

    IMPORTANT NOTE: THIS IS NOTE THE OFFICIAL RELEASE FROM Beez & Vike.

    I did a simple Cut and Paste from the previous code VAT-Mod 1.2.6 for Zen Cart v. 1.3.7) and paste it to Zen Cart v. 1.3.8 files.

    It works for me, but you should handle it with care.

    What's new:
    * Compatibility with Zen Cart v. 1.3.8
    * adding Bulgaria and Romania to the list
    * French translation
    * update of the VIES link to check the validity of the number (http://ec.europa.eu/taxation_customs/vies/)

    I hope that Beez & Vike will offer an official release soon (they don't answer to their e-mails ). And thanks guys for your great help !!
    Attached Files Attached Files

  5. #175
    Join Date
    Jul 2008
    Posts
    8
    Plugin Contributions
    0

    Default Re: VAT-mod for European companies

    Quote Originally Posted by dimjoula View Post
    Sorry, it does not work this way, unfortunately. I would love to, but it is only during the checkout process that it applies VAT or not. Your shop will display all items with or without VAT (depending on your parameter), not depending on the client status.
    Yahoo! I found a solution!

    It is VAT mod for EU comp + Customer Tax Exempt

    VAT mod for EU comp gives me a possibility to register companies on the site properly, review details to make sure it is not a scam.


    Then Customer Tax Exempt mode gives possibility to "turn on" the company view mode - they can see all prices without tax, at the same time, when ordinary users see the prices with VAT!


    For the customers, which have in the field Customer Tax Exempt "ALL" (I put ALL manually as a "stamp" after checking all the details) will be shown the prices without VAT!

    Who does not have that entered - will be shown normally with VAT!

    Just if you will try to merge them you will need to review the overlapping files!
    Or will not work

  6. #176
    Join Date
    Dec 2007
    Posts
    10
    Plugin Contributions
    0

    Default Re: VAT-mod for European companies FATAL ERROR cant login to the backend admin

    Fatal error: Cannot redeclare zen_address_format() (previously declared in /home/www/7f081bbe8f38b5cfa4478b5cbaeba6ac/web/shop/admin/includes/functions/general.php:470) in /home/www/7f081bbe8f38b5cfa4478b5cbaeba6ac/web/shop/admin/includes/functions/functions_customers.php on line 115:

    zen cart 1.3.8

    server info
    PHP Built on: Linux imu124 2.6.18.5-imu-x86-136 #1 SMP Fri Mar 28 12:20:37 CET 2008 i686
    Database Version: 5.0.45-log
    Database Collation: utf8_general_ci
    PHP Version: 5.2.5
    Web Server: Apache
    Web Server to PHP interface: apache2handler
    Joomla! Version: Joomla! 1.5.6 Production/Stable [ Vusani ] 12-August-2008 22:00 GMT
    User Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.0.1) Gecko/2008070208 Firefox/3.0.1

  7. #177
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: VAT-mod for European companies

    Check your files and make sure the 2 function files are current ...

    The function is listed in both, but it is commented out of general.php

    Perhaps you do not have the files updated correctly?

    Or, perhaps you have an add-on that has overwritten these functions with an out of date version?
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  8. #178
    Join Date
    Dec 2007
    Posts
    10
    Plugin Contributions
    0

    Default Re: VAT-mod for European companies

    here is the VAT module i installed http://www.zen-cart.com/index.php?ma...products_id=89,
    what should i do access admin section this is not possible yet . thanks

  9. #179
    Join Date
    Dec 2007
    Posts
    10
    Plugin Contributions
    0

    Default Re: VAT-mod for European companies

    now i have find a solution and can login to backend the vat modul is displayed but i get this error



    Warning: file_get_contents() [function.file-get-contents]: URL file-access is disabled in the server configuration in /home/www/7f081bbe8f38b5cfa4478b5cbaeba6ac/web/shop/admin/includes/functions/extra_functions/functions_vatmod.php on line 84

    Warning: file_get_contents(http://ec.europa.eu/taxation_customs/vies/viesquer.do) [function.file-get-contents]: failed to open stream: no suitable wrapper could be found in /home/www/7f081bbe8f38b5cfa4478b5cbaeba6ac/web/shop/admin/includes/functions/extra_functions/functions_vatmod.php on line 84

    I can not see Vat module in Frontend, thanksn for your help

  10. #180
    Join Date
    Sep 2008
    Posts
    11
    Plugin Contributions
    0

    Default Re: VAT-mod for European companies

    Hello, i've installed this mod on my zencart 1.3.8a store, but i do not want one thing: customers must write their vat numer in following way:

    "Contry Code" + "VAT Number"

    -exapmle

    VAT = PL1234567890

    I want to leave just "VAT Number", without the contry code

    -example

    VAT = 1234567890

    I will not get orders from others contries, only from mine, so "Contry Code" for me is useless.

    Does somebody know how to do it? Witch files i must modify? I tried to do it for my own, but my php knowledge isn't great.

 

 
Page 18 of 37 FirstFirst ... 8161718192028 ... LastLast

Similar Threads

  1. v138a VAT mod for european companies on ZC 1.5
    By hyperion12 in forum Currencies & Sales Taxes, VAT, GST, etc.
    Replies: 14
    Last Post: 9 May 2016, 12:52 PM
  2. VAT MOD for EU Countries Support
    By jinglezdj in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 21 Oct 2009, 09:38 AM
  3. Is it possible to have tax exemption with VAT-mod for European companies?
    By stomm in forum Currencies & Sales Taxes, VAT, GST, etc.
    Replies: 0
    Last Post: 16 Jun 2009, 04:39 PM
  4. "VAT for companies" mode with checkout without account mode
    By sagivle1 in forum Currencies & Sales Taxes, VAT, GST, etc.
    Replies: 0
    Last Post: 15 Jan 2008, 05:05 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR