When I set style.layout of smart button to "horizontal", there is no credit card icons
Xiamh
Contributor
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Posted on
Sep-02-2019
01:59 AM
<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?
Labels:
Login to Me Too
- Labels:
-
PayPal HTML Buttons
1 REPLY 1
phucsystem
New Community Member
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Oct-31-2019
07:49 PM

Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
Related Content
- where does paypal payments go to if there is no linked phone or email to the seller ? in PayPal Payments Standard
- [WooCommerce PayPal Payments] - Required phone country code, different than the cards country code. in PayPal Payments Standard
- Advance checkout in Braintree Server-side Integration (PHP, Java, .NET, Ruby, Python, NodeJS SDKs)
- Help with my account number in PayPal Payments Standard
- Django-paypal form is not showing "pay with credit or debit card" option in Braintree Server-side Integration (PHP, Java, .NET, Ruby, Python, NodeJS SDKs)