Results 1 to 5 of 5

Thread: tax in germany

  1. #1
    Thread Starter
    Rookie prabo's Avatar
    Join Date
    Sep 2011
    Location
    Leipzig, Germany
    Posts
    9
    Thanks
    1
    Thanked 1 Time in 1 Post

    tax in germany

    Hy!

    We have problems with the 19% tax in germany.
    If customers use paypal to pay orders, they pay to less money and the difference is missed.

    To allow difference tax-values for non-german users, I use the "cimy User Extra Fields" Plugin.
    Here I will show a way to set static tax-values on paypal bookings.

    File: jobroller/includes/classes/orders.class.php
    Function: generate_paypal_link(...)

    Search the line with "return $paypal_adr.'cmd=_xclick&business...". (Last line in this function)

    Append in this combined string at the end "&tax=19"

    The line should look like this:
    PHP Code:
    return $paypal_adr.'cmd=_xclick&business='.$paypal_email.'&item_name='.$item_name.'&amount='.round($this->cost 1.192).'&no_shipping=1&no_note=1&item_number='.$this->order_key.'&currency_code='.$currency.'&charset=UTF-8&return='.$return.''.$notify_url.'&rm=2&custom='.$this->id.'&tax='.$this->cost 0.19
    If you use the cimy-Plugin, too, you could add one field for users "mwst" with default value "19", which is only editable by admin.
    It should look like:
    PHP Code:
            $tax get_cimyFieldValue($this->user_id"MWST");
            return 
    $paypal_adr.'cmd=_xclick&business='.$paypal_email.'&item_name='.$item_name.'&amount='.$this->cose.'&no_shipping=1&no_note=1&item_number='.$this->order_key.'&currency_code='.$currency.'&charset=UTF-8&return='.$return.''.$notify_url.'&rm=2&custom='.$this->id.'&tax='.$this->cost * ($tax 100); 
    bye,
    Stefan

  2. #2
    jobortunity's Avatar
    Join Date
    Oct 2011
    Location
    Kitchener, Ontario
    Posts
    153
    Thanks
    11
    Thanked 11 Times in 9 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  3. #3
    Thread Starter
    Rookie prabo's Avatar
    Join Date
    Sep 2011
    Location
    Leipzig, Germany
    Posts
    9
    Thanks
    1
    Thanked 1 Time in 1 Post
    You must be an AppThemes customer and logged in to view this response. Join today!

  4. #4
    jobortunity's Avatar
    Join Date
    Oct 2011
    Location
    Kitchener, Ontario
    Posts
    153
    Thanks
    11
    Thanked 11 Times in 9 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  5. #5
    jobortunity's Avatar
    Join Date
    Oct 2011
    Location
    Kitchener, Ontario
    Posts
    153
    Thanks
    11
    Thanked 11 Times in 9 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)