如何在iPhone应用程序中集成Mobile Express CheckOut Paypal
我想在我的iPhone应用程序中集成Mobile Express CheckOut Paypal。我已经阅读了文档和示例代码,即MECL_Pizza_Non_Web示例代码,并将其集成到我的应用程序中,但当我运行应用程序时,我无法获得drt和令牌值。此方法返回空值如何在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
- (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]代码>
你也可以在应用程序运行时检查控制台