PayPal API Card options shown
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
loading https://www.paypalobjects.com/api/checkout.js via the checkout,
Sample of code used
paypal.Button.render({ env: 'sandbox', // Or sandbox 'production' style: { label: 'pay', size: 'responsive', // small | medium | large | responsive shape: 'rect', // pill | rect color: 'blue', // gold | blue | silver | black fundingicons: true, // optional tagline: false, height: 40 }, funding: { allowed: [paypal.FUNDING.CARD], disallowed: [paypal.FUNDING.CREDIT] },
Blue Button 'Pay with Paypal' Card below and Cards show (Card Type) Show American Express and Discovery. Can we prevent these from showing?
Via admin of the account or via script
Any advice welcome.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Please note that this is for Guest Payments. I've found out that you can disable the cards (logos) that are being displayed via funding funding: { allowed: [paypal.FUNDING.CARD], disallowed: [paypal.FUNDING.CREDIT, paypal.CARD.AMEX, paypal.CARD.DISCOVER] }, but the user can still select from the card options when they go to payment.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I've also noticed that:
https://www.paypal.com/sdk/js?client-id=sb¤cy=USD&disable-card=amex,jcb&locale=fr_FR&vault=tru...
Although the cards shown do not include amex and jcb the payment still have the cards in the dropdown
Tested on https://developer.paypal.com/demo/checkout/#/pattern/client
Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
- Remove PayPal Pay Later option from paypal checkout page. in PayPal Upgrade Community
- Hosted Buttons have changed. How can I now edit the item ID and stock? in PayPal Payments Standard
- What happened to PayPal Buttons?! in PayPal Payments Standard
- Error: "Unable to change shipping method. Please try again." in PayPal popup in REST APIs
- How to Pay Using pay with venmo? in PayPal Payments Standard