Buy Now button just takes user to PayPal Home Page

Brightwood
New Community Member

Hello PayPal Experts!  Your help would be massively appreciated.

 

My Buy Now button just takes the user to PayPal Home Page, so that it looks as if they have to create a PayPal account in order to make the payment.  There is nothing on that screen to show how you can skip that and go on to my payment information.

 

I've checked through and I cannot find why this is happening.  I've updated my account to business.

 

I've tried all kinds of different browsers and cleared the cache in case it's because they remember that I have a PayPal account ... I just don't get it.  

 

It's frustrating because my understanding is that people who want to pay me don't have to have a PayPal account, and I want to make it easy for them, not mystifying!

 

The button code is:

 

<form action="https://www.paypal.com/cgi-bin/webscr" method="post"><input type="image" alt="PayPal — The safer, easier way to pay online." name="submit" src="https://www.paypalobjects.com/en_US/GB/i/btn/btn_buynowCC_LG.gif" />
<img alt="" src="https://www.paypalobjects.com/en_GB/i/scr/pixel.gif" width="1" height="1" border="0" /></form>

 

Hope someone can shed some light on this.

 

Cheers.

Login to Me Too
1 REPLY 1

snowshoe
Frequent Advisor
Frequent Advisor

You're missing much of the code.  All you really have is a link to the graphics within a set of form tags.  There's no command line, no business variable or anything else going on here.

 

If you created the item button code using the online button creator, all you need to do is select and copy the generated code.

 

To give you an idea of what I mean when I say missing code.  Below is an example of a non-hosted buy now item button.  As I've coded this manually, there are more variables as compared to creating it online.  It's just shown to give you an idea of how the code should look and function.

 

<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <meta name="description" content="">
    <meta name="keywords" content="">
    <title></title>
    
 </head>
 <body>

  
 <form target="paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post">
<!-- If using a Business or Company Logo Graphic, include the "cpp_header_image" variable in your View Cart code. -->
<input type="hidden" name="cpp_header_image" value="https://yourwebsite.com/logo.jpg">
<input type="hidden" name="cmd" value="_xclick">
<!-- Replace "business" value with your PayPal Email Address or Account ID -->
<input type="hidden" name="business" value="your email address.com">
<input type="hidden" name="item_name" value="Widget">
<input type="hidden" name="item_number" value="W-1001">
<input type="hidden" name="amount" value="5.00">
<input type="hidden" name="no_shipping" value="2">
<!-- Replace value with the web page you want the customer to return to after a successful transaction -->
<input type="hidden" name="return" value="http://www.yourwebsite.com/ThankYou.html">
<!-- Replace value with the web page you want the customer to return to after item cancellation -->
<input type="hidden" name="cancel_return" value="http://www.yourwebsite.com/Cancel.html">
<input type="hidden" name="currency_code" value="USD">
<input type="hidden" name="weight" value="1">
<input type="hidden" name="weight_unit" value="lbs">
<input type="hidden" name="lc" value="US">
<input type="hidden" name="button_subtype" value="products">
<input type="hidden" name="no_note" value="0">
<input type="hidden" name="cn" value="Add special instructions to the seller:">
<input type="hidden" name="bn" value="PP-BuyNowBF:btn_buynow_LG.gif:NonHosted">
<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_buynow_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
<img alt="" border="0" src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" width="1" height="1">
</form>
<!-- End of Form -->


</body>
</html>

 

Login to Me Too

Haven't Found your Answer?

It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.