TAXAMO not working anymore, net amount instead of gross amount passed to PayPal & TAXAMO

Since you "fixed" TAXAMO it is now used as before for the calculation of the amount but the order is never transferred to TAXAMO anymore (before it was sent with the PayPal IP leading to all orders tax-exempt in the EU @ TAXAMO).
In addition, all amounts are sent to TAXAMO as net values although they are gross values. The same is true for PayPal.
Please fix this immediately and test it really before releasing an update with someone from the EU or with a VPN provider using a EU IP.

I think you don't realize what you are doing with any plugin that has to do with money. If the WP SMUSH PRO plugin doesn't work it's not such a huge problem as when invalid TAX info is passed to PayPal or TAXAMO. I am legally obliged to pay taxes in the corresponding EU country on all orders. If a customer from France buys from me I have to pay the french tax and actually pay it in France even if my business is located in Germany.

Please fix the TAXAMO stuff ASAP and also the PayPal order values.

  • tricoos

    Vaughan, the last time I updated because the TAXAMO issue "should have been fixed" resulted in users being unable to purchase at all which probably explains why I am VERY HESITANT to upgrade at all because the stability of this plugin and the QA process seems to be almst non existing from my point of view. It just must not happen that you release an update that makes it unable to purchase anything anymore because that's what this plugin is about, right?
    Please test it very thoroughly!

  • tricoos

    @WPMUDEV
    You can rest assured that I'm not going to renew my membership. Sorry, this urgent bug has been lying around here for one week without a fix. I do understand that it might take some time to fix bugs but this bug which is related to money and taxation needs to have the highest priority and not like a bug that is just a minor inconvenience like a design problem.
    This is about money! I now realize that it was a great fault of mine to switch from the TipsandtricksHq membership plugin to yours. Maybe I am going to switch to that plugin again which seems to be much more professionally developed to me than yours.
    Please solve this ASAP!

  • tricoos

    No, this bug still hasn't been fixed!
    Transfer to TAXAMO is working again but you're still passing the PayPal IPN IP to TAXAMO resulting in US as country:

    HTTP request body:
    {
      "transaction": {
        "custom_id": "#******",
        "tax_country_code": "US",<----- WRONG!
        "force_country_code": "US",<----- WRONG!
        "buyer_email": "*******************",
        "buyer_ip": "88.***********", <---- CORRECT!
        "tax_deducted": false,
        "buyer_name": ****** **********",
        "evidence": {
          "by_ip": {
            "resolved_country_code": "US",
            "evidence_value": "173.0.81.1", <--- This is the PayPal IPN IP again!
            "used": true
          },
          "self_declaration": {
            "resolved_country_code": "", <----- WRONG!
            "evidence_value": "Self declared country",  <----- WRONG!
            "used": false
          },
          "by_billing": {
            "resolved_country_code": "US", <----- WRONG!
            "evidence_value": "US", <----- WRONG!
            "used": true
          }
        },
        "billing_country_code": "US", <----- WRONG!
        "currency_code": "EUR",
        "transaction_lines": [
          {
            "product_type": "e-service",
            "total_amount": *******, <--- CORRECT!
            "tax_rate": 19, <--- CORRECT!
            "quantity": 1,
            "custom_id": "#*****",
            "description": "****************************"
          }
        ]
      },
      "*": "v1/transactions"
    }
    
    HTTP response body:
    {
      "transaction": {
        "update_timestamp": 1445157546173,
        "manual": false,
        "fully_informative": false,
        "tax_region": "US", <----- WRONG!
        "custom_id": "#*******",
        "deducted_tax_amount": 0,
        "tax_country_code": "US", <----- WRONG!
        "force_country_code": "US", <----- WRONG!
        "tax_amount": 0, <----- WRONG!
        "tax_timezone": "Europe/Berlin", <---- CORRECT!
        "buyer_email": "****************,
        "tax_location_id": -400001,<----- WRONG!
        "test": false,
        "merchant_id": ****,
        "status": "N",
        "create_timestamp": "2015-10-18T08:39:06Z",
        "total_amount": ****, <--- CORRECT
        "buyer_ip": "88.**********",  <--- CORRECT
        "country_name": "United States", <----- WRONG!
        "countries": {
          "by_ip": {
            "ccn3": "276",
            "tax_region": "EU", <--- CORRECT
            "name": "Germany", <--- CORRECT
            "code": "DE", <--- CORRECT
            "code_long": "DEU", <--- CORRECT
            "currency": [
              "EUR" <--- CORRECT
            ],
            "cca2": "DE", <--- CORRECT
            "callingCode": [
              "49" <--- CORRECT
            ],
            "cca3": "DEU", <--- CORRECT
            "tax_number_country_code": "DE", <--- CORRECT
            "codenum": "276",
            "tax_supported": true
          },
          "by_billing": {
            "ccn3": "840",
            "tax_region": "US", <----- WRONG!
            "name": "United States", <----- WRONG!
            "code": "US", <----- WRONG!
            "code_long": "USA", <----- WRONG!
            "currency": [
              "USD", <----- WRONG!
              "USN", <----- WRONG!
              "USS" <----- WRONG!
            ],
            "cca2": "US", <----- WRONG!
            "callingCode": [
              "1"
            ],
            "cca3": "USA", <----- WRONG!
            "codenum": "840",
            "tax_supported": true
          },
          "forced": {
            "ccn3": "840", <----- WRONG!
            "tax_region": "US", <----- WRONG!
            "name": "United States", <----- WRONG!
            "code": "US", <----- WRONG!
            "code_long": "USA", <----- WRONG!
            "currency": [
              "USD", <----- WRONG!
              "USN", <----- WRONG!
              "USS" <----- WRONG!
            ],
            "cca2": "US", <----- WRONG!
            "callingCode": [
              "1"
            ],
            "cca3": "USA", <----- WRONG!
            "codenum": "840",
            "tax_supported": true
          }
        },
        "kind": "untaxed",
        "invoice_place": "*****", <--- CORRECT
        "tax_deducted": false,
        "buyer_name": "****",  <----- CORRECT
        "evidence": {
          "forced": {
            "resolved_country_code": "US", <--- WRONG!
            "used": true,
            "evidence_value": "US",<--- WRONG!
            "evidence_type": "forced"
          },
          "self_declaration": {
            "resolved_country_code": "",
            "evidence_value": "Self declared country",
            "used": false
          },

    "by_billing": {
    "evidence_type": "by-billing",
    "resolved_country_code": "US",<--- WRONG!
    "evidence_value": "US",<--- WRONG!
    "used": true
    },
    "by_ip": {
    "evidence_type": "by-ip",
    "resolved_country_code": "DE",<--- CORRECT
    "evidence_value": "88.**********", <--- CORRECT
    "used": false
    }
    },
    "amount": ******,
    "billing_country_code": "US",<--- WRONG!
    "tax_supported": false,<--- WRONG!
    "currency_code": "EUR", <--- CORRECT
    "transaction_lines": [
    {
    "custom_id": "#*****",
    "product_type": "e-service",
    "quantity": 1,
    "total_amount": *****,
    "tax_rate": 19,
    "line_key": "*****",
    "amount": *****,
    "line_num": 1,
    "description": "************"
    }
    ],
    "order_date": "2015-10-18T10:39:06Z",
    "key": "******************"
    },
    "tax_required_fields": [],
    "storage_required_fields": []
    }
    `
    I feel like being your guinea pig - once again I think you didn't even test TAXAMO before releasing the latest version of this plugin, did you?

  • Ash

    Hello @tricoos

    I hope you are doing good.

    I am extremely sorry for the delay in this thread about the taxamo issue. I have just tested from my test site and the information was correct for me. Though, I have tested from South Asia so I needed to manually change the country. Also, I didn't get that much data you got.

    Still, I would like to give a try to fix this issue. You have been a great help by providing valuable information. But would you please give us a latest debug info like you already did (two times) with the latest version of the plugin?

    Thanks again,
    Ash

  • tricoos

    Sorry, I don't have sales on that site right now as this is a Halloween-themes website so I can't help.
    But anyway, I don't understand why you need my help at all because there are lots of VPN services available (e.g. cyberghostvpn) that allow you to use an IP from a number of countries. In addition, if you set your browser's preferred language to the one fitting the country then you should be able to test really everything on your own with no outside help.

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.