When I set style.layout of smart button to "horizontal", there is no credit card icons

Xiamh
Contributor
Contributor

 

<script src="<a href="https://www.paypal.com/sdk/js?client-id=sb"></script" target="_blank">https://www.paypal.com/sdk/js?client-id=sb"></script</a>>
<script>  paypal.Buttons({    style: {      layout: 'horizontal',
      fundingicons: 'true'
    },    funding: {      allowed: [paypal.FUNDING.CREDIT]
    }
  }).render('#paypal-button-container'); </script>

 

The smart button is all right with card icons when I use the default layout attribution "vertical". But it only displays the paypal buttton when changed to "horizontal".
How to fix this issue pls?

Login to Me Too
1 REPLY 1

phucsystem
New Community Member

I'm having the same issue.
Anyone can help us?

Login to Me Too

Haven't Found your Answer?

It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.