我在 ios 中成功集成了 PayPal MPL 库。并且工作完美。但是当我尝试向美国客户付款时,它给出了错误“系统错误。请重试字母。(ID 520002)”。我正在使用此代码进行付款。
PayPal *ppMEP = [PayPal getPayPalInst];
ppMEP.shippingEnabled = true;
ppMEP.dynamicAmountUpdateEnabled = TRUE;
ppMEP.feePayer = FEEPAYER_EACHRECEIVER;
ppMEP.delegate=self;
PayPalPayment *currentPayment = [[PayPalPayment alloc] init];
currentPayment.paymentCurrency = @"USD";
currentPayment.paymentType = TYPE_SERVICE;
currentPayment.subTotal = [NSDecimalNumber decimalNumberWithString:[NSString
currentPayment.recipient =recipientString;
currentPayment.merchantName = [NSStringstringWithFormat:@"%@xxxRoyalties%@",merchantNameString,setMonthsButtonTitle];
[ppMEP checkoutWithPayment:currentPayment];
我还附上了错误图片。