在Paypal MPL Library中出错:输入了无效的出货ID(ANDROID_529037)

时间:2016-06-14 11:01:17

标签: android paypal paypal-sandbox paypal-adaptive-payments

enter image description here enter image description here

1http://i.stack.imgur.com/OxqK7.png enter code here

这是我的代码

private void paypalbtnclick(String s3, String s2, String s1, String s) {
    // configuring accounts
    PayPalReceiverDetails receiver0,receiver1;
    receiver0= new PayPalReceiverDetails();
    receiver0.setRecipient(s3);
    receiver0.setSubtotal(new BigDecimal(s2));
    receiver1= new PayPalReceiverDetails();
    receiver1.setRecipient(s1);
    receiver1.setSubtotal(new BigDecimal(s));
    PayPalAdvancedPayment advPayment= new PayPalAdvancedPayment();
    advPayment.setCurrencyType("USD");
    advPayment.getReceivers().add(receiver0);
    advPayment.getReceivers().add(receiver1);
    advPayment.setMerchantName("PlayAt");
    Intent payPalIntent = PayPal.getInstance().checkout(advPayment,this);
    this.startActivityForResult(payPalIntent,PAYPAL_RESPONSE);
}

0 个答案:

没有答案