Reputation: 1627
I'm using PayPal's checkout.js and in the view I'm showing both PayPal button and small buttons of credit cards. But in case I want to show only credit card buttons and hide PayPal button, how can I achieve this?
html:
<div id="paypal-button" class="m-t-20"></div>
js:
paypal.Button.render({
env: '@Model.Env',
locale: '@Model.CurrentCulture',
style: {
size: 'medium',
height: 48,
color: 'silver',
shape: 'rect',
label: 'checkout',
tagline: 'true',
fundingicons: 'true',
layout: 'horizontal'
},
Upvotes: 0
Views: 1008