Hi people, I've a big problem and I can't find the solution. In my Android App, credit card payment always fails (see picture 1) with any credit card, I speak of the case without login to paypal (see picture 2). If I pay with a paypal account by login, either with the paypal balance or with a registered card, everything works fine. picture 1 picture 2 This is my code (only relevant parts): PayPalConfiguration cfgPayPal = new PayPalConfiguration() .environment(PayPalConfiguration.ENVIRONMENT_PRODUCTION) .clientId(Constants.PAYPAL_CLIENT_ID) .acceptCreditCards(true); Intent iPPS = new Intent(ctx, PayPalService.class); iPPS.putExtra(PayPalService.EXTRA_PAYPAL_CONFIGURATION, cfgPayPal); context.startService(iPPS); PayPalPayment itemsToBuy = getItemsToBuy(PayPalPayment.PAYMENT_INTENT_SALE); Intent iPA = new Intent(context, PaymentActivity.class); iPA.putExtra(PayPalService.EXTRA_PAYPAL_CONFIGURATION, cfgPayPal); iPA.putExtra(PaymentActivity.EXTRA_PAYMENT, itemsToBuy); startActivityForResult(iPA, Constants.PAYPAL_REQUEST_CODE); private PayPalPayment getItemsToBuy(String paymentIntent) { return new PayPalPayment( new BigDecimal(dOrderTotalValue), Constants.PAYPAL_CURRENCY, getString(R.string.lab_order_code)+": "+sOrderCode, paymentIntent ); }
... View more