paypal button css code example
Example: style button to samebutton paypal
<script
src="https://www.paypal.com/sdk/js?client-id={{ config('services.paypal.id') }}">
</script>
<div id="paypal-button-container"></div>
<script>
paypal.Buttons({
style: {
layout: 'horizontal',
size: 'small',
color: 'blue',
shape: 'pill',
label: 'pay',
height: 40,
tagline: 'false'
},
createOrder: function(data, actions) {
return actions.order.create({
purchase_units: [{
amount: {
value: '0.01'
}
}]
});
}
}).render(
'#paypal-button-container'
);
</script>