Customizing PayPal buttons
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm adding PayPal support to my website using the techniques described on the Smart Payment Buttons pages. When I include this statement:
paypal.Buttons().render("#paypal-button-container");
I'm getting all three buttons - the gold "PayPal" button, the blue "PayPal Credit" button, and the black "Debit or Credit Card" buttons.
Besides taking up a glob of screen space, it is frankly going to confuse my customers to no end, trying to figure out which one to click. How can I just get the first button to display?
- Labels:
-
REST SDK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I stumbled upon the solution that at least on the desktop, seems to work. Haven't had a change to test on mobile yet.
I changed the layout to horizontal which reduced the number of buttons to two, "Paypal" and "Paypal Credit". Then I disabled funding for credit in the URL (i.e., &disable-funding=credit).
Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
- PayPal Buttons not visible in Sandbox Environment
- Add Others data in SDKs
- Need help to integrate Advanced Checkout (PPCP) With WHMCS in PayPal Upgrade Community
- Shipping options are not appearing in my cart through link or button. in PayPal Payments Standard
- System error for my Paypal button after years of correct working in PayPal Payments Standard