当我尝试在 Live 环境中使用 paypal 付款时,它显示此错误。
严重性:无类别:应用程序错误 ID:589009 消息:付款被拒绝。请在您的计算机上为此金额添加有效的付款方式。
PayPal *ppMEP = [PayPal initializeWithAppID:@"APP-8NN51090BJ5943514" forEnvironment:ENV_LIVE];
ppMEP.feePayer = FEEPAYER_EACHRECEIVER;
PayPalPayment *payment = [[PayPalPayment alloc] init];
payment.recipient = @"xxxxxxxxx@gmail.com"; //I am using recipient business email id
payment.merchantName = @"xxxxxx";
payment.paymentCurrency = @"USD";
payment.subTotal = [NSDecimalNumber decimalNumberWithString:[NSString stringWithFormat:@"1"]];
payment.description =@"Gift";
[ppMEP checkoutWithPayment:payment];
[payment release];