Git Product home page Git Product logo

hmrc-api-php's Introduction

  • ๐Ÿ‘‹ Hi, Iโ€™m @s-patompong
  • ๐Ÿ‘€ Iโ€™m interested in coding, gaming, reading.
  • ๐ŸŒฑ Iโ€™m currently learning to play Elden Ring like a pro.
  • ๐Ÿ“ซ Reach me at [email protected]

hmrc-api-php's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

hmrc-api-php's Issues

Are you interested in PRs ?

Are you interested in pull requests?

I have added these services https://developer.service.hmrc.gov.uk/api-documentation/docs/api/service/api-platform-test-user/1.0#_create-a-test-user-which-is-an-agent_post_accordion because they are required to create test user. Creating test user in HMRC homepage is full with bugs and only creating them by API works correct.

I can share the code if you include it in your repo. Otherwise I will have to make my fork and add the things I need there and separate from you.

Depfu Error: No dependency files found

Hello,

We've tried to activate or update your repository on Depfu and couldn't find any supported dependency files. If we were to guess, we would say that this is not actually a project Depfu supports and has probably been activated by error.

Monorepos

Please note that Depfu currently only searches for your dependency files in the root folder. We do support monorepos and non-root files, but don't auto-detect them. If that's the case with this repo, please send us a quick email with the folder you want Depfu to work on and we'll set it up right away!

How to deactivate the project

  • Go to the Settings page of either your own account or the organization you've used
  • Go to "Installed Integrations"
  • Click the "Configure" button on the Depfu integration
  • Remove this repo (s-patompong/hmrc-api-php) from the list of accessible repos.

Please note that using the "All Repositories" setting doesn't make a lot of sense with Depfu.

If you think that this is a mistake

Please let us know by sending an email to [email protected].


This is an automated issue by Depfu. You're getting it because someone configured Depfu to automatically update dependencies on this project.

Don't rely on SESSION

One bad thing about this solution is that it relies on SESSION.

In my case, for example, I store tokens in database and don't actually need setting SESSION variables at all.
It probably would be good to have some kind of Storage or Data model class which takes care of that and can be easily extended to replace session storing to something else (like saving/loading to/from database).

class loading issue

I am looking into this class and cannot get the classes to load.

I have installed manually onto my test server (LAMP) and after altering the config, I navigate to examples/ dir and I get the error
Fatal error: Class 'HMRC\Oauth2\AccessToken' not found in /xxxx/xxx

This is using namespacing, but for the life of me I cannot get it to fire.
Any thoughts appreciated.

Many Thanks

HTTP ERROR 500 on callback

After successful setup and config, I am receiving HTTP ERROR 500 on the callback after authorise post from HMRC test server.

Flow is as follows:
examples/index loaded with config data.
create access token submit
Authority page on HMRC loads, continue clicked.
Successful test user sign in
Authority granted
HMRC redirect_uri fires

This is installed onto a LAMP server and all paths have been updated to correct values so it is not that, it attempts to load the correct script, just halts on 500.
The same error happens if initial create access token results in an error and oauth2/destroy-session.php has to be fired in order to continue.

I assume this is related to the session, but cannot figure out what is causing this.

Help appreciated

Keith

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.