• GoDaddy Community
  • GoDaddy Website Builders
  • GoDaddy Website Builders

    cancel
    Showing results for 
    Show  only  | Search instead for 
    Did you mean: 
    Go to solution
    dunzoskate
    Getting Started

    code not working,

    I am working with go daddy website builder trying to put in the code for a paypal button. When I put in the code for the paypal button nothing shows up it is just a plain white space. Here is the code i'm using. (I am new to code and I did not write this code)

     

    <div id="paypal-button" style="width: 50%"></div>

    <script>
    paypal.Button.render({
    style: {
    size: 'responsive'
    }
    }, '#paypal-button-container');
    </script>

     

    I this code corrcet or am I doing something completely wrong? Any help is appreciated. Thanks!

    2 ACCEPTED SOLUTIONS
    PL281
    Super User II

    @dunzoskate 

     

    This is more than likely due to how the Website Builder handles custom HTML. It may also be possible that GoDaddy doesn't support just putting in a PayPal button - the system may require you to use the commerce functionality (which links with PayPal)

    I am a GoDaddy End User - Just Like You
    Check out my site! | I currently manage over 300 WordPress Websites
    * Please note that I offer free advice on this forum. Thank You Info If you would like personalized help, please contact me. Otherwise, please ask your question in the proper forum so the answer can assist EVERYONE in the community and not just you. Thanks! *

    Once your issue is resolved,
    please be sure to come back and click accept for the solution

    Get Better Support on the Community Boards!
    Etiquette When Asking for Help from the Community

    View solution in original post

    TLH
    Moderator
    Moderator

    Hi @dunzoskate,

     

    Welcome to the Community!

    The previous answer from @PL281 is generally correct. The Websites+Marketing plan already has a PayPal button option built in. You can use these instructions to add it to your website, instead of using an external code. 

     

     

    TLH - GoDaddy | Community Moderator
    Supporting you at x.co/247support

    View solution in original post

    3 REPLIES 3
    PL281
    Super User II

    @dunzoskate 

     

    This is more than likely due to how the Website Builder handles custom HTML. It may also be possible that GoDaddy doesn't support just putting in a PayPal button - the system may require you to use the commerce functionality (which links with PayPal)

    I am a GoDaddy End User - Just Like You
    Check out my site! | I currently manage over 300 WordPress Websites
    * Please note that I offer free advice on this forum. Thank You Info If you would like personalized help, please contact me. Otherwise, please ask your question in the proper forum so the answer can assist EVERYONE in the community and not just you. Thanks! *

    Once your issue is resolved,
    please be sure to come back and click accept for the solution

    Get Better Support on the Community Boards!
    Etiquette When Asking for Help from the Community

    View solution in original post

    TLH
    Moderator
    Moderator

    Hi @dunzoskate,

     

    Welcome to the Community!

    The previous answer from @PL281 is generally correct. The Websites+Marketing plan already has a PayPal button option built in. You can use these instructions to add it to your website, instead of using an external code. 

     

     

    TLH - GoDaddy | Community Moderator
    Supporting you at x.co/247support

    View solution in original post

    dunzoskate
    Getting Started

    Thank you for your help. The reason I wanted these coded PayPal buttons is because the PayPal buttons that I have added to my site that do not need code are to large and do not meet my requirements for selling my products. Is there a smaller PayPal button included with the site?