由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Programming版 - help: 一个很简单的 PayPal API 总是报错; PayPal alternative
相关主题
python smtp 587 连不上gmail, socket error?fatal error C1001: INTERNAL COMPILER ERROR
问python高手一个问题请教如何通过FILE指针删除文件?
ETrade APIfread/fwrite有big/small endian问题吗?
error of opening a file located in a remote server from pyt (转载)包子,怎样在Python里产生一个csv file,再email 出去?
error of create ASP.net project in Visual Studio 2013 (转载)再请教个关于API Gateway-micro service的问题
Unable to build WeChat API's Sample with Android Studio (转载)大家在linux下面用什么C++的IDE呢?
Help -- How to output error messages to a file for scripts called by system calls???问一个Mandriva 2007 下Tix的问题
请教,关于g++ -l的问题请问有没有用过IMSL库的大虾? (转载)
相关话题的讨论汇总
话题: file话题: paypal话题: error话题: egg
进入Programming版参与讨论
1 (共1页)
t***o
发帖数: 16
1
======================================
#!/usr/bin/python
import paypalrestsdk
paypalrestsdk.configure({
"mode": "live",
"client_id": "...",
"client_secret": "..." })
payment_history = paypalrestsdk.Payment.all({"count": 10})
print payment_history.payments
======================================
$ ./paypal.py
Traceback (most recent call last):
File "./paypal.py", line 22, in
payment_history = paypalrestsdk.Payment.all({"count": 10})
File "build/bdist.linux-x86_64/egg/paypalrestsdk/resource.py", line 131,
in all
File "build/bdist.linux-x86_64/egg/paypalrestsdk/api.py", line 219, in get
File "build/bdist.linux-x86_64/egg/paypalrestsdk/api.py", line 138, in
request
File "build/bdist.linux-x86_64/egg/paypalrestsdk/api.py", line 166, in
http_call
File "build/bdist.linux-x86_64/egg/paypalrestsdk/api.py", line 195, in
handle_response
paypalrestsdk.exceptions.ServerError: Failed. Response status: 503. Response
message: Service Unavailable. Error message: {"name":"INTERNAL_SERVICE_
ERROR","information_link":"https://api.paypal.com/docs/api/#INTERNAL_SERVICE
_ERROR","debug_id":"14a7e825c5d9d"}
======================================
总是 INTERNAL_SERVICE_ERROR,有谁知道怎么能弄好吗?
是我的账户设置有问题吗? sandbox mode 至少会 return valid value "None".
联系了 PayPal technical support:
https://ppmts.custhelp.com/app/ask_confirm/refno/150520-000453
也没人理。实在烦透了PayPal, 其它哪家的 online payment 比较好,support API
access? Thanks.
1 (共1页)
进入Programming版参与讨论
相关主题
请问有没有用过IMSL库的大虾? (转载)error of create ASP.net project in Visual Studio 2013 (转载)
准备面试一个java-based position,有什么书推荐一下?Unable to build WeChat API's Sample with Android Studio (转载)
Help: undefined symbolHelp -- How to output error messages to a file for scripts called by system calls???
repast 请进: python debian安装问题请教,关于g++ -l的问题
python smtp 587 连不上gmail, socket error?fatal error C1001: INTERNAL COMPILER ERROR
问python高手一个问题请教如何通过FILE指针删除文件?
ETrade APIfread/fwrite有big/small endian问题吗?
error of opening a file located in a remote server from pyt (转载)包子,怎样在Python里产生一个csv file,再email 出去?
相关话题的讨论汇总
话题: file话题: paypal话题: error话题: egg