Reputation: 107
I have integrated Paypal mobile SDK in Android. As my account is not able to use direct credit card payment. Our customers failed to pay with credit card button. May I know how to disable/remove the credit card button in my App.
Upvotes: 3
Views: 660
Reputation: 950
Regarding how to remove credit card option, you may set acceptCreditCards as false in the PaypalConfiguration object:
For example:
private static PayPalConfiguration config = new PayPalConfiguration()
…….
.acceptCreditCards(false)
.merchantName("Hipster Store")
.merchantPrivacyPolicyUri(Uri.parse("https://www.example.com/privacy"))
.merchantUserAgreementUri(Uri.parse("https://www.example.com/legal"));
Note: acceptCreditCards(boolean acceptCreditCards): Optional boolean to indicate support for credit cards.
Above setting will help you to disable/remove credit card option in your App.
Upvotes: 5