ios - Paypal MPL iOS 错误

标签 ios paypal

我正在尝试将 PayPal MPL 库集成到 iOS 应用程序中。我有一个像这样创建 PayPal 按钮的 UIViewController:

- (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 beta进行测试,以及1_5_5_070_iPhone_DevelopersPackage版本的MPL库(网站上最新的)。

最佳答案

我还注意到你的 info.plist 中必须有“bundle display name” 没有它,您也会收到发布错误

关于ios - Paypal MPL iOS 错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11895028/

相关文章:

ios - swift ios 中的坐标系错误

ios - UITableViewCell 没有可见的@interface 声明选择器 didReceiveMemoryWarning

ios - UITableView 问题,它在更新或插入新单元格后向上滚动一半

php - 重定向到 Paypal 结帐页面

ios - 将核心数据作为对象读取

javascript - Deezer 建议 API

magento - 优惠券代码 Magento 1.9.x 错误

android - PhoneGap 的 PayPal - PaymentActivity.ENVIRONMENT_LIVE 错误

PayPal Rest API - Webhooks/IPN - 是否可以接收 eBay 付款通知?

javascript - 如何让 Paypal Checkout 与 Vue.JS 3 配合使用