我正在尝试将PayPal MPL库集成到iOS应用程序中。我有一个创建了以下这样PayPal按钮一个UIViewController:Paypal MPL iOS错误
- (void)viewDidLoad
{
[PayPal initializeWithAppID:SANDBOX_API_KEY
forEnvironment:ENV_SANDBOX];
UIButton* paypalButton = [[PayPal getPayPalInst] getPayButtonWithTarget:self andAction:@selector(checkoutPayment) andButtonType:BUTTON_294x43];
[self.view addSubview:paypalButton];
[super viewDidLoad];
}
该应用程序将打印以下错误消息发送到所述控制台的第二或打开的ViewController后左右。
Checking Error********************
Posting Error: 2147483647
DEVELOPER ERROR: This app isn’t using a supported version of the PayPal library.
我在Google上找不到有关此错误的任何信息,所以我在这里。任何想法如何解决它?
我正在使用xcode 4.5和iOS 6测试版以及MPL库(网站上的最新版本)的1_5_5_070_iPhone_DevelopersPackage版本。
具有u解决这个问题? – Dany 2012-09-28 05:26:43
是的,请参阅下面的回答 – Dylan 2012-10-11 01:30:31