Giter Club home page Giter Club logo

Comments (8)

ahoiroman avatar ahoiroman commented on June 10, 2024 1

Ah, okay. From my point of view that was not clear on reading the spark docs. That works for me now.

from vat-calculator.

driesvints avatar driesvints commented on June 10, 2024

Please provide a VAT ID for me to check.

from vat-calculator.

ahoiroman avatar ahoiroman commented on June 10, 2024

Hi,

sure: DE330284431

from vat-calculator.

ahoiroman avatar ahoiroman commented on June 10, 2024

But it seems like it's not working for any Tax-ID. Is the fact that I am using Laravel-Sail of any help?

I just checked a basic curl from inside the container

sail@5970dad982dc:/var/www/html$ curl -L https://ec.europa.eu/taxation_customs/vies/checkVatService.wsdl
<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions targetNamespace="urn:ec.europa.eu:taxud:vies:services:checkVat" xmlns:tns1="urn:ec.europa.eu:taxud:vies:services:checkVat:types" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:impl="urn:ec.europa.eu:taxud:vies:services:checkVat" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/">
  <xsd:documentation>
... 

This is - of course - not really a check, whether the SOAP requests are working, but at least I know that the container can resolve the service.

EDIT: I just checked and even outside of sail the validation does not work.

from vat-calculator.

dragonfly4 avatar dragonfly4 commented on June 10, 2024

VIES is very unreliable and it's down for the moment.
https://ec.europa.eu/taxation_customs/vies/vatRequest.html

Not a bug but it would be better to return a different error message when the SOAP api is down.

VIES-BE02

VIES-BE

from vat-calculator.

driesvints avatar driesvints commented on June 10, 2024

@ahoiroman if you set this to true in your config file, does that solve the issue for you? I mean: do you then get the VATCheckUnavailableException ?

https://github.com/driesvints/vat-calculator/blob/3.x/config/vat_calculator.php#L34

from vat-calculator.

ahoiroman avatar ahoiroman commented on June 10, 2024

That seems to solve the issue.

But: As I am using Laravel Spark (which uses this package under the hood), I'd have to create a new issue for that project.

from vat-calculator.

driesvints avatar driesvints commented on June 10, 2024

@ahoiroman the latest version of Spark should respect the settings of the config file. Doesn't it work for you if you use the latest spark-stripe? You're not using the old spark by any chance?

from vat-calculator.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.