Comments (3)
More info on the gems my project is using.
gem 'valvat', '0.4.7'
gem 'savon', '1.2.0'
Validate works when i test with these upgraded gems:
gem 'valvat', '0.9.1'
gem 'savon', '2.12.0'
I'd prefer to not upgrade my codebase to savon 2. Is validation expected to work on valvat 0.4.7?
from valvat.
I'm sorry if I misunderstand but you're using 0.4.7 in your project?
If so, that's expected - VIES changed the url (they've added SSL) and the original url (http://ec.europa.eu/taxation_customs/vies/checkVatService.wsdl) ends up redirecting.
❯ curl http://ec.europa.eu/taxation_customs/vies/checkVatService.wsdl
<HTML><HEAD>
<TITLE>Redirect</TITLE>
</HEAD>
<BODY>
# unimportant stuff
Click <a href="https://ec.europa.eu/taxation_customs/vies/checkVatService.wsdl">here</a> if you are not automatically redirected.
</FONT>
# unimportant stuff
</BODY></HTML>
There were two changes made to Valvat regarding the issue, both of which you mention in your original post, first here to follow redirects, the second one here that actually changes the url.
I'd suggest either upgrading Valvat or you could monkeypatch the wsdl url in your app.
from valvat.
Okay, thanks for your explanation!
from valvat.
Related Issues (20)
- Periodic Savon::UnknownOperationError when validating VAT HOT 8
- Warning on Ruby 3.x: `character class has duplicated range` HOT 1
- `Savon::HTTPError` not handled gracefully HOT 2
- Support for Apple Distribution International in Italy HOT 4
- The given SOAPAction checkVat does not match an operation HOT 1
- Support for Northern Ireland (XI) HOT 1
- No response returned as of 2022 HOT 13
- Missing dependency rexml? HOT 1
- Add caching HOT 4
- Equality for Valvat objects HOT 1
- When do you expect to bump the gem version so we can use updated Cyprus regular expression? HOT 1
- Add proxy option
- DE country almost always return MS_MAX_CONCURRENT_REQ HOT 1
- Swiss (CH) VAT validation and lookup HOT 2
- Handeling different response data HOT 1
- Cannot validate HOT 5
- How to test errors? HOT 1
- Portuguese translation failing due to missing space on locale yml file HOT 1
- Incompatibility with Ruby 3.0.0 HOT 11
- Implement VAT validation for GB VAT numbers HOT 20
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from valvat.