In previous versions of the JavaScript SDK that displayed individual card icons, this parameter disabled specific cards for the transaction. Any cards passed were not displayed in the checkout buttons.
Example value | Default | Description |
---|---|---|
visa | none | Deprecated. Cards to disable from showing in the checkout buttons. |
1<script src="https://sandbox.paypal.com/sdk/js?client-id=YOUR_CLIENT_ID&disable-card=amex,jcb"></script>
Option | Description |
---|---|
visa | Visa |
mastercard | Mastercard |
amex | American Express |
discover | Discover |
jcb | JCB |