donglun4682 2015-01-08 22:18
浏览 67
已采纳

使用eCheck的PHP RestFul API

I'm currently testing a feature I see added to the PHP RestFul API with regards to accepting payments via eCheck. There is currently no documentation on Paypal's Developer website regarding this so I'm simply reading the API Code and figuring this out based on how I currently have a proper working Credit Card Transaction.

Whenever I post a transaction I'm receiving an internal error on Paypal API side:

Array
(
    [name] => INTERNAL_SERVICE_ERROR
    [message] => An internal service error has occurred
    [information_link] => https://developer.paypal.com/webapps/developer/docs/api/#INTERNAL_SERVICE_ERROR
    [debug_id] => 4a0a3d669966c
)

Got Http response code 500 when accessing https://api.sandbox.paypal.com/v1/payments/payment

The error is very vague and offers no hints for a possible solution.

I've create a GIST so you can the code I am using, perhaps there is something I am missing here: ChargeEcheck.php

If there is a problem with this code its gotta be between lines 140-152

I'm not receiving any other errors at all. The code to the Credit Card side of things is very similar as the code in that GIST and it works perfectly fine.

I've also looked at the developer dashboard and couldn't find anything that referenced any eCheck options to enable/disable.

Has anyone else had this issue using the PHP RestFul API's?

Some additional details I can provide:

Paypal Core SDK API Version 2.5.7

Paypal RestFul API Version 0.16.1

PHP 5.6.4

I'd be happy to supply any additional information too if needed.

  • 写回答

1条回答 默认 最新

  • dongmi4734 2015-01-09 19:24
    关注

    currently REST API does not support eCheck. The only supported funding types are Credit Cards, and PayPal. However, the functionality is taken into consideration, and should be available, but there are no specific timeline available for public announcement.

    Thanks.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥15 求差集那个函数有问题,有无佬可以解决
  • ¥15 【提问】基于Invest的水源涵养
  • ¥20 微信网友居然可以通过vx号找到我绑的手机号
  • ¥15 寻一个支付宝扫码远程授权登录的软件助手app
  • ¥15 解riccati方程组
  • ¥15 display:none;样式在嵌套结构中的已设置了display样式的元素上不起作用?
  • ¥15 使用rabbitMQ 消息队列作为url源进行多线程爬取时,总有几个url没有处理的问题。
  • ¥15 Ubuntu在安装序列比对软件STAR时出现报错如何解决
  • ¥50 树莓派安卓APK系统签名
  • ¥65 汇编语言除法溢出问题