【问题标题】:Can't find PayPal SetExpressCheckout Method找不到 PayPal SetExpressCheckout 方法
【发布时间】:2015-12-22 18:46:22
【问题描述】:

尝试使用 SOAP 实现 PayPal 的 Express Checkout。我已经导入了他们网站上列出的 .wsdl。文档说要调用 SetExpressCheckout 方法,但是我在任何地方都找不到。我检查了 Reference.cs 但也没有看到它。我查看了以下所有名称接近匹配但没有骰子的类。

    SetExpressCheckoutRequest aaa= new SetExpressCheckoutRequest();
    SetExpressCheckoutRequestType bbb = new SetExpressCheckoutRequestType();
    SetExpressCheckoutReq ccc= new SetExpressCheckoutReq();
    SetExpressCheckoutResponse ddd = new SetExpressCheckoutResponse();
    SetExpressCheckoutResponseType eee = new SetExpressCheckoutResponseType();
    GetExpressCheckoutDetailsRequestType fff  = new GetExpressCheckoutDetailsRequestType();

它属于哪个类?

wsdl 版本="124.0"
https://www.sandbox.paypal.com/wsdl/PayPalSvc.wsdl

提前致谢

【问题讨论】:

    标签: c# web-services soap paypal wsdl


    【解决方案1】:

    免责声明 - 很长一段时间没有使用 Paypal SOAP API

    刚刚做了一个wsdl 在该资源上生成代理类,可以看到:PayPalAPIAASoapBinding 有一个方法SetExpressCheckout

    • 需要SetExpressCheckoutReq 参数,并将返回
    • SetExpressCheckoutResponseType 包含 token

    第...

    【讨论】:

      猜你喜欢
      • 2021-04-23
      • 2014-02-10
      • 2012-02-01
      • 2012-04-27
      • 1970-01-01
      • 2021-05-22
      • 2013-06-16
      • 1970-01-01
      • 2013-05-26
      相关资源
      最近更新 更多