Paypal failed to login in Android 4.0 -
private class paypalintegrated extends asynctask<void, void, void> { @override protected void doinbackground(void... params) { seek { paypalpayment newpayment = new paypalpayment(); newpayment.setsubtotal(new bigdecimal( coinprices[positionclicked])); newpayment.setcurrencytype("myr"); newpayment.setrecipient("xxxxxxxxxxx"); newpayment.setmerchantname("draw me not"); paypal pp = paypal.getinstance(); if (pp == null) pp = paypal.initwithappid(coinscene.this, "my_app_id", paypal.env_sandbox); intent paypalintent = pp.checkout(newpayment, coinscene.this); coinscene.this.startactivityforresult(paypalintent, 1); } grab (exception ex) { } homecoming null; } @override protected void onpostexecute(void result) { } }
i tested different devices galaxy mini 2, 2.3.6 , htc sensation, 4.0.4.
however, mini 2 can proceed payment , checked in sandbox business relationship appear transaction not htc.
htc homecoming error with
error code = 10004
error message = please create sure fields have been entered
i think os version impact result.
is there solution?
android paypal
No comments:
Post a Comment