Search code examples
phpapioauth-2.0tokendwolla

Integrating Dwolla with PHP with their API


Foreword: Okay I've used APIs in the past such as TwitterAPI but I always used a library and some documentation to assist me with connections, and retrieving tokens. I have a basic understanding of how API's work.

Okay so I've tried multiple ways of requesting the dwolla API with PHP I've tried making a

<form action="https://www.dwolla.com/payment/pay" method="post">
<input type="hidden" name="key" value="soMeVerYLongAcsiiKey"/>
<input type="hidden" name="secret" value="soMeVerYLongAcsiiseCret"/>
</form>

I actually got a json reponse from the above code but i could never get it to accept my credentials.

I also tried doing something like string queries such as https://www.dwolla.com/payment/pay?key=someverylongAcssikey&secret=someverylonAcessisecret

I've attempted at signing up at the Dwolla.org/d website for their official forums by they are taking for ever to accept me. I also tried the "Developer Forums" link which took me here http://getsatisfaction.com/dwolla and I posted my dilemma on there too no response.

I just need some quick and dirty php pseudo code to make a request so customers can quickly just pay for their merchandise.

I would like to use the oAuth2.0 method

If you are a Bitcoiner, please post your Bitcoin address and I will accommodate you for your help. Thanks everyone!


Solution

  • Finally got a respone from the Dwolla Developers and they are saying this way of doing it is deprecated as the SOAP API for Dwolla is deprecated and the recommended way for using the API is the REST API.