paypal MPL库(ios)在模拟器中工作得非常好,但在设备上显示登录窗口的成功率几乎是50%,
下面的是我发送给PayPalInst的数组,
PayPalAdvancedPayment *payment = [[[PayPalAdvancedPayment alloc] init] autorelease];
[payment setReceiverPaymentDetails:arrInvoice];
[payment setPaymentCurrency:[NSString stringWithFormat:@"%@",@"USD"]];
[[PayPal getPayPalInst] advancedCheckoutWithPayment:payment];
arrInvoice是:
PayPalAdvancedPayment {货币:USD接收方(0): PayPalReceiverPaymentDetails {收件人: moumit_13371763##_###@#####.com小计:430.68是主要的:是的
付款方式:0付款子类型:-1发票数据:( null)
描述:China Med Custom Id :( null)商家名称:LUCKYLiNK} Receiver(1):PayPalReceiverPaymentDetails {收件人: pradip_13338047##_###@#####.com小计:12.92是小学:否
付款方式:0付款子类型:-1发票数据:( null)
描述:China Med Custom Id :( null)商家名称:###}}