登录PayPal时我遇到了问题。我正在使用适用于Android的移动支付库(MPL)包,适用于iOS的Titanium Paypal模块以及原生iOS。当我集成到iPhone时,初始配置如下:
[PayPal initializeWithAppID:@"APP-8SE84722YD658401M" forEnvironment:ENV_LIVE];
[PayPal getPayPalInst].feePayer = FEEPAYER_EACHRECEIVER;
PayPalPayment *payment = [[PayPalPayment alloc] init];
payment.paymentType = TYPE_SERVICE;
payment.recipient = self.payPalSettings.recipient;
payment.paymentCurrency = self.payPalSettings.currency;
payment.memo = self.payPalSettings.memo;
payment.merchantName = self.payPalSettings.merchantName;
payment.ipnUrl = self.payPalSettings.ipnURL;
其中,payPalSettings用于存储LIVE模式的参数。但是在打电话之后:
[[PayPal getPayPalInst] checkoutWithPayment:payment];
然后登录Paypal,有一个错误:
Error code:580022
message: Invalid Phone Format 1 Account not found. Invalid phone number format.
使用相同的配置,在Android中,错误是:
An unexpected error has occurred.
图像: