Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/reactjs/21.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
如何在iPhone应用程序中集成Mobile Express CheckOut Paypal_Iphone_Paypal_Xcode4.5 - Fatal编程技术网

如何在iPhone应用程序中集成Mobile Express CheckOut Paypal

如何在iPhone应用程序中集成Mobile Express CheckOut Paypal,iphone,paypal,xcode4.5,Iphone,Paypal,Xcode4.5,我想在我的iPhone应用程序中集成Mobile Express CheckOut Paypal。我已经阅读了文档和示例代码,即MECL_Pizza_Non_Web示例代码,并将其集成到我的应用程序中,但当我运行应用程序时,我无法获得drt和令牌值。此方法返回空值 - (void)receivedDeviceReferenceToken:(NSString *)token { //store the token for later use [ECNetworkHandler s

我想在我的iPhone应用程序中集成Mobile Express CheckOut Paypal。我已经阅读了文档和示例代码,即MECL_Pizza_Non_Web示例代码,并将其集成到我的应用程序中,但当我运行应用程序时,我无法获得drt和令牌值。此方法返回空值

- (void)receivedDeviceReferenceToken:(NSString *)token {
    //store the token for later use

    [ECNetworkHandler sharedInstance].deviceReferenceToken = token;


    //carry on to the review page
    [self reviewOrder:nil];
}
有谁能告诉我如何得到它,因为它需要在url中传递


mobile&drt=valueFromMobileExpressCheckoutLibrary&token=valueFromSetExpressCheckoutResponse

确保应用程序ID具有来自PayPal环境的合适ID。例如,环境沙箱为APP-80W284485P519543T

[[PayPal getPayPalInst]获取设备引用,使用appid:@“APP-80W284485P519543T”用于环境:环境沙箱,使用委托:self]

你也可以在应用程序运行时检查控制台