Giter Club home page Giter Club logo

dwolla's People

Contributors

barnjamin avatar prplhaz4 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

dwolla's Issues

Issues following Documentation...

Ben,

First off thank you very much for the awesome class!

I am new to Dwolla and their APIs, but I found your class to be the most impressive solution to help streamline functions within their platform.

I was attempting to follow your documentation today to test out your class, but I seem to be getting an error on the "redirect page"

Hoping you have the time to tell me what I did wrong utilizing your class.

First page to setup redirect:
[code]
$dwolla = new dwolla();
$url = $dwolla->auth_url();
header('Location: '.$url ) ;
[/code]

Second page (redirected page):
[code]
$dowlla = new dwolla();
$dwolla->get_oauth_token($_GET['code']);
[/code]

[error]
Fatal error: Call to a member function get_oauth_token() on a non-object in
[/error]

Hoping you can help... thanks in advance!

user function - needed options params

Ben,

Wanted to let you know in testing your class further. I found the "user" function to not work properly. I kept getting the error: (Invalid application credentials.) After taking a look at the "user" function I realized you were not passing the "options" as a parameter to the build_url function. I added the $params required for the users end-point and all is well now.

See the fix below:
[code]

//"accountinfofull" scope
function user($user=null){
    $this->end_point = "rest/users";
    if(!empty($user)) $this->end_point .= '/'.$user;

    //quick fix
    $params = $this->options;

    $url = $this->build_url($params);
    $result = $this->execute_query('GET', $url);
    return $result;
}

[/code]

thanks again for putting this class together, it is great!

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.