Giter Site home page Giter Site logo

Comments (20)

sdabyrne avatar sdabyrne commented on July 28, 2024 1

This is probably very late as I note your last post was 12 June and you have probably worked out a solution. However, I like you, am using VB6 and have developed routines for the new HMRC API using Chilkat Software ActiveX components. Not too expensive and very good.

from vat-api.

scottylace avatar scottylace commented on July 28, 2024

Thank you for your question, unfortunately we cannot answer this question as it relates to the wider HMRC API Plaform and is not exclusive to the MTD Self Assessment and VAT APIs.

Could you please send your question to this email address [email protected] and your question will be dealt with.

Thanks and sorry for the inconvenience.

from vat-api.

philipburrell avatar philipburrell commented on July 28, 2024

Have you found a solution for this?

from vat-api.

thakurankesh avatar thakurankesh commented on July 28, 2024

No, I emailed team but did not get any answer yet

from vat-api.

markogrady avatar markogrady commented on July 28, 2024

from vat-api.

thakurankesh avatar thakurankesh commented on July 28, 2024

Thanks markogrady , interim web solution can be an option but I think this will cause extra work around.

yes, i want to discuss it with you, my contact details - [email protected]

from vat-api.

CoppensBart avatar CoppensBart commented on July 28, 2024

You need to set the redirect url to either:
"urn:ietf:wg:oauth:2.0:oob" or "urn:ietf:wg:oauth:2.0:oob:auto"
As mentioned here:
https://developer.service.hmrc.gov.uk/api-documentation/docs/authorisation/user-restricted-endpoints

from vat-api.

philipburrell avatar philipburrell commented on July 28, 2024

Tried that a get an html page with <title>Sorry, we are experiencing technical difficulties - 500</title>
c# code (Using RestSharp)
string url = "https://test-api.service.hmrc.gov.uk";
string client_id = "_xxxxxxxxxxxxxxxxxxxxxxxxxx";
string redirectUri = "urn:ietf:wg:oauth:2.0:oob";
var restclient = new RestClient(url);
RestRequest request = new RestRequest("oauth/authorize") { Method = Method.GET };
request.AddParameter("response_type", "code");
request.AddParameter("client_id", client_id);
request.AddParameter("scope", "hello");
request.AddParameter("redirect_uri", redirectUri);

from vat-api.

sonicmule avatar sonicmule commented on July 28, 2024

Authorisation is down at the moment - Was working earlier today

from vat-api.

thakurankesh avatar thakurankesh commented on July 28, 2024

Thanks, I tired using urn:ietf:wg:oauth:2.0:oob:auto but it saying redirect_url invalid.

from vat-api.

CoppensBart avatar CoppensBart commented on July 28, 2024

@thakurankesh ,
you also need to add that redirect url to the "Redirect URI" allowed on your application details page on:
https://developer.service.hmrc.gov.uk/developer/applications

from vat-api.

thakurankesh avatar thakurankesh commented on July 28, 2024

Thanks @CoppensBart . Just to confirm one thing, will it ask for login after API call is complete?
If thats true, how can we submit Vat without asking for login details from our VB6 app

from vat-api.

mathiasbanda avatar mathiasbanda commented on July 28, 2024

@thakurankesh
Follow @CoppensBart advice. Think of the refreshtoken as your as your apps login details

from vat-api.

andyjmcfarlane avatar andyjmcfarlane commented on July 28, 2024

Does anybody have sample code for the calling of the VAT submit API in VB6?

from vat-api.

Chris-Manchester avatar Chris-Manchester commented on July 28, 2024

I am looking at developing VB6 code for HMRC API. I have done some web interaction programs and also routines for the Government Gateway for VAT and Payroll. It would be nice to talk to other developers to prevent us all having to reinvent the wheel. I can see there being a lot of additional work being neeed in the future if HMRC has their way. [email protected]

from vat-api.

mathiasbanda avatar mathiasbanda commented on July 28, 2024

Ask @scottylace nicely for advice on the ready made OAuth2-enabled com component

from vat-api.

aaronmowla avatar aaronmowla commented on July 28, 2024

Hi All, can anyone suggest a contact for VB6 development HMRC VAT at Chilkat? We are having a lot of issues with obtaining structured sensible responses from HMRC (like so many of the contributors!). Thanks Aaron

from vat-api.

mathiasbanda avatar mathiasbanda commented on July 28, 2024

Have you had a look at this: https://www.chilkatsoft.com/refdoc/vbnetOAuth2Ref.html

from vat-api.

sdabyrne avatar sdabyrne commented on July 28, 2024

from vat-api.

aaronmowla avatar aaronmowla commented on July 28, 2024

from vat-api.

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.