贝宝API和Paypal的样品code? [英] Paypal API and Paypal's Sample Code?

查看:249
本文介绍了贝宝API和Paypal的样品code?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

https://www.x.com/community/ppx/$c$ c_samples

样品code返回ACK,但如果是适当的反应?

The sample code returns ACK, but where is the proper response?

例如
所以getBalance,样品code返回ACK
https://cms.paypal.com/cms_content/US/en_US/files/developer/nvp_GetBalance_cs.txt

但文档显示它返回其他值?
https://www.x.com/docs/DOC-1186

but the document shows it returns other values? https://www.x.com/docs/DOC-1186

推荐答案

这只是 - 样code。如果您想返回其他值,你必须填写该功能你自己。他们提供的样品code是不是那么好,虽然我发现,我不得不写我自己的库调用它们的NVP服务。虽然看到他们的文档怎么也不算很好,可以很艰难。但是,如果你不想写任何code,你可以为他们的SOAP服务的代理类。

It's just that - sample code. If you want to return the other values you have to fill in that functionality yourself. The sample code they provide is not so good though and I've found that I had to write my own library for calling their NVP services. That can be tough though seeing as how their documentation isn't great either. However, if you don't want to write any code you could generate a proxy class for their SOAP service.

这篇关于贝宝API和Paypal的样品code?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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