cancel
Showing results for 
Search instead for 
Did you mean: 

Customizing PayPal buttons

Options
Richard-R
Contributor
Posted on

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?

 

1 REPLY 1

Customizing PayPal buttons

Options
Richard-R
Contributor

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.