用PHP与他们的API集成Dwolla [英] Integrating Dwolla with PHP with their API

查看:172
本文介绍了用PHP与他们的API集成Dwolla的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

前言:
好吧,我已经在过去使用的API,如TwitterAPI但我总是用一个图书馆和一些文件,以协助我的连接和检索令牌。我怎么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.

好了,所以我试图请求用PHP dwolla API的多种方法
我试着制作

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>

事实上,我从上面的code一个JSON效应初探但我永远无法得到它接受我的凭据。

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

我也尝试做一些像串的查询,如
<一href=\"https://www.dwolla.com/payment/pay?key=someverylongAcssikey&secret=someverylonAcessisecret\" rel=\"nofollow\">https://www.dwolla.com/payment/pay?key=someverylongAcssikey&secret=someverylonAcessisecret

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

我在尝试在Dwolla.org/d网站为他们的官方论坛上签署了由他们正在采取永远接受了我。我也尝试了开发者论坛链接,把我在这里 http://getsatisfaction.com/dwolla 以及我张贴我的困境上有太多没有回应。

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.

我只是需要一些快速和肮脏的PHP伪code键使请求,以便客户能够快速只支付他们的商品。

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

我想使用OAuth2.0的方法

I would like to use the oAuth2.0 method

如果你是一个Bitcoiner,请发表您的比特币地址,我会适应
你的帮助。谢谢大家!

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

推荐答案

终于得到了来自Dwolla开发者输入反应和他们说这样做的这种方式,pcated作为SOAP API为Dwolla德$ P $是德precated和使用API​​的推荐方式是REST API。

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.

这篇关于用PHP与他们的API集成Dwolla的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆