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
- Need help to integrate Advanced Checkout (PPCP) With WHMCS in PayPal Upgrade Community
- Buy Now button in the sandbox - no customer confirmation email in Sandbox Environment
- Mandatory Account Creation Hindering Customer Experience in REST APIs
- PayPal Checkout golden buttons opens checkout window with different options in PayPal Upgrade Community
- “This payment cannot be processed because there was an error with the capture order API call”. in REST APIs