Paypal Mobile Payment Libraries return error code 580022 on login

498 Views Asked by At

I'm stuck in a problem when logging in to paypal. I'm using Mobile Payment Libraries (MPL) package for Android, Titanium Paypal module for iOS and also for native iOS. When I integrate into iPhone, initial configuration are below:

[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;

Where, payPalSettings is to store the parameters for LIVE mode. But after calling:

[[PayPal getPayPalInst] checkoutWithPayment:payment];

then signing in to Paypal, there is an error:

Error code:580022
message: Invalid Phone Format 1 Account not found. Invalid phone number format.

With the same configuration, in Android, the error is:

An unexpected error has occurred.

Image:

enter image description here

0

There are 0 best solutions below