Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/fortran/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Ios PayPal fetchDeviceReferenceTokenWithAppID返回空_Ios_Paypal - Fatal编程技术网

Ios PayPal fetchDeviceReferenceTokenWithAppID返回空

Ios PayPal fetchDeviceReferenceTokenWithAppID返回空,ios,paypal,Ios,Paypal,为了整合PayPal MECL,我做了以下步骤 添加了库。我在项目中添加了MECL库(libPayPalEC.a,PayPal.h)、libxml2.dylib 实现了DeviceReferenceTokenDelegate并添加了委托方法 通过点击按钮调用下面的方法 [[PayPal getPayPalInst]fetchDeviceReferenceTokenWithAppID:@“APP-80W284485P519543T”用于环境:带有委托人的环境沙盒:self] 然后由委托“recei

为了整合PayPal MECL,我做了以下步骤

  • 添加了库。我在项目中添加了MECL库(libPayPalEC.a,PayPal.h)、libxml2.dylib
  • 实现了DeviceReferenceTokenDelegate并添加了委托方法
  • 通过点击按钮调用下面的方法

    [[PayPal getPayPalInst]fetchDeviceReferenceTokenWithAppID:@“APP-80W284485P519543T”用于环境:带有委托人的环境沙盒:self]

  • 然后由委托“receivedDeviceReferenceToken:”调用方法

  • 问题在第4步。收到的令牌始终为空

    我只是遵循手册,仅此而已

    我做错什么了吗?

    我决定分享zip:。仅供参考。我建议不要使用此库进行发布,根据注释,它将很快被替换: