将 Dwolla 与 PHP 及其 API 集成 [英] Integrating Dwolla with PHP with their API

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

问题描述

前言:好的,我过去使用过 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>

我实际上从上面的代码中得到了一个 json 响应,但我永远无法让它接受我的凭据.

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

我也尝试过做一些类似字符串查询的事情,比如https://www.dwolla.com/payment/pay?key=someverylongAcssikey&secret=someverylonAccessisesecret

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 伪代码来提出请求,这样客户就可以快速为他们的商品付款.

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

如果您是比特币用户,请发布您的比特币地址,我会容纳你的帮助.谢谢大家!

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

推荐答案

终于从 Dwolla 开发人员那里得到了回应,他们说这种做法已被弃用,因为 Dwolla 的 SOAP API 已被弃用,并且推荐的使用方式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.

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

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