PaymentActivity.EXTRA_SKIP_CREDIT_CARD can not be resolved
I am integrating Paypal SDk first time in my app and I want to hide buy with credit card option from my application .I found that I can set intent.putExtra(PaymentActivity.EXTRA_SKIP_CREDIT_CARD, true);
But when I am doing so it says PaymentActivity.EXTRA_SKIP_CREDIT_CARD can not be resolved .I have used demo app from github for integrating paypal into android .
Here is the link .Please tell me how to resolve this .
This extra has changed in 2.0+. Please look at the PayPalConfiguration javadocs. Sorry for any lags in doc updates!
For example like this:
PayPalConfiguration() object = new PayPalConfiguration(); object = object.acceptCreditCards(false);
and then give object on the intent like this: